2025-05-21 6:27 AM - last edited on 2025-05-21 6:30 AM by Peter BENSCH
We are using stm32 mcu STM32WLE5JC custom board
below connection we are following for SWD Debugger
ISP1 Pin Connected To Function
1 | 3.3V | VDD (VAPP) |
2 | PA13 | SWDIO (Data I/O) |
3 | PA14 | SWCLK (Clock) |
4 | NRST | Reset (optional but recommended) |
5 | GND | Ground |
but while debugging we are getting below error please suggest solution.
IDE Configuration:
2025-05-21 6:40 AM
Hello @initiativewater and welcome to the ST Community.
Could you please send a picture of your ST-LINK V2.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-05-21 6:56 AM - edited 2025-05-21 6:56 AM
Additionally: in the window with the debugger options, you ticked S/N, but the line does not show a S/N. Did you click Scan on the right?
Regards
/Peter
2025-05-22 12:03 AM
Hello Peter,
The earlier issue is solved after I selected the shared setting and scanned again, I get a multi character s/n.
The logs show voltage is also good at 3.07V but the core ID could not be read and target could not be found.
I just realised my boot0 pin has been left floating on my custom board. Could this be causing the issue ?
Rest of the data clock supply and ground pins are correctly connected as I verified using a multimeter.
Warm Regards
Komal
2025-05-22 12:28 AM
Hello STTwo-32,
Please see the attached, ST-LINK V2.
Warm Regards
Komal
2025-05-22 12:34 AM
the firmware V2J45S7 is an old one, please upgrade to the most recent one (currently V2J46S7).
And please insert photos of your ST-LINK/V2 (back and front) as requested by @STTwo-32.
Regards
/Peter
2025-05-22 12:43 AM
This ST-LINK/V2 is very likely a counterfeit product, which can be seen from the completely old design of the box, which was changed long before 2024 (the date on the back). If the firmware cannot be updated using the light blue button ‘Firmware upgrade’, this ST-LINK/V2 cannot be used with the tools from STMicroelectronics.
Please see also: How to recognize a genuine ST-LINK/V2 versus a cloned one
Regards
/Peter
2025-05-22 12:50 AM
>I just realised my boot0 pin has been left floating on my custom board.
Fix this, boot0 to gnd. (Otherwise...useless game.)
Try connect with CubeProgrammer , rest mode: software reset . (show result...)
2025-05-22 2:09 AM
this is front photo
2025-05-22 2:20 AM
Hello Peter,
Hello,
I have already sent the front and back photos of the ST-LINK/V2 as requested.
Warm Regards
Komal