Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 744
  • Last Modified:

How to communicate via USB on Windows CE

Hi experts,
I have an equipment that has only serial communication and I need to communicate with it via a handheld that has WinCe 6.0 installed in it.  The problem is that the handheld only has USB communication available.
I found a serial to USB converter which can be connected to the equipment but I don't know how to communicate from a handheld via USB
0
rudy2024
Asked:
rudy2024
1 Solution
 
Dr. KlahnPrincipal Software EngineerCommented:
USB to serial converters should come with a driver CD that contains installation information.  Of the "inexpensive" units I've purchased on ebay, generally the USB communication port is mapped to a standard COM port (COM1:, COM2:, etc.)   This allows legacy communication software such as Kermit and Hyperterminal to use the USB adapter as though it were a traditional serial port.

If there is an ongoing need to communicate with the device automatically (e.g., for data logging) and there is no prewritten software available, a custom-written Perl script will be able to do the job.
0
 
rudy2024Author Commented:
Thanks for your input, although I don't know why you bring up "CD" and "Perl".  Neither of them can be used in handhelds or win ce.
Anyway, your input helped me realize it's just a matter of installing a virtual COM for USB with a USB to Serial converter.  
Found where I can order the converter from:
http://www.commfront.com/USB-Serial-Adapters-Converters/USB-RS232-Converter-Adapter.htm

This converter uses FTDI chip to communicate with the USB and sends serial out.  The driver for WinCE can be downloaded from:
http://www.ftdichip.com/Drivers/VCP.htm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now