How can I remove error like 'Waiting for debugger connection...
Debugger connected
Debugger connection lost.
Shutting down...'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-13 8:11 PM
I am generating code using STM32CubeIDE, but when I start to debug I am getting errors like:
"STMicroelectronics ST-LINK GDB server. Version 5.2.3
Copyright (c) 2019, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Waiting for debugger connection...
Debugger connected
Debugger connection lost.
Shutting down..."
I am using the latest version of st-link USB driver(en.stsw link009). Also I am using USB to TTL converter. Initially everything was working very well, near about ten code executed successfully. But now facing the above error. So how can I solve it?
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-30 12:05 AM
I guess this problem is connected with DMA. ( If you enable DMA such issues are coming.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-10 11:12 PM
Interesting! When you specify the monitor flash mass_erase in CubeIDE. Then CubeIDE actualy opens CubeProg_CLI which performs a mass erase. In theory that should be the same thing as running CubeProg externally and perform a mass erase from the eraser icon...
I have to cross-check this with CubeProg team.

- « Previous
- Next »