cancel
Showing results for 
Search instead for 
Did you mean: 

: Error: No STM32 target found!

samuelbs
Associate II

I designed my board using the STM32L476RGT6. However, when using the ST-Link via SWD, I get the following message:

Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication.

I have checked all connections and voltages, and everything is correct, with the proper 3.3V values.

I am sending the schematic and a photo of the programmer.

Note: I did not solder the VCAP capacitors, and there is no voltage on these pins.

 

samuelbs_1-1740779406270.png

samuelbs_3-1740779421378.pngsamuelbs_4-1740779429009.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

>VCAPs are jumpered to GND, as the datasheet states they are VSS.

I dont understand this.

VCAP pins must have no connection to GND. Only 2u2 (or 4u7) cer. capacitors ,

going from vcap.pin---2u2cap.---GND.

And sure: no short to GND on any VCAP.pin ?

 

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

View solution in original post

10 REPLIES 10
tjaekel
Lead

Do you use an ST-LINK debugger?

Have you wired NRST also to debugger header?
The "UR connection mode" seems to mean: debugger wants to connected Under Reset (it wants to force a reset and connect). But if you do not populate NRST to debugger - maybe the reason.

A forum link with similar symptom:
https://community.st.com/t5/stm32cubeprogrammer-mcus/stlink-v2-not-recognizing-stm32cubeprogrammer-ur-connection-mode/td-p/581187

 

AScha.3
Chief III

At first solder the vcap caps. And verify the voltage there, about 1.3 V . This is the CPU core supply - so the most important voltage to check.

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

I measured 0V on the VCAP pins and a current consumption of 60mA (STM32L476RGT6 + LC76G), which I consider very high.

I am using the ST-Link from my Nucleo board, and when I reinsert the jumper, the STM32L4 on the Nucleo board works perfectly.

Additionally, I have already checked for possible shorts in the soldering or PCB and found none.

Could this be an issue with the MCU?

>0V on the VCAP pins

= core has no supply.

So check for any short on VCAP .

 

>Could this be an issue with the MCU?

If you didnt give 3v3 to vcap or something like that (static discharge) - cpu should be ok.

If you have another board, try it; to compare.

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

I checked my Nucleo-L476RG, and the VCAPs are jumpered to GND, as the datasheet states they are VSS. I tried doing the same, but it didn't work. I verified all 3V3 and GND connections, and they are okay.

Even so, the error message appears:
"Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication."

 

samuelbs_0-1741174889133.png

 

>VCAPs are jumpered to GND, as the datasheet states they are VSS.

I dont understand this.

VCAP pins must have no connection to GND. Only 2u2 (or 4u7) cer. capacitors ,

going from vcap.pin---2u2cap.---GND.

And sure: no short to GND on any VCAP.pin ?

 

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

I found the error—I accidentally soldered the MCU rotated 360° (I confused the two markings on top of it). I corrected it, and now it works as expected.

Thank you very much for the help! I was able to learn a bit more with you.

360deg? then it would be the same.

There should be just one pin 1 marking, maybe two other "holes" for pressing the package.
Pin 1 should be on lower left corner and all the text is correct and readable.

This doc. might help next time:

https://www.st.com/resource/en/technical_note/tn1433-reference-device-marking-schematics-for-stm32-microcontrollers-and-microprocessors-stmicroelectronics.pdf

 

Good.

And reality looks like this:

AScha3_0-1741206611613.png

So "a dot" is not the important thing to look for, but the alignment of the font (to read it) - and then to decide, what is the "lower left corner" with the pin1 mark.

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