Embedded

STM32 - Erasing the flash using OpenOCD

2 minute read Published: 2020-08-19

Let's say you have flashed your STM32 MCU but accidentally overwrote a GPIO configuration used for ST-Link communication (discovery boards are prone to this). You might get the error message when trying to flash: