cancel
Showing results for 
Search instead for 
Did you mean: 

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?

ASawa
Associate II

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.

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
ASawa
Associate II

recommend voltages on vcap1 and vcap2 for stm32f401vbt6