cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging Error with ST Link /V2 With STM32WLE5JC custom board

initiativewater
Associate II

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.

initiativewater_0-1747833590488.png

 

IDE Configuration:

initiativewater_1-1747833698034.pnginitiativewater_2-1747833723037.png

 

 

10 REPLIES 10
STTwo-32
ST Employee

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.

Peter BENSCH
ST Employee

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

In order 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.

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.

 

initiativewater_0-1747897218175.png

 

initiativewater_1-1747897244879.png

 

initiativewater_2-1747897281110.png

 

initiativewater_3-1747897321276.png

 

Warm Regards
Komal

Hello STTwo-32,

Please see the attached, ST-LINK V2.

initiativewater_4-1747898750216.jpeginitiativewater_5-1747898760989.jpeginitiativewater_6-1747898771773.jpeg

 

Warm Regards

Komal

 

@initiativewater 

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

In order 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.

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

In order 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.

>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...)

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

initiativewater_0-1747904952191.jpeg

this is front photo

Hello Peter,

Hello,

I have already sent the front and back photos of the ST-LINK/V2 as requested.

initiativewater_1-1747905261191.jpeg    

initiativewater_2-1747905490470.jpeg

initiativewater_6-1747905564115.jpeg

 

initiativewater_3-1747905500999.jpeginitiativewater_4-1747905510161.jpeg

Warm Regards
Komal