How to solve the problem with:
1. " Error: No STM32 target found!".
2. "Error in final launch sequence:
Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (4) No device found on target."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-25 8:44 PM
--The first error encounters while trying to connect the board (STM32H7A3ZI-Q) with STM32Cube Programmer at normal mode.
--The second error encounters while trying to upload a code through STM32Cube IDE.
However, when I try to connect the board with STM32Cube Programmer at power down mode, it successfully connect .
Hence, being a naïve in this area, I hope everyone helps me out to find the solutions. Thank you.
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-29 8:27 AM
I had the similar problem with H725 MCU which maybe the same root cause. If new STLink fw doesn't fix it, check these:
- make sure selection of power supply scheme in your code matches with your Nucleo-H7A3. If not, correct the selection
- After correcting selection of power supply scheme, you may have to do "erase chip" since the MCU was already programmed with wrong ps sheme
- follow this link to "erase chip" and other possible fixes https://community.st.com/s/article/FAQ-Unable-to-connect-to-STM32H7-devices
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-29 8:00 AM
Hello @PWaiba​ and welcome to the Community,
Your STLink firmware version is an old version.
So, please try to upgrate your STLink firmware. Then keep me informed about your update.
When your issue is sloved, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-29 8:27 AM
I had the similar problem with H725 MCU which maybe the same root cause. If new STLink fw doesn't fix it, check these:
- make sure selection of power supply scheme in your code matches with your Nucleo-H7A3. If not, correct the selection
- After correcting selection of power supply scheme, you may have to do "erase chip" since the MCU was already programmed with wrong ps sheme
- follow this link to "erase chip" and other possible fixes https://community.st.com/s/article/FAQ-Unable-to-connect-to-STM32H7-devices
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-29 8:32 PM
Although the upgrade is successful, the error still encounters while uploading the code as cited in the picture.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-29 8:58 PM
I followed the link and found that the issue was with my power configuration. By following the steps there, my issue is solved. Thank you @Community member​ .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-27 1:02 PM
Check for proper placement of the target board's power supply jumper, often labeled with selections: E5V, STLK, USB.
