Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
Buggy behaviour of STLink USB serial port driver
In Windows 7 do the following:
1. Install the STLink serial port driver. 2. Plug in your mBed board (F401RE in my case). 3. Open a connection to it, e.g. with Termite or Putty. 4. Unplug the board. 5. Close the serial connection.
Normally this should result in the port no longer existing on the system. Indeed it no longer shows up in the control panel, but it *does* still get enumerated by serial port programs (including my own which uses Qt). If you try to connect to it you get a "no such file or directory" type error.
If you plug the board back in you still can't connect to it. In fact the only way to clear it is to restart the computer.
Has anyone else seen this error? Is anyone from ST listening that could fix it (given how reliable to reproduce it is - it happens every time)?