Monthly Archives: November 2011
Compiling STM32 examples in Linux
ST has quite a lot of source code examples for their evaluation boards introducing about all features of the boards. The downside is they support only commercial compilation environments, like IAR EWARM, MDK-ARM, RIDE, TASKING and TrueSTUDIO. The examples can … Continue reading
OpenOCD with SWD
It’s often tricky to know what’s happening inside a microcontroller when everything is not going as planned. This post is about enabling GDB with chips providing the SWD interface, e.g. STM32 chips. For this you need an SWD dongle. If … Continue reading
The cheapest SWD dongle: STM32 F1 discovery
There are two common big problems when playing with embedded software. How to get that to the chip and how to debug why nothing is happening. Many modern chips include a bootloader embedded in the ROM code that can program … Continue reading