cancel
Showing results for 
Search instead for 
Did you mean: 

STLink detects MCU but fails to flash

SSaha.1
Associate III

Circuit (programmer given by SAMTECH part) (zoom in to see):

0693W000008xjpxQAA.pngWhen I connect STLINK V3 Mini to program the STM32L4676RG MCU, it detects the chip without errors. However, when I try to flash, STLINK generates fail.text.

Any idea what's happening?

10 REPLIES 10
SSaha.1
Associate III

Ok I found the problem. The reset switch I used has the switch arranged diagonally (see the picture to comprehend what I mean):

0693W000008yLdGQAU.pngBasically, the reset switch was shorted to GND all the time. I fixed it by desoldering the reset switch.