Debugging the STM32F0-Discovery board with Nemiver

STM32F0-Discovery Board

STM32F0-Discovery Board

On GitHub there is a nice project template for the STM32F0-Discovery development board from STM:

I have added a debug target to the Makefile, now everything you have to do to debug your code on the hardware is to run:

[chris@thinkpad stm32f0-discovery-basic-template]$ make debug

Here are the results:

Gainspan WiFi Adapterplatine

Running $ make debug

Gainspan WiFi Adapterplatine

Some breakpoints

Gainspan WiFi Adapterplatine

The disassembly

Here is my repository on GitHub which includes the modified Makefile and a debug_nemiver.sh script:

Tools to get it up and running under Linux:

Future reading: Using nemiver for remote debugging on ARM microcontrollers.