Eclipse + Black Magic Probe + Embsysregview

Is there a chance to use the Black Magic Probe with Eclipse and see the peripheral registers. Short answer: Yes it is.

For peripheral registers, you will need the Embsysregview Eclipse plugin. If you have a problem to install it check my last blog post

How setup BMP?


Go to: Run -> Debug configurations -> GDB Hardware Debugging and select New Launch configuration on the top left corner.

Select everything as it is on images (my example is for miniblink, you do it for your).


Image 1 - Main




Image 2 - Debugger


Image 3 - Startup


Commands from the startup windows:

target extended-remote /dev/ttyBMP
monitor tpwr disable
monitor tpwr enable
monitor connect_srst enable
shell sleep 0.1
monitor swdp_scan
att 1
set mem inaccessible-by-default off

Happy debugging!

p.s. if you want static ttyBMP instead ttyACM0 check this.



Comments

Popular posts from this blog

AUTOSAR and CRC calculation

Flashing/debugging/running code at external memory in the memory-mapped mode

Debugging EK-TM4C123GXL with Visual Studio Code on Linux