STM32F407 Debugger Lost Connection Cube IDE V1.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-02 7:26 AM
Hi ST community,
I am using STM32 Discovery board STM32F407 DISCO,
I have written a Simple toggle Code, Compile and build has no errors, but when i run the code the error is throwing called "Debugger Lost Connection, Waiting for Connection",
PFA image attached, I have upgraded the STM32 cube IDE to latest V1.4 but the same error.
Thanks,
Shiva.
- Labels:
-
DEBUG
-
STM32CubeIDE
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-02 10:45 AM
Check MCU power supply and hardware connection between stlink and MCU. Replace wires​ and try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-02 11:07 AM
Check for code or settings disabling the SWD/DEBUG pins/functionality. CubeMX can hide a lot of setting and code, dig deeper into the HAL_Init() code, and MSP routines.
You can break the connection interfering with PA13/PA14, or placing the hardware into a sleep mode
Up vote any posts that you find helpful, it shows what's working..
