2025-07-23 7:44 AM
Hello,
I recently run into problem with not being able to debug my applications any more.
I use STM32CubeIDE (and Atollic) without major problems for years now, but suddenly debugging does not start.
I can flash the the device through the Run button. When I click debug it is also flashed but than progress stops at around 95% percent and stays there forever. Logs do not look the same every time so just some examples here.
I tested multiple applications with 3 programmers (ST link V2, ST-link V2 from 3rd party, ST-link on Nucleo Board) connected to multiple custom devices that previously worked. I use 4-wire programming (V, SWDIO,SWCLC,GND)
However when using Nucleo board directly it starts normally.
I experimented with dubug configurations, reinstalled the IDE, drivers, tried older versions, nothing seems to make a difference.
Thank you for the support.
regards Jeronym
2025-07-23 8:07 AM
Some new information. After i run my test program on Nucleo Board (and it worked as mentioned before), iI than could also debug with the same programmer using other custom HW, than I tested the other ST-link V2 and it works as well.
So it seems running debugging on Nucleo board once fixed the problem for other boards and programmers.
However I do not consider the issue solved, because I am almost sure it will come back again. I think this already happened once before and stopped working the day after...