2023-12-20 02:11 AM
Hi All,
I am having an issue which is persistent for more than a week. I created a simple blink LED program using STM32 CUBE IDE IDE. I compiled it OK. Then, I tried to run it on the board, CUDE IDE got stuck. I can see from the progress bar that Launching: initializing debugger services. The progress is stuck at %51 and does not change even if I wait for ages. To identify the root cause, I tried below steps.
So, it got me thinking that STM CUBE IDE on my PC has something wrong. As I can not purchase another laptop as a solution, I am looking forward to hearing some help from the community. Please see attachments and provide me some guidance.
Thank you in advance.
2023-12-26 12:49 AM - edited 2023-12-26 12:51 AM
Try change Debug probe to OCD debuger. Sometimes on some PC require GDB ST server upgrade or reinstall. Hard to solve. Too you can try old IDE clean install (uninstall all prev) for example 1.7.0 and then upgrade.
Next source is java versions and state on your machine... And reboot Windows too if install not request it.
2023-12-28 06:55 AM
I have tried all the things you suggested. The only difference being is that, the progress was stuck at %51 before, now it is stuck at %52.
I tried 1.7.0, then did upgrade, rebooted my PC... Nothing worked.
Strangely, it all works fine on another PC. I dont know what might be wrong with my PC.
I insalled Keil and CubeMX, both works fine. I can compile, run and debug.
I am also very disappointed that ST Community has never had this issue and unfortunately no help solved my problem.
Thanks for effort.
2024-07-17 12:47 AM
Hi demir,
I had same issue on an IT corporate managed laptop.
Running the program as administrator solved the issue for me.
Best regards,