cancel
Showing results for 
Search instead for 
Did you mean: 

Catch 22 on reset with stm32f303 using ST-Link

gbigden
Associate III
Posted on April 24, 2015 at 15:14

The problem is simple. I uploaded a buggy program using ST-Link to a stm32f303 prototype board. The bug was that the routine that kicks the watchdog in the power supervisor does not work. Therefore it keeps resetting the MCU. While this is happening I cannot connect using ST-Link in any mode. Anything I'm missing or is it soldering time?

3 REPLIES 3
Posted on April 24, 2015 at 15:26

Pull BOOT0 High

Or try other ''connect under reset'' ''hold in reset'' type options

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gbigden
Associate III
Posted on April 24, 2015 at 15:39

BOOT0 is tied low at present, and I have tried all the ST-Link options. I think it doesn't like the reset line flipping up and down while it is trying to connect. I'll probably just do the capacitor to GND on the NRST reset line

Posted on April 24, 2015 at 17:01

And if you pull it into a high state at reset it will stop running your buggy code and you'll be able to erase it, and start over...

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..