嵌入式开发者社区

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

作者: jj909305    时间: 2017-3-11 20:12
标题: debug问题
写了个小程序。。想将其在SHDSPL2RAM上跑,修改了CMD文件,debug后一直在running....没看到函数指针。。停止运行出现如下错误。
. x/ n0 ^) {) u[attach]2056[/attach]1 l7 X% z0 M) l. I$ c. `
[attach]2057[/attach]
0 I4 `+ r, d" q& `6 b. I+ ~" a[attach]2058[/attach]
作者: human    时间: 2017-3-12 16:42
可以用memory browser看看你定义的地址能不能访问
作者: jj909305    时间: 2017-3-12 17:21
human 发表于 2017-3-12 16:42
8 P& T4 {8 R2 s; r  b& S可以用memory browser看看你定义的地址能不能访问

  B" F# L4 v/ C6 T! U. L. m你好。现在我重装了CCS。。现象又变了。。- z7 j. @) k# Q8 G/ w
Can't find a source file at "/tmp/TI_MKLIB7PNesw/SRC/autoinit.c" (或者boot.c/boot.asm): y/ s3 q6 q. p& r) A
Locate the file or edit the source lookup path to include its location.
) ~1 I% q9 j  O这可能是什么原因呢?
作者: human    时间: 2017-3-14 09:05
是console窗口打印的信息?如果不是可以忽略
作者: jj909305    时间: 2017-3-14 10:01
human 发表于 2017-3-14 09:05
# t/ _0 y3 A9 |8 Q+ a2 S是console窗口打印的信息?如果不是可以忽略
; T+ ]) v; ~: S7 O  J
你好。我把程序放在SHDSPL2RAM中运行,,debug后直接就running了。。停止后出现错误/ e, d& P$ g# c* \$ }$ X

+ ^* Q2 p6 D( [8 j' r9 a8 l" VARM9_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( N( ~9 |* f$ ?+ M+ I6 v
你不用管程序,先debug配置文件,连CPU

7 H- r4 j4 ^2 M9 q: Z# m& @这都没问题。。都能连上




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