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

OMAPL138 debug 报错 指向disassembly

报错如下

cant find a source file at "D:/startware_gitorious_omapl138/startware_01_10_04_01/system_config/armv5/cgt/init.asm"

locate the file or edit the source lookup path to include its location…

我加载的是别人的例程,本身计算机并没有这个路径。。。

我的startware在c盘ti目录下

我想问的是同样还有别的例程,并没有报错。。。

Shine:

D:/startware_gitorious_omapl138这个路径要改成您计算机上starterware的安装路径。

kun liu:

回复 Shine:

谢谢您的回复。
首先,我想问的是这个路径在哪里设置,我自己的电脑上没有“startware_gitorious_omapl138”这个文件夹,但是我在c盘ti文件夹“C:/ti/startware_01_10_04_01/system_config/armv5/cgt/init.asm”找到该文件,并添加近来。
然后重新debug,跑到主循环里循环一次后,再次循环在断点不能停下,点击suspend后停在刚才添加进来的“init.asm”文件。
118行~130行
; Enter the start_boot function. The execution still happens in system mode
;LDRr10, _start_boot; Get the address of start_bootMOVlr,pc; Dummy return BXr10; Branch to start_bootSUBpc, pc, #0x08; looping

;MSRcpsr_c, #MODE_SVC|I_F_BIT; change to SVC mode
;BXlr
;
; End of the file
;
请问这个是什么情况。
我看这句话“ SUBpc, pc, #0x08; looping”,looping的意思貌似是在循环里,但是这句“Enter the start_boot function. The execution still happens in system mode”感觉应该程序启动后先运行init文件,但是我的情况好像相反,我已经跑进main函数,执行到while循环里,却跳转到这里,我很迷惑。请求赐教!

赞(0)
未经允许不得转载:TI中文支持网 » OMAPL138 debug 报错 指向disassembly
分享到: 更多 (0)