USBUART on Windows 10

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
brandiware
Level 4
Level 4
First like given 25 sign-ins 5 solutions authored

Hi ,

   

I have several questions on this topic. 

   

1. When I use my device plugged directly to the PC, Windows 10 "Creators Update" uses its own usbser.sys. It looks like no Cypress driver is needed as the communication appears to work fine. Is this correct ?

   

2. Even though it seems to work, I have no "eject" symbol in windows where I can disconnect logically. Is this not needed or a driver fault ?

   

3. For my project I need to connect the device at a remote location via LAN. Hence I need a solution e.g. with a USB Network Server. Do you have experience with USBUART on an USB Network Server (LAN to USB Hub) ? Any idea is highly appreciated at this point.

   

4. When does USBUART_1_GetConfiguration() return a non-zero value, as soon as it is enlisted in the device manager of windows ? I would appreciate more information on this call to be able to monitor USB states better. E.g. I need to identify events where the device is disconnected logically from i.e. the USB Network Server.

   

Thank you very much in advance
Stefan

0 Likes
3 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

1.yes ,this is correct

   

2.It is not needed.

   

USBUART_1_GetConfiguration() function gets the current configuration of the USB device.

Return Value:uint8: Returns the currently assigned configuration. Returns 0 if the device is not configured.

0 Likes

Thanks, any idea on my questions 3 and 4 ? In particular the connection via a network usb hub.

0 Likes

I circumvented this problem by using a simple mechanical Ethernet to USB plug i.e.using the ethernet line to transport plain USB. I did not get the USB-Hub to run with the USBUART.

0 Likes