RE: Serial Problem with USB

Tech-Archive recommends: Fix windows errors by optimizing your registry




Hello Mario...

I had a similar problem. The BSP had an issue with sharing resources.
There was an issue in the OHCD and serial port resource usage from the BSP
vendor.

Good Luck,
Mike.

"Mario" wrote:


I have the following problem with serial devices connected through USB.

Situation:
Windows CE 5.0 running on a PXA270.
NET CF 2.0 (No SP)
USB Devices connected through a USB HUB.
1 FTDI USB To Serial device.
Other USB devices (Including serial devices, and Mass storage devices)

Recognition of all the USB Devices work without problems.
When i boot up with my FTDI Device attached, all works and i can open the
serial port and communicate, But as soon as i attach an other Serial USB
device the FTDI Serialport gives an error (I suspect the port gets closed).
This only happens if i attach a Serial based device (A GPS Mouse, and
Microsoft Wireless keyboard,mouse for example) the problem does not occur if
i attach a Non Serial device like a Storage device. The problem also doesn't
occur if i attach another FTDI Serial device.

When i attach the Serial device and then bootup the device no problems occur
aswell so the devices are all recognised, it's only the fact that if you
attach the device after bootup, and when the other serialport has already
been opened my problem occurs.

For test purposes i removed all the drivers for the GPS Mouse in the
registry, so whenever i attach the GPS Mouse it's not recognised as a valid
device and displays the famous add driver dialog, but even then my serialport
gives me an error although in theory i would think that nothing would happen.

Could anyone shed some light on this issue. If you need more info about the
settings in the registry i can post them, only didn't want to make this post
to long

Best Regards,
mario



.



Relevant Pages

  • RE: Serial Problem with USB
    ... The BSP had an issue with sharing resources. ... I have the following problem with serial devices connected through USB. ... But as soon as i attach an other Serial USB ... device the FTDI Serialport gives an error. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: IO Serial COM Exception
    ... This is a problem in the device driver handling the serial port. ... internal ports that use physical UARTs instead of the virtual UART that is ... furnished by a USB adapter. ... similar the SerialPort, but not exactly the same, so you will have to do a ...
    (microsoft.public.dotnet.languages.vb)
  • Re: SerialPort and SerialDataReceivedEventHandler
    ... I have checked the communication between the MCU and the hyperterminal ... newer, but if Hyperterminal sees your input as a normal serial port stream, then ... SerialPort class and the communication methods of older programs. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SerialPort and SerialDataReceivedEventHandler
    ... I have checked the communication between the MCU and the hyperterminal ... newer, but if Hyperterminal sees your input as a normal serial port stream, then ... Is it possible that the SerialPort class is waiting for one ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Serial Communications in ASP.NET
    ... The SerialPort would be owned by a single ASP.NET worker process ... By moving the serial port out of the ... worker processes prefer to restart themselves occasionally. ... handles the serial port then make a webservice front end. ...
    (microsoft.public.dotnet.general)