2020-01-13 08: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.
2021-09-30 12:05 AM
I guess this problem is connected with DMA. ( If you enable DMA such issues are coming.)
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.
2021-11-29 09:58 PM
i encountered such problems while receiving an STM32CubeIDE update, upgrading all suggested firmware/Migrating project to a newer version solved this problem