NUCLEO-F446RE under Mbed 6.2.0 freeze

Hi,
To answer Jan:
Thank you for your answer.
According to an answer I had already had on Nucelo L432KC freeze - #29 by marcusbaslerus the management of serial ports in Windows 10 is at issue:

I could understand that the reboot program (by what I’m using a watchdog), but why is it freezing? Is it a fault generated by the ST-Link chip that stops the microcontroller?

At the moment I don’t think of using another serial link instead. As I have already written during the use phase I will be able to deactivate the USB MSD bu thanks for this idea.

Marc.