Skip to main content
AVall.3
Visitor II
June 5, 2023
Question

How to solve "Error: No STM32 target found! If your product embeds Debug Authentication, ..." ?

  • June 5, 2023
  • 12 replies
  • 58931 views


_legacyfs_online_stmicro_images_0693W00000dK3cEQAS.png

12 replies

KDJEM.1
Technical Moderator
June 6, 2023

Hello @Alexis Vallejo​ ​ and welcome to the Community :),

Are you using an STM32 board?

Make sure that your STLink firmware is upgraded. 

Try "Connect under reset" mode.

I advise you to refer to this FAQ: How to solve debugger connection issues.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

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.
Frankenstein
Visitor II
April 14, 2024

Hello maybe is too late for a reply, but today i received my Nucleo board and was getting this same message.

Ok, fast explanation, on the Nucleo board on the STlink section theres jumpers labeled ST-LINK/NUCLEO, ok i removed the jumpers because i need to use the STlink to burn my program right? WRONG, removing the jumpers let you connect to the STlink MCU to program it, we dont want to do that.

I put the jumpers back to NUCLEO, and vuala, i can connect to the STM32 mcu.

Explorer
April 20, 2024

In my case, I solved that exact problem by doing this:
1. Press the reset button on the board. (In my case a blue pill)

2. Click connect

3. Release the reset button

It should have connected successfully now.

 

I don't know why, this morning it was connecting without the need to do that, but now every time I don't do it, it fails. And every time I do it, it works.

Explorer
July 5, 2024

it worked for me thanks

HLee.4
Associate
April 24, 2024

I had the same symptom when using the STM32WB module.
After changing the Reset mode among the options on the right side of STM32CubeProgrammer to Hardware reset, everything worked normally.

I hope my case helps.

Vijay Krishna
Associate II
May 7, 2024

If you are using the STM32F103c8t6(blue pill module), you can try, changing the position of boot jumper,

then try to flash your file again, and then putting the boot jumper back to normal again, works for me. 

Graduate
February 16, 2025

I have the same error: "Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication"

I did a manual connect (wire) with ST and ST link, and there was no change.

could you guide me?Screenshot 2025-02-14 183959.pngScreenshot 2025-02-10 123154.png

Graduate
February 16, 2025

I have the same error: "Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication"

I used these methods:

 -manual connect (wire) with ST and ST link, and there was no change.

- used STM32CubeProgrammer, where I uploaded the error you can see.

- I joined together BOOT0 and VDD pins.

 

Screenshot 2025-02-16 131037.pngScreenshot 2025-02-10 123154.png

Tesla DeLorean
Guru
February 16, 2025

Perhaps start by describing YOUR hardware and what's wired to what.

If using a NUCLEO to connect to external board disconnect SWD jumpers to the local target. 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Visitor II
March 6, 2025

Hi everyone!

I was having endless issues like these, and as a last shot I decided to give this video a try. 
STM32 by LowLevel on Youtube 
Going through the steps, and some slight troubleshooting courtesy of ChatGPT made me finally able to connect and upload blink led code!

Hope this helps someone else. 

Explorer
March 27, 2025

Hi i'm facing similar issue, i believe the issue started when i'm trying to erase flash memory. 
I've tried several things according to this forum but it is not working :
1. Press Reset button while connecting to STM32CubeProgramer
2. Connecting Boot0 and VDD and try to connect

3. Using discovery on debug authentication

Visitor II
April 1, 2025

i reinstall st-link server https://www.st.com/en/development-tools/st-link-server.html, the problem resolved