Sometime you may need additional serial connectors for your windows mobile device. Here is the odyssey I had with a FTDI adapter:
How I installed a FTDI serial to USB adapter within ITC CN50 running Windows Mobile 6.1.
Although the USB to Serial adapters with FTDI chips can be installed with drivers from FTDI, these will not work out of the box with WM6.1.
Initial Test with CN50
First I copied the Armv4 driver files ftdi_ser.dll and FTDIPORT.INF to \Windows on the device.
Inserted a Micro USB/B to USB A host connector (Digikey H11576-ND)
Inserted the USB2SER adapter “US232R-10 – Premium USB – RS232 Serial Converter Cable”
The device prompts for the driver name and I typed “ftdi_ser.dll” although it should not do so, as I copied the files previously. See also
Then I started to try to communicate using COM10 (verified with registry). But there was no communication possible. The VCP test application did not list any port to open, so I entered COM10: (or SER0 for patched driver) but without success.
I also tested without success using a Loopback adapter as described here:
Using the VCP PC drivers for WinXP the serial adapter worked fine, so the hardware is not faulty.
I also tested on CN3 (WM6.1) at the dock connector without the micro-USB cable. But this did also not work.
Finally, I tested on a WinCE5 device (CK61) and this worked OK. So I compared the registry of WinCE5 and WM6.1 after driver install and adapter connection. I found the following (red) keys are missing on the WM6.1 device and so I added them manually:
Using these registry changes and after reinserting the adapter, I was able to communicate using the patched driver, where all COM was replaced with SER. Maybe the original driver will work too, it uses COM10 as port, where the patched driver uses SER0.
VCP Test Tool
Although the VCP Test application is not the best in regards of error checking (you can enter whatever you want for port and it always makes you think it was able to open the port), I include it here only for completeness.
Original VCP test tool: http://www.ftdichip.com/Projects/CodeExamples/VC++/VCPTest_vcpp.zip
Patched Driver: DOWNLOAD: FTDI (CE ARM) patched driver - Replaced all COM by SER
Here is the source code of the modded VCP test tool: DOWNLOAD: Modded VCP test tool -
Link to Installation guides: http://www.ftdichip.com/Documents/InstallGuides.htm
The CE installation guide: http://www.ftdichip.com/Documents/InstallGuides/Windows_CE_Installation_Guide.pdf
<!-- Social Bookmarks BEGIN -->
<!-- Social Bookmarks END -->