cancel
Showing results for 
Search instead for 
Did you mean: 

My STM32F302C8T6 only runs the program when the code is loaded. If I reset it or power up, it does not run.

JMart.13
Senior

Maybe is a hardware problem since the microcontroller is on a custom board I designed. The problem is the following:

The microcontroller only runs the program the moment I load the code, if I reset it or power up the board after a power-off it does not run the program.

This is the following circuit for the reset and BOOT0 pins:

0693W00000HqLa2QAF.pngI program the microcontroller with an external STLINK. 

Thanks a lot for any help.

11 REPLIES 11

Oh, OK, i made the measure where i should, and yep, the BOOT0 is HIGH, I will put it low to see what happens. But, is strange, it shouldn't be HIGH, I have a jumper with a pull-down res.

JMart.13
Senior

Ok, i figured it out, there is a short in the BOOT0 pin and with a pull up resistor and is maintaining the pin HIGH. Will try to fix it and make an update later. Thanks a lot