[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 742
  • 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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

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