cortex-m0+ SWD debugging on the cheap

I’m fairly confident you aren’t likely to find out how to use an STM32F0-Discovery board to upload and debug an LPC812 chip from either the ST or the NXP forum websites. However, if you read this post I will walk you though the steps. So what is this post all about?  SWD stands for Serial…

Openocd meets a NUCLEO-F030R8 board

[Edit: newer versions of openocd (0.8) support the stlink-v2-1 on the nucleo board without the changes described below] STMicroelectronics recently announced a new line of mbed compatible development boards at a great price (~$10.32).  The four “NUCLEO” boards support a range of Cortex M0, M3, low power M3, and an M4 STM32 chips with more boards…