by oodathort » Sat Dec 22, 2012 8:19 am
Hi thanks for the super quick reply can you help me here is the article that I have been following I have been able to load the driver and the head unit seems to accept it I did create a folder called reg and placed in $msd$/apps/registry/ custom with the code in it but get a syntax error code.
TMC to USB Port (for Chinese GPS)
--------------------------------------------------------------------------------
Dear All,
I would like to share my experience in this TMC project.
Recently I bought a Chinese GPS 100 unit to connect to my JVC KD AVX40
This has an av out in 320x240 and JVC has an AV in.
You can control the unit via touchpad.
It works correctly to my unit so I decided to get a TMC for this product.
This unit has One USB port which is in Host mode.
So Put a normal USB hub on it and it worked well with Pendrive and External Mouse
Next step, I got a FTDI USB to Rs232 device.
It has FTDI 232BM chip for UART connection it's very important to use chip like this , because of the windows ce driver
I've opened it and I removed chip called SP213EHCA.
In every RS232 there are 2 chips on the board. One is for USB to UART , and the second is for Uart To Rs232.
Because the every TMC receiver uses TTL communication which is working on 3.3v I need to "convert" the unit to USB to UART TTL only.
Obviously you can build a small circuit for this communication, but for myself it was easier to use this solution.
After I removed the Rs232 chip.
Datasheet Page 5 for picture of the pin outs.
You can download it from the FTDI website
The Tmc Receiver pin out is :
Pin definition:
Pin1 Vcc: 5V +- 10%
Pin2 TX: 3.3V TTL level, TMC data output.
Pin3 RX: 3.3V TTL level, receive commands.
Pin4 GND <-- It's not ground It's 5V !!!
Pin5 GND (for mini-USB only)
I soldered a mini USB mother type connector to the chip legs:
PIN2 goes to chip leg 24
PIN3 goes to chip leg 25
PIN5 goes to chip leg 17
So after this I connected the Royaltek TMC unit to my "hacked Rs232" board.
I put the "hacked rs232" to hub and I used a USB mini usb cable for power the tmc unit, so I connect the cable to hub and after that to the tmc.
After this I used this driver for windows ce 5.0
You can download it from the ftdi web site
I have to use mortscript which copy a self made reg file to the registry and copy the ftdi dll to /windows/ folder
Reg:
REGEDIT4
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24 577]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24 577\Default]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24 577\Default\Default]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24 577\Default\Default\FTDI_DEVICE]
"DLL"="ftdi_ser"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default \Default\255]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default \Default\255\FTDI_DEVICE]
"DLL"="ftdi_ser"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\FTDI_ DEVICE]
"Index"=dword:00000001
"InitialIndex"=dword:00000001 <--- This is for which com port to use 1...9
"Dll"="ftdi_ser"
"Prefix"="COM"
"Version"="1.0.2.11"
"ActiveSyncSetting"=dword:0003e880
"LatencyTimer"=dword:00000010
"DeviceArrayIndex"=dword:00000000
This reg file is directly uses COM PORT 1 (It was free in my device )
After this I created a very small circuit which holds the usb power for 20sec
parallely my reg and driver is installing in this time.
When I reached 20sec My Hive based Windows Registry will recognize the FTDI device and there are no pop up meassegas appear ....
IGO recognized the TMC device hardware
The reason I write this how to , because I read so many forums ,and web pages to find a solution for this , but i didn't find anything.
GNS is providing a TMC receiver for CAR PC but with a prolific based USB to UART chip, and the ARM based cpu is not understanding the driver
Ough I forget the tmc receiver what used:
Royaltek RTA-3000
Have a nince day I hope that I could help to someone