Adrien
Adrien

Reputation: 89

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?

Upvotes: 3

Views: 5261

Answers (1)

Adrien
Adrien

Reputation: 89

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...

Upvotes: 5

Related Questions