NUCLEO-F446RE under Mbed 6.2.0 freeze

Hello Marc,

maybe I am wrong but when the problem was solved by disabling of the USB MSD functionality which is provided by the ST-link then the issue can not be on the Mbed side, I think. That seems be some an issue between Windows10 and ST’s drivers for ST-Link.
Did you tried to update ST-Link drivers and firmware?

You also wrote about it not appear with the blinky example. That looks like the problem appears only with any serial communication through the ST-Link. So the VCP driver.

You didn’t show us the code, but of course, if your program is based on serial communication with the PC and the communication will stop, then also the board will stop of course.

I do not know what exactly you have connected to your Nucleo board but theoretically you can try two other options:

That will provide you a serial communication without the ST-Link and also you can normally use ST-link for debug and programing without another setting in the future…

BR, Jan