LPC1768 USB hangup

Jul 07, 2012 22 Replies

It now turns out that ClearCommError() returns 0 if a USB serial port is disconnected. This fits well with the current Windows documentation. Our terminal emulator now closes the port gracefully when the USB adapter is diconnected.

Stephen

Stephen Pelc, stephenXXX@mpeforth.com MicroProcessor Engineering Ltd - More Real, Less Time 133 Hill Lane, Southampton SO15 5AF, England tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691 web: http://www.mpeforth.com - free VFX Forth downloads

My first guess is that Winders does not properly comply with the USB specification, or that the specification itself has problems with disconnect followed by reconnect. Fortunately the USB specification is publicly available from the USB consortium.

?-)

W dniu 2012-07-08 01:00, John Larkin pisze:

Hi. Use terminal v1.9b by Br@y++. It can close virtual port after disconnecting usb cable.

Regards MD

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required