嵌入式开发者社区

标题: debug问题 [打印本页]

作者: jj909305    时间: 2017-3-11 20:12
标题: debug问题
写了个小程序。。想将其在SHDSPL2RAM上跑,修改了CMD文件,debug后一直在running....没看到函数指针。。停止运行出现如下错误。
* K. q% M, n2 E3 s8 A3 S[attach]2056[/attach]4 @7 ?& ^: b8 @; o/ K" Y
[attach]2057[/attach]
; n$ G, _* b! m) f[attach]2058[/attach]
作者: human    时间: 2017-3-12 16:42
可以用memory browser看看你定义的地址能不能访问
作者: jj909305    时间: 2017-3-12 17:21
human 发表于 2017-3-12 16:42
# z$ Z& t9 Q: S, p可以用memory browser看看你定义的地址能不能访问

) T( P( `; c* c1 k  v- }你好。现在我重装了CCS。。现象又变了。。
. P0 G; m# g8 ZCan't find a source file at "/tmp/TI_MKLIB7PNesw/SRC/autoinit.c" (或者boot.c/boot.asm), j9 Z8 z, \- _; G+ P; H- k4 w* X! y
Locate the file or edit the source lookup path to include its location.
* ~4 ]0 r$ `! I5 {$ g% d; Z这可能是什么原因呢?
作者: human    时间: 2017-3-14 09:05
是console窗口打印的信息?如果不是可以忽略
作者: jj909305    时间: 2017-3-14 10:01
human 发表于 2017-3-14 09:05
; B2 L8 F4 T7 h) m; U+ x" c5 @2 F7 n' |是console窗口打印的信息?如果不是可以忽略

( ^9 d. \0 Y+ |) Q5 x你好。我把程序放在SHDSPL2RAM中运行,,debug后直接就running了。。停止后出现错误
- w; ^% E. L- d% S5 L- \8 O; z$ N) C
ARM9_0: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0x118088a0: (Error -1066 @ 0x3332) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 5.1.232.0)
作者: human    时间: 2017-3-14 17:06
你不用管程序,先debug配置文件,连CPU
作者: jj909305    时间: 2017-3-30 20:19
human 发表于 2017-3-14 17:06
5 E9 |+ ~* c6 r% ]- o你不用管程序,先debug配置文件,连CPU
  H1 R; u  R0 f8 q5 s! y! u
这都没问题。。都能连上




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4