ST-LINK - not connecting to stm32f407
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-25 7:11 AM - last edited on ‎2024-08-26 4:11 AM by Andrew Neil
Im getting below error while Runing the application
Board- stm32f407
Error in final launch sequence:
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
localhost:61234: Connection timed out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-25 7:30 AM - edited ‎2024-08-25 7:31 AM
Hello @harshad1 and welcome to the ST Community :smiling_face_with_smiling_eyes:.
Could you try to perform a mass erase of the board using CubeProgrammer. Then, restart CubeIDE and retry to connect.
Also, make sure that your ST-Link firmware is upgraded, check the jumpers, SWD pins status, try configuring the "Connect under reset" mode and dont forget to check your power supply and try to change your USB cable (ensure that you are using a data cable not a charging one).
Best Regards.
STTwo-32
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-26 4:11 AM - edited ‎2024-08-26 4:13 AM
@harshad1 wrote:the application Board- stm32f407t.
What board?
Please see the posting tips:
See also this Knowledge base article, How to solve debugger connection issues:
https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693
A complex system designed from scratch never works and cannot be patched up to make it work.
