Program successfully flashes but isn't running on the Microcontroller #958
-
I have built and flashed the example blue pill blink program on my stm32f103c8t6 and the LED won't blink. I have made sure that the microcontroller isn't dead by manually compiling, linking and flashing my own program through gnu arm. And it works. I can not get the modm blink example to work. I have tried this with a fake blue pill too. Same result: it successfully gets flashed but the code is not running. I am using the STLINK V2 USB Programmer through SWD.v |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
Does it start working if you power cycle the blue pill board without the SWD debugger attached? |
Beta Was this translation helpful? Give feedback.
-
modm's blue-pill blink example toggles gpio pin PC13, are you toggling the same pin in your other program? Do you have any other dev board (which is supported by modm) available to test another blink example? |
Beta Was this translation helpful? Give feedback.
-
Okay update: instead of using the blue pill example folder I have created my own folder and setup the project myself. It seems that it is working now. |
Beta Was this translation helpful? Give feedback.
Okay update: instead of using the blue pill example folder I have created my own folder and setup the project myself. It seems that it is working now.