Hi guys,

I'm trying to use OpenOCD and Flyswatter2 debugger on PandaBoard ES to 
debug kernel code.
My procedure:
- start uboot and stop it.
- start openocd and then gdb.
- on gdb:
     - target remote localhost:3333
     - monitor reset run
     -  monitor halt (after the U-Boot comes up)
     - symbol-file vmlinux
     - b start_kernel
     - cont
- bootm on uboot side


Up to this point all is fine, the gdb stop the code and show me:
0xc075d720 in start_kernel () at /***/init/main.c:484
484    {

the problem is that:
using stepi I can go step by step but I can not use cont or another 
breakpoint, on OpenOCD I have this messages:

MMU: enabled, D-Cache: enabled, I-Cache: enabled
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x2800062, MEM_AP_TAR 0xc075d71c
Error: Failed to read memory at 0xc075d71c
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x2800062, MEM_AP_TAR 0xc075d71c
Error: Failed to read memory at 0xc075d71c
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x2800062, MEM_AP_TAR 0xc075d71c
Error: Failed to read memory at 0xc075d71c
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Polling target omap4460.m31 failed, GDB will be halted. Polling again in 
100ms
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Polling target omap4460.cpu failed, GDB will be halted. Polling again in 
100ms
Warn : target omap4460.cpu is not halted
Error: Target not halted


Thanks,
Denis
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to