Skip to main content
BRobe.3
Associate III
May 21, 2023
Question

Target Voltage Detection Fail Issue

  • May 21, 2023
  • 11 replies
  • 8196 views

Hello,

I got a stlm32 disco board. I cannot Flash.

So,I used STM32 ST-LINK UTILITY. Any connection fail even under reset. This one show Target Voltage Detection Fail. The board is powered by the USB CN2 Connector. The measurment on the CN4 Connector shows 3,3 v between 1 and 3 pins.( which seems normal)

Could this be a software issue ?

Best regards,

11 replies

AScha.3
Super User
May 21, 2023

what board/cpu ? which st-Link ? which lines connected or onboard ?

+

try: STM32CubeProgrammer ,

ST-LINK UTILITY is outdated.

"If you feel a post has answered your question, please click ""Accept as Solution""."
BRobe.3
BRobe.3Author
Associate III
May 22, 2023

Hello,

Thanks for your answer.

My board is stm32h747i-disco which include theST-LINK .

Following your advice, I used the STM32CubeProgrammer.

I did a succesfull upgrade firmware but connect failed.

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

I try to understand this ??

Best regards,

AScha.3
Super User
May 22, 2023

so you have this ?


_legacyfs_online_stmicro_images_0693W00000bkZ8kQAE.pngis the demo running ?

 +


_legacyfs_online_stmicro_images_0693W00000bkZGiQAM.pngled8 ON ?

+

0693W00000bkZGsQAM_image.png

 

jp3 ?

 

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
BRobe.3
BRobe.3Author
Associate III
May 22, 2023

Hello,

Many thanks for your comments.

I understand

  1. Bridge shoud be between 1 an 2 on JP6. This the case
  2. I try bridge or no bridge on JP3. Same result

The green led D8 is on.

After that, I still have the same error on stm32Cube programmer. I cannot flash anything. So no demo

Best regards,

AScha.3
Super User
May 22, 2023

JP3 bridge + check voltage on it, is CPU vdd .

+ But nothing getting hot??

"If you feel a post has answered your question, please click ""Accept as Solution""."
BRobe.3
BRobe.3Author
Associate III
May 22, 2023

Voltage on JP3 bridge is 3.29 Volts. Its fine.

I doesn't detect hots points.

AScha.3
Super User
May 22, 2023

and at R83 :

0693W00000bkamuQAA_image.png

here stlink checks voltage...should be 3,3 + 1,6 V .. about.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Tesla DeLorean
Guru
May 22, 2023

Not sure that's the most current firmware for the ST-LINK/V3 but I wouldn't recommend just blindly applying things until you have a basic understanding of what's going on, or wrong.

Did you replace the demo firmware are some point? Or erase the current content?

Have you tried "Connect Under Reset" ?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
BRobe.3
BRobe.3Author
Associate III
May 23, 2023
  • Hello,
  • Thanks for your answers.
  • The history of this board is the following ;
  1. First time, I plug ths USB cn2 , It was no demo. Black screen with only red led front and green led back. The community mentionned several boards like that.
  2. Following some communiity advice, I used the Demo program_hexfile.bat file again. I got the loading progress bar. This progress bar disappeared at 96%. So the flashing process was not going to completion.The screen was still black
  3. Then , I try a TouchGFX example . This one worked perfect including transfer to Stm32CubeIde, debbugging and flash.
  4. After that, impossible to flash again. So, no way to erase or to flash anything.
  5. Finally, I try to Connect Under Reset (Hardware or Software). Report is: Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication.
  6. The voltage on the commun point R83, R86 is 1,64 Volt
  • Best regards,

Associate
July 19, 2023

Hi BRobe.3. I'm currently experiencing the same issue. Did you find a solution?

NAN
Associate
June 5, 2025

Hi folks

 

I'm struggling with exactly the same failure.

I use a ST link V2 (a genuine one, I must say) day to day to flash STM32 from various board.

And today, this little thing refuse to program ... when I go to "settings" I have "target voltage" detection fail...

I'm sur of the voltage on the Vtarget Pin because I measure it with my DMM, it si 3.3V sharp!

what's wrong?... is smbdy can post ST-Link V2 schematics just to know where this voltage goes?

 

best regards....