2025-04-08 2:09 AM - last edited on 2025-04-08 2:50 AM by Andrew Neil
Hello @stforum
Please find the attached file for your reference.
I am encountering issues while attempting to flash a hex file onto the STM32F765VGT6 board using STM32 Utility. and I have used ST Link/V2.
Below are the specific issues:
Unable to Flash Hex Files: The hex files are not flashing successfully onto the board.
Target Voltage Detection Failed: The target voltage is detected as 1.2V on my PC, which is not as expected.
Port Not Detected: The utility is unable to detect the port.
Connection Settings in STM32 Utility:
Connection: SWD
Mode: Hot Plug (with Debug enabled in Low Power mode)
it is only detecting in hot plug mode but its not detecting in normal and connect under reset mode.
I have attached the output snippets and settings for your review. Could you kindly verify and guide me on how to resolve these issues at the earliest? Your assistance in troubleshooting this would be greatly appreciated.
Looking forward to your prompt response.
Best regards,
Venkata Narayana Singh
2025-04-08 2:41 AM - edited 2025-04-08 2:49 AM
welcome to the forum.
For best results, please see: How to write your question to maximize your chances to find a solution.
@NarayanaSingh wrote:the STM32F765VGT6 board
What board?
Your title also mentions STM32L010RBT6 - is that on the same board?
@NarayanaSingh wrote:using STM32 Utility. Venkata Narayana Singh
Do you mean STM32 ST-Link Utility ?
https://www.st.com/en/development-tools/stsw-link004.html
Note that this is long obsolete - the current tool is STM32CubeProgrammer.
@NarayanaSingh wrote:I have used ST Link/V2.
Is it a genuine ST one?
@NarayanaSingh wrote:Target Voltage Detection Failed: The target voltage is detected as 1.2V on my PC, which is not as expected.
So have you measured the voltage on the target - at the MCU pins?
PS:
On resolving ST-Link connection issues:
https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693
2025-04-09 2:01 AM - edited 2025-04-09 2:07 AM
Duplicate - merged.
Hello @stforum & @stforum2 & @Andrew Neil
Please find the attached file for your reference.
I am encountering issues while attempting to Flashing Hex Files and ST-Link Detection on STM32F765VGT6 Micro controller.
Part Number: STM32F765VGT6
Environment:
Scenario 1: Issue in ST LINK UTILITY
Scenario 2: Issue in STM Cube programmer:
Please find below attached the file st_forum_queries_09april2025, which contains all the output images, hardware connections, and a detailed description of the issues for each scenario.
I would greatly appreciate any guidance or suggestions on how to resolve these issues. Looking forward to a positive response from your side at the earliest.
Thank you
Regards
K Venkata Narayana Singh
2025-04-09 2:24 AM
Please keep the details in the post.
2025-04-09 6:20 AM
Hello,
Thanks @Andrew Neil for handling the post.
@NarayanaSingh, could you attach the logs with STM32F765VGT6 please ? The logs you attached are for STM32L010. Let's focus on the issue on STM32F765VGT6 for the moment. Also please only include information for STM32CubeProgrammer since ST-Link utility is NRND.
Thanks,
Aziz