A0=0x0 A1=0x0
A2=0x4 A3=0xffffffff
A4=0x44802000 A5=0x0
A6=0x0 A7=0x3fe00000
A8=0x0 A9=0x81ee90
A10=0x81fb34 A11=0x80d4bc
A12=0x1000b000 A13=0x400080
A14=0x9806 A15=0x0
A16=0x33363531 A17=0x0
A18=0x812dd0 A19=0x812dc0
A20=0x812db0 A21=0x814dd0
A22=0x814dc0 A23=0x814db0
A24=0x81ada0 A25=0x812da0
A26=0x814da0 A27=0x401
A28=0x10008 A29=0x70
A30=0x58 A31=0x40800000
B0=0x1 B1=0x814da8
B2=0x1 B3=0x80c6a0
B4=0x81fb34 B5=0x44804000
B6=0x1 B7=0x0
B8=0xbf800000 B9=0x0
B10=0x81fb34 B11=0x81fb34
B12=0x814da8 B13=0x44802000
B14=0x81fbac B15=0x81f0d0
B16=0x814e12 B17=0x447e4000
B18=0x81add8 B19=0x81adc8
B20=0x81adb8 B21=0x81ada8
B22=0x812dd8 B23=0x812dc8
B24=0x812db8 B25=0x812da8
B26=0x814dd8 B27=0x814dc8
B28=0x814db8 B29=0x814da8
B30=0x25 B31=0x81bae8
NTSR=0x1000c
ITSR=0x0
IRP=0x0
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0x44804000
EFR=0x2 NRP=0x44804000
Internal exception: IERR=0x1
Instruction fetch exception
ti.sysbios.family.c64p.Exception: line 248: E_exceptionMin: pc = 0x44804000, sp = 0x0081f0d0.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
如何使用ROV或 设置 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
为什么会这样呢
Allen35065:
0x44804000不像是一个有效的执行地址,你确定你的代码段在这个位置上?
Jiao Li:
回复 Allen35065:
感谢关注!我也不知怎么会跑到0x44804000,把工程发给您,当Nmax=1024,时就会发生这个错误,Nmax=128,512,1023,4096等不会出错
Jiao Li:
回复 Jiao Li:
没人能够解释吗,着急!
Allen35065:
回复 Jiao Li:
你可以在代码里加一些打印,调试一下看看程序在哪里跑飞的
Jiao Li:
回复 Allen35065:
谢谢,我试一试
Jiao Li:
回复 Jiao Li:
我试了一下没有·找到问题,但跑飞并没有发生在调用算法函数时,调用函数没有问题,结果也正确,而是发生在main函数结束时。