lyh 发表于 2013-1-25 14:49:14

RTT1.1.0 SAM7X 例子仿真失败

最近开始接触 RTT,下了1.1.0 版的程序,编译环境是 MDK4.53,直接运行 BSP下的 SAM7X 里的工程,使用JLINK 仿真,

点仿真后程序下载是可以,但仿真光标直接进了 DISASSEMBLY 的框里,

0x00000004E59FF018LDR       PC,
0x00000008E59FF018LDR       PC,
0x0000000CE59FF018LDR       PC,
0x00000010E59FF018LDR       PC,
0x00000014E1A00000NOP      
0x00000018E59FF018LDR       PC,
0x0000001CE59FF018LDR       PC,
从上面看应该是 从0地址开始执行的, 程序也能通过mdk控制run stop,运行结果也对,但调试的光标始终是对应的汇编语句,对不到C语言上。
有没有遇到同样问题的?如何解决呢?

ProjectFile = D:\RT-Thread\bsp\sam7x\JLinkArm_RT-Thread/AT91SAM7X256.ini
***JLink Error: Could not save file
Path not found!

Device = AT91SAM7X256
Info: Device "AT91SAM7X256" selected (256 KB flash, 64 KB RAM).
VTarget = 3.319V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: RTCK seems to be bridged with TCK
Info: Auto JTAG speed: 8000 kHz
Info: Core does not stop after Reset, setting WP to stop it.
***JLink Warning: PC of target system has unexpected value of 0x00200004 after reset.
DLL version V4.50i, compiled Jun 22 2012 13:07:53
Firmware: J-Link ARM V7 compiled Jun 20 2012 19:45:53
Hardware: V7.00

Hardware-Breakpoints: 2
Software-Breakpoints: 8192
Watchpoints:          0

Found 1 JTAG device, Total IRLen = 4:
Id of device #0: 0x3F0F0F0F
ARM7 identified.
JTAG speed: 8000 kHz
S/N :
Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDBFull
VTarget = 3.319V
Info: Core does not stop after Reset, setting WP to stop it.
***JLink Warning: PC of target system has unexpected value of 0x00200000 after reset.
JTAG speed: 1000 kHz
Load "D:\\RT-Thread\\bsp\\sam7x\\objs\\project.AXF"
Info: J-Link: Flash download: Flash programming performed for 0 ranges (0 bytes)
Info: J-Link: Flash download: Total time needed: 1.440s (Prepare: 0.836s, Compare: 0.099s, Program: 0.000s, Verify: 0.000s, Restore: 0.503s)
Info: Core does not stop after Reset, setting WP to stop it.
***JLink Warning: PC of target system has unexpected value of 0x00200004 after reset.
JTAG speed: 1000 kHz

bitter 发表于 2013-1-31 20:44:08

没有人挺你啊。
页: [1]
查看完整版本: RTT1.1.0 SAM7X 例子仿真失败