Hello,
I've recently started using J-LINK to try debug my application running on an STM32F1XX.
When using the J-Link GDB server in JTAG mode, I am having issues setting HW breakpoints.
When setting a breakpoint in GDB (for examble 'hbreak main'), I see the message in the server log "WARNING: No more breakpoint resources left". The breakpoint at main is never hit.
However, when I configure the GDB server interface to use SWD, the above breakpoint works fine and the program will stop at main().
As far as I can tell, the JTAG connection is wired properly. Also, the initial download and verification of application works fine over the JTAG interface. So far I am just running into problems with the debugging.
Could someone please explain what I am seeing here?
Thanks in advance,
-Steven
I've recently started using J-LINK to try debug my application running on an STM32F1XX.
When using the J-Link GDB server in JTAG mode, I am having issues setting HW breakpoints.
When setting a breakpoint in GDB (for examble 'hbreak main'), I see the message in the server log "WARNING: No more breakpoint resources left". The breakpoint at main is never hit.
However, when I configure the GDB server interface to use SWD, the above breakpoint works fine and the program will stop at main().
As far as I can tell, the JTAG connection is wired properly. Also, the initial download and verification of application works fine over the JTAG interface. So far I am just running into problems with the debugging.
Could someone please explain what I am seeing here?
Thanks in advance,
-Steven