Click to See Complete Forum and Search --> : USB to serial programming


Holi the Rob
June 10th, 2004, 07:26 AM
Hi

I need to write something to map USB stream to a serial COM port on the PC, for a user can find additional COM port on the system (when the device is attached) and read the "serial" stream.

I need it for a GPS device, maybe you can also give me a hint on a good class/subclass I should use for device configuration.

As I guess by now, I need to write sort of a driver, but so far, I have no idea what exactly I really need.

Do you have good suggestions? I'd appreciate code smples including environment settings to do (can I use DevStudio?) and a good manual on how to write an INF file.

Many thanks for every useful input

Holi

P.S.: I'm reading through DDK-Help and MSDN concerning driver development, but it's too much and weird stuff to get a quick overview.

Gyannea
June 10th, 2004, 01:14 PM
Sorry, no answer, but that is something I would also like to do. There are so many USB ports on PCs today and I need serial input/output to a radio and a GPS unit.

I have seen code on how to write and read serial ports but with only one serial port on a computer today (soon to be 0?) I need to send/receive this serial data via USB ports instead.

Brian

Holi the Rob
June 11th, 2004, 05:24 AM
There are serial 2 USB adapters available, we use them too to have more serial ports available. They are good as long as you do not do too much of complicated things with the serial port. If you use it just as "Open port and read/write", it's okay to use.

Holi