Search code examples
embeddedstm32gpiofirmware

How to fix badly configured SWD pin?


I accidentally flashed a program that configured the SWD pin as a GPIO so now I'm not able to flash my board. All my pins on my board are broken out so I can access them all. How do I reset my pin?


Solution

  • just keep reset low when debugger connects to the micro. Manually or set the option "connect under reset"