嵌入式开发者社区

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

作者: jj909305    时间: 2017-3-11 20:12
标题: debug问题
写了个小程序。。想将其在SHDSPL2RAM上跑,修改了CMD文件,debug后一直在running....没看到函数指针。。停止运行出现如下错误。5 e* w  h1 T. d4 h
[attach]2056[/attach]$ D9 ~/ L* u8 f7 ]3 I2 T0 K
[attach]2057[/attach]
0 n& M2 ^" Z* \4 z3 G5 T[attach]2058[/attach]
作者: human    时间: 2017-3-12 16:42
可以用memory browser看看你定义的地址能不能访问
作者: jj909305    时间: 2017-3-12 17:21
human 发表于 2017-3-12 16:42  [& R7 Z8 {& R3 i- x
可以用memory browser看看你定义的地址能不能访问
# z) u( \5 R6 b5 E0 W/ V! ?* _4 b
你好。现在我重装了CCS。。现象又变了。。
; @+ t1 w% v; l9 \  WCan't find a source file at "/tmp/TI_MKLIB7PNesw/SRC/autoinit.c" (或者boot.c/boot.asm). O3 ~6 \1 D9 ]4 f8 a
Locate the file or edit the source lookup path to include its location.& `! j* \& n+ ]1 q
这可能是什么原因呢?
作者: human    时间: 2017-3-14 09:05
是console窗口打印的信息?如果不是可以忽略
作者: jj909305    时间: 2017-3-14 10:01
human 发表于 2017-3-14 09:05
! |/ \% v' ^5 }. ?1 K' f6 b2 V是console窗口打印的信息?如果不是可以忽略
/ z" ?( D6 k- B3 E$ V
你好。我把程序放在SHDSPL2RAM中运行,,debug后直接就running了。。停止后出现错误! M7 Z2 g# U: [- ], f- d7 G" g' A

0 B$ F7 s4 p/ x4 W: E8 z9 h; ~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$ Q3 J" J$ d7 F. `
你不用管程序,先debug配置文件,连CPU
  w4 v1 H4 T$ m
这都没问题。。都能连上




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