Skip to main content
ASawa
Associate
January 30, 2020
Question

My STLINK V2 debugger is giving "error: Target not connected" while flashing in STM32F401VBT6 controller? Please tell me the default connections of STM32F401VBT6 while flashing and debugging?

  • January 30, 2020
  • 2 replies
  • 772 views

I have given 3.3V to all VDD,VDDA,VBAT,VREF+ with capacitive filtering (100 nf & 1uf) as per datasheet. BOOT0 pin is connected to GND. SWDIO and SWCLK connected to debugger pins. Still it is giving same error.

when BOOT0=1, flashing is done but it gives debugging problem.In debugging mode, debugger does not display data of registers.

Please give me the solution for this error.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 30, 2020

Make sure the ST-LINK/V2 Pin 1 or 2 are connected to VDD

Check signal level on NRST

Check voltages on VCAP pins

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ASawa
ASawaAuthor
Associate
January 30, 2020

recommend voltages on vcap1 and vcap2 for stm32f401vbt6