这些打印的错误信息来自BIOS的exception单元,程序一开始运行(resume)就出现以下错误提示。有碰到过的人没?
PS:以下错误并非一直存在,是偶尔出现。
SRIO test between DSP and fpga start……………………………………..
SRIO path configuration 4xLaneABCD
Link is ok
Running task1 function
Running task1 function
A0=0x17 A1=0x810b29
A2=0x0 A3=0xa
A4=0x810b40 A5=0x0
A6=0x810b29 A7=0x0
A8=0x868888 A9=0x862d6c
A10=0x17 A11=0xc362628
A12=0x810b29 A13=0x1
A14=0x859b8f A15=0xa
A16=0x4 A17=0x867cdc
A18=0x8114b0 A19=0x20
A20=0xc361f7c A21=0x2000020
A22=0x20 A23=0x80002818
A24=0x8000000 A25=0x2820024
A26=0x2000100 A27=0x0
A28=0x4000 A29=0x10
A30=0x0 A31=0x0
B0=0xe B1=0x0
B2=0x0 B3=0x800511a6
B4=0xa B5=0x86c423
B6=0x4 B7=0x86c400
B8=0x8114b8 B9=0xf
B10=0x867eb0 B11=0x80056884
B12=0x0 B13=0x80052cac
B14=0x86c118 B15=0x811344
B16=0x862e38 B17=0x1
B18=0x40 B19=0x80
B20=0x20 B21=0x2a6c800
B22=0x142b2a0 B23=0x100020
B24=0x14120800 B25=0x1000001
B26=0x80025400 B27=0x432c5000
B28=0x0 B29=0x0
B30=0x2900200 B31=0x7f
NTSR=0x10204
ITSR=0xf
IRP=0x8005be7a
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0x8001c8
EFR=0x2 NRP=0x8001c8
Internal exception: IERR=0x9
Instruction fetch exception
Opcode exception
ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x008001c8, sp = 0x00811344.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
Allen35065:
取指错误,怀疑你的代码被改写
feng wang5:
回复 Allen35065:
谢谢回复!
不是特别明白“取指错误”的意思,能说的具体点不?
是我程序写的不好,导致不稳定??还是?
谢谢
Allen35065:
回复 feng wang5:
指令错误不是由于你程序写的不好引起的,通常是因为代码段被改写或者内存读取错误引起。
一方面你可以检查对应的地址上有没有代码被改写的现象,另一方面可以看看硬件的电源时钟是否稳定,芯片温度是否超过正常值。