Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

STM32 not starting after programming with ST-LINK

I did a program using ST-Link debugger on a custom board. The program is working fine. However, when I program the chip using ST-Link utility, the program is not starting without the ST-Link connected. When the ST-Link is connected, the system starts.

Anyone had such an issue?

like image 935
Adrien Avatar asked Oct 16 '25 15:10

Adrien


1 Answers

Ok it is a bit stupid but I have to admit that in the stress I got a bit blind.

When I said:

The program is working fine however when I program the chip using ST-Link utility, the program is not starting without the ST-Link connected.

I was actually testing with only the usb removed from the ST-LINK and not removing totally the JTAG. So now I know that the ST-LINK is pulling down the reset when not powered.

Thanks Tom and staringlizard, you noted interesting thinks. Actually the Boot0 was my previous issue...

like image 64
Adrien Avatar answered Oct 18 '25 08:10

Adrien



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!