Tag Archives: SWD

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

Posted in Tools | Tagged , , , | Comments Off on OpenOCD with SWD

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

Posted in Tools | Tagged , , , , | 5 Comments