NUCLEO-F401RE Serial Port
I have a NUCLEO-F401RE, which has a virtual serial port associated with the built-in ST-LINK/V2-1.
This is very convenient and handy, but I'm having issues with it.
The first time I tried using this feature, it worked fine. The serial port associated with the ST-LINK on the board enumerated as COM28 on my PC and I was able to open it in TeraTerm and see serial output from my board.
I found, however, that if I power cycle the Nucleo board, I can no longer connect to the serial port with TeraTerm. The serial port still enumerates as COM28 on the PC, and TeraTerm see it in the list of available serial ports, but when I select it in TeraTerm, it says the port is unavailable. COM28 also shows up in Device Manager, and Device Manager says "This device is working properly." I tried several pther PC serial port programs, but none of them could open COM28.
The only way to get it to work again is to reboot the PC. This is a real nuisance because I'm frequently power-cycling the Nucleo to load new firmware or hook up scope probes, etc.
Is there a way to fix this so I don't have to reboot the PC every time I want to reconnect to the virtual serial port ST-LINK creates on my Nucleo board?