Tag Archives: SWD

OpenOCD with SWD

Bug

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 , , , | Leave a comment

The cheapest SWD dongle: STM32 F1 discovery

stm32vl_discovery_small

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 , , , , | 4 Comments