Bool
1
I’m using last version of Yagarto.
I complie my project without error (create RAM image).
When I use hardware brekpoints debugging works well:
target remote localhost:3333
monitor soft_reset_halt
monitor arm7_9 force_hw_bkpts enable
break main
load
continue
but when I use software breakpoints
target remote localhost:3333
monitor soft_reset_halt
monitor arm7_9 sw_bkpts enable
break main
load
continue
debugger don’t works. Eclipse show me all time “Launching 10%” and “Searching for compile errors …” .
mifi
2
Hello xxx,
have you checked it with Insight too?
What version of OpenOCD you are using?
Which hardware for debugging?
Which target?
Regards,
yyy
Bool
3
have you checked it with Insight too?
Yes. It’s works with Insight.
What version of OpenOCD you are using?
r115-rc01
Which hardware for debugging?
Usb-jtag home made.
Which target?
LPC2148.
Best Regards
David
mifi
4
Hello David,
I have try it here too. My first fault was that I use a jtag_speed of 2.
This is working with my other example lpc2294, the board has a
14.7456MHz crystal.
My lpc2148 board has only a 12Mhz crystal, and I must set the
jtag_speed to 3.
Insight is now working and even Eclipse. Here is my setting:
target remote localhost:3333
monitor reset
monitor sleep 500
monitor poll
monitor soft_reset_halt
monitor arm7_9 sw_bkpts enable
monitor mww 0xE01FC040 0x0002
monitor mdw 0xE01FC040
break main
load
continue
In the first try, it is working, Eclipse is loading the program and stop at main.
By the second try, Eclipse is loading the program and I got a:
Thread [0] (Suspend)
But if I hit the Resume button, the program is working.
Best regards,
Michael