2023-08-08 02:38 PM
Hi, i'm realative new to using ST products and i'm currently trying to debug with the STM32F205RCT6 using the ST-LINK V2 with the debug protocol SWD. but it's simply not worinking, it keeps saying No device found on target.
This is how it's connected:
- PIN 19, 32, 48 and 64 to the 3,3V
- PIN 18 and 63 to the GND
- PIN 7 to the RST
- PIN 60 to the GND
- PIN 49 to the SWCLK
- PIN 46 to the SWDIO (this one is connected with a pull-up resistor of 100k ohm)
- PIN 60 to the GND (and tried to 3,3V)
- PIN 28 to the GND
This is what i have tried so far in order to have it to work:
-checked with the osciloscoop if and a PCBite to see if the signals for clock and data to go the exact pin of the chip
-checked with a multi meter if the pins are getting power.
-replace the MCU with another one
Plz take a look at the photos i have attach. i have a felling that i have done something wrong and i don't know what it is. if there is more information needed let me know.
Solved! Go to Solution.
2023-08-08 02:42 PM - edited 2023-08-08 02:50 PM
Capacitor on VCAP?
Not sure I'm going to dig thru the pin numbers, but the analogue supply VDDA/VSSA needs powering as it has control over the POR circuits and PLL?VCO, will hold device in reset if missing. Check state of NRESET pin
2023-08-08 02:42 PM - edited 2023-08-08 02:50 PM
Capacitor on VCAP?
Not sure I'm going to dig thru the pin numbers, but the analogue supply VDDA/VSSA needs powering as it has control over the POR circuits and PLL?VCO, will hold device in reset if missing. Check state of NRESET pin
2023-08-08 02:46 PM
I don't know if it can help in your case, but I found these videos about advanced debugging:
2023-08-08 03:03 PM - edited 2023-08-08 03:04 PM
The latest STM32CubeIDE seems to reject counterfeit programmers.
See if it can connect with STM32CubeProgrammer.
Also VDDA needs to be powered.
Also each VCAP pin needs a capacitor.
2023-08-08 03:25 PM
The latest STM32CubeIDE seems to reject counterfeit programmers
:expressionless_face:
2023-08-08 03:26 PM
Dear @johantheking
Most critical non connected pads are VDDA (13) to 3,3 Volts , VSSA (12) to ground , VBAT (1) to 3,3 Volts and you need connect 2 capacitors 2,2uF to VCAP pins to GND - Pins 31 and 47 . Then it should connect .
let us know .
you can refer to the Hardware Getting started Application Note : https://www.st.com/resource/en/application_note/an3320-getting-started-with-stm32f20xxx21xxx-mcu-hardware-development-stmicroelectronics.pdf
Ciao ,
STOne-32.
2023-08-10 04:18 PM
Dear @STOne-32
i have tried the solution of user @Tesla DeLorean and that semd to work.
However i noticed that debuging it crashed alot of times. so i tried your solution and that seemd to work. also i'm not sure about other users mentioning that my debug controller dind't work becaus it was not official ST product is true since i can debug it perfectly fine with it.
Thanks for your help.
Johan