This guide demonstrates how to debug embedded targets using Dronecode Probe (or Black Magic Probe in general) and the Eclipse IDE.
GDB Hardware Debugging→
[Debug], then tick only
Legacy GDB Hardware Debugging Launcher, and make sure that the option for GDB (DSF) is disabled.
GDB Hardware Debugging, select New.
arm-none-eabi-gdb(or other if necessary).
Use remote target.
Image offsetis configured correctly.
# Make sure to select the correct port here target extended /dev/ttyACM0 # Use jtag_scan instead of swdp_scan if necessary monitor swdp_scan attach 1
You should keep in mind that Eclipse IDE is extremely unreliable in general, and especially so when it comes to debugging embedded targets via GDB. Sometimes it may just stop working, in which case you should perform the following steps to revive it:
killall eclipse && killall java).