Loosing the serial port

  • Thread starter Thread starter SteMMo
  • Start date Start date
S

SteMMo

Guest
Hi all,

I'm writing a C# application for a device running Windows 7 Standard embedded.

The application talks with an Arduino board via USB virtual serial port.

Sometime happen that the communication is lost with an exception reporting 'Device not connected': the next calls report 'COM9 does not exist'.

If I shut down the application and re-run it, I always receive the last error.

If I open the Device manager I see the port on the list but if I enumerate the port fron the app I don't find it.

I don't understand if the driver is in a mess - or maybe is the framework that is in a mess.

Any idea?

The only solution so far is the device reboot: is there any other solution ??

Thanks!


SteMMo

Continue reading...
 
Back
Top