2024-10-06 11:29 PM - edited 2024-10-06 11:51 PM
I'm trying to debug a STM32 project on an STM32 IoT Discovery Node Board (B-L475E-IOT01A1) from my MacBook Pro (M1 Max). Every time I build and start a debug session, the process gets stuck on "Launching : Performing pre-launch check..." as shown in the figure below.
When it get's stuck like this, it can't be canceled and the only way to clear the process is to restart the IDE. I am new to this kind of debugging, but I have a feeling this is a problem with the USB connection and drivers because when I restart my computer, it usually works (without changing any of the project settings or configurations).
ST-link server is running on my machine, and seems to have connected properly as shown in the output for the following commands.
Is there any known way to resolve this error? Restart the drivers or reconnect ST-link? Restarting my computer every time is not really a long-term solution. I'm sorry if this is a dumb question, I am new to CubeIDE.
edit: added board number