TI中文支持网
TI专业的中文技术问题搜集分享网站

omapl138 ARM核使用sysbios系统移植NDK时出现E_dataAbort错误?

我加上NDK后,运行,就出现以下错误:

Using default MAC address
Using MAC Address: 00-08-ee-03-14-55
le: 0xc40ba904.
Task stack base: 0xc40ac9a0.
Task stack size: 0x2000.
R0 = 0x01e2200c R8 = 0xffffffff
R1 = 0xc40ae8b8 R9 = 0xc404ccc4
R2 = 0x00000000 R10 = 0x00000000
R3 = 0xc4075c54 R11 = 0xc407c85c
R4 = 0xc404e4c4 R12 = 0x00000000
R5 = 0xc404e4d4 SP(R13) = 0xc40ae818
R6 = 0xc408b74c LR(R14) = 0xc408a784
R7 = 0xc408b758 PC(R15) = 0xc405cb94
PSR = 0x600000df
ti.sysbios.family.arm.exc.Exception: line 176: E_dataAbort: pc = 0xc405cb94, lr = 0xc408a784.
xdc.runtime.Error.raise: terminating execution

请问,这是什么原因造成的?

谢谢

Shine:

pc = 0xc405cb94指向DDR2,请看一下RTSC里是否设置了这块DDR memory map?

shuo wang10:

回复 Shine:

设置了,我的程序代码就是从 c4000000开始的。

DDR2                  c4000000   04000000  0001ac0c  03fe53f4  RW X

具体的:

run origin load origin length init length attrs members———- ———– ———- ———– —– ——-

c4000000 c4000000 0000f1ac 0000f1ac r-x c4000000 c4000000 0000ea1c 0000ea1c r-x .text c400ea1c c400ea1c 00000790 00000790 r– .const.1c400f1ac c400f1ac 000009cc 00000000 rw- c400f1ac c400f1ac 000009cc 00000000 rw- .datac4010000 c4010000 00007528 00000000 rw- c4010000 c4010000 00004000 00000000 rw- ti.sysbios.family.arm.arm9.mmuTableSection c4014000 c4014000 00003528 00000000 rw- .bssc4017528 c4017528 00001654 00001654 r– c4017528 c4017528 00001654 00001654 r– .const.2c4018b7c c4018b7c 00002000 00000000 rw- c4018b7c c4018b7c 00002000 00000000 rw- .stackc401ab80 c401ab80 00000518 00000518 r– c401ab80 c401ab80 00000518 00000518 r– .cinit

Shine:

回复 shuo wang10:

请看一下 line 176是什么代码?

赞(0)
未经允许不得转载:TI中文支持网 » omapl138 ARM核使用sysbios系统移植NDK时出现E_dataAbort错误?
分享到: 更多 (0)