cancel
Showing results for 
Search instead for 
Did you mean: 

st-link not connecting and always shows error wuth proper wiring

ashvinelo
Visitor

Hi,

I have a custom developed stm32 project with stm32f411ret6 mcu, i have done my full board and got the pcb printed. I have a 4 pin header on my pcb with vcc,gnd, swdio, swclk for uploading the bootloader for the first time. I have done this several time earlier successfully with stlink/v2 programmer, but now it shows the error(image 3 at bottom): 

ashvinelo_0-1757200849682.png

Next I bought a stm32f446 nucleo board and tried with the onboard stlink by removing both the jumpers to program this mcu on the custom pcb, still stlink does not connect.  On my pcb header 3.3v power is also coming successfully I have checked it too.    Also, my boot pin and nrst is connected on custom pcb like this:  

ashvinelo_1-1757200991465.png

under both stlink connection methods i am getting this error, trying to solve these for many days and getting the same connection issue as follows, please help me, 

ashvinelo_2-1757201061819.png

 

1 REPLY 1
TDK
Super User

Verify VCAP voltage is around 1.2 V.

Ensure ALL VDD/VDDA pins are connected to 3.3V.

Ensure ALL VSS/VSSA pins are connected directly to ground.

Recheck SWD pin wiring.

If you feel a post has answered your question, please click "Accept as Solution".