Using RS232<->USB Adapter with newer HTC devices - Windows Mobile Development and Hacking General

Hello,
does anyone know if it is possible to attach an USB<-> RS232 cable to the newer HTC Devices, since they don't have RS232 anymore (i guess)?
What I want to do is to connect some kind of blackbox to Prophet, Atom or Wizzard. But this Blackbox only has an RS232 Connector (12 Volts).
Is it possible (hardware) and is there a driver for the RS232<->USB in Windows Mobile 5 or do I need to write my own driver?
Thank you

hi
I hope u've found a solution to that probleme.
I'm really very sad that nobody has answered to this subject, is this to mean that this is a stupid question or that nobody uses PDAs for good purposes.
Well, I try to connect my PDA to a total station (a surveying machine) that has only an RS232 port.
Can u help me to find how.
Thanx

without know much about usb to rs232 convertere then i would suspect they would require usb host ablity on the pda side which non of the htc ones i know of do :S

I think Rudegar is right, a usb to RS232 adapter requires a device with USB host. Remeber I discussed this at the GPS World site a couple of years ago, when I got my Qtek 9100 (HTC Wizard).

Couldn't the problem be solved with a Bluetooth -> RS232 dongle?
For instance: http://serialio.com/products/adaptors/BlueSnapXP.php
Here is a list of manufacturers: http://www.thewirelessdirectory.com/Bluetooth-Product/Serial Port Adapters.htm
(I have no experience with these devices; some can draw power from the serial port, others have their own battery, again others have their own powersupply and need to be plugged in)
Jörg

maybe helpful:
* search for:
download USB-HOST for ppc windows mobile
mda xda usb host download
Download Zeno USB Host Drivers
download: http://www.freewarepocketpc.net/ppc-download-zeno-usb-host-drivers.html
* Cable Adapter Produkt: http://www.reichelt.de
USB ABU-BST
AK 673-A
usb cable 1euro: http://www.reichelt.de/?ACTION=3;AR...wQARwAAA5RSwY5e7ac6fe7341e083041380a4bf6f0ec4
* pinout mini usb.. http://pinouts.ru/pin_CellularPhones-A-N.shtml
* Modify any USB GPS to XDA Serial RS232 afterrnoon project xda-developers.com
http://forum.xda-developers.com/showthread.php?t=237308
* serial rs232 over bluetooth for 25 EURO
"PICOPlug" or Pico-Plug from HAMA http://www.amazon.de/PC-Innovation-PICO-Plug-Bluetooth-Seriell-Parallel-Adapter/dp/B00006JB4Q

Related

htc universal usb host driver

Anyone got a wm5/ce5 usb host driver for htc universal (pxa270 intel arm processor)? I'm trying to write one, but if someone could save me the effort, please do? I know it will work, as it does under linux.
USB Host on a universal will be great. Didn't know it works under Linux.
driver for view a universal as a sd writer and reader or a driver for the universal for attach a pendrive to a universal?
drivers for attaching a pendrive.
A USB host driver enables you to hook up USB devices like memory key, keyboard/mouse etc. to the universal. This feature is only available on a few pda models made by toshiba, fujitsu, asus, acer etc.
imesh said:
driver for view a universal as a sd writer and reader or a driver for the universal for attach a pendrive to a universal?
Click to expand...
Click to collapse
Correct me if I'm wrong but wouldn't it have to be supported by the hardware? As far as I know the Universal does not have USB host so getting a driver wouldn't be much help...
apparently it works under linux so the hardware must support it
Good question. I need the host driver and then a driver for mass storage (e.g. pen drive, hard driver, etc), HID (for keyboard mouse), etc. The htc universal has a usb host controller built into the arm processor (pxa270). The problem is that it also has a usb device controller build in which takes precedent for the mini usb out, so you can use activesyn. However, with the right bit of code you can reconfigure port 2 to act as a usb host. The other problem is that port 2 doesn't have any power (but that is easy to fix with an external power source from a usb hub or battery [I use a single AA battery, (giving 5 volts at 0.5-1 amp), that lasts for 2 hours]).
hi any success yet with the usb host function? is it possible or just a hoax?
nothing personal it just seems that some ppl like to make fun about this topic and spread hoax!
u have any evidences that it works under linux?
maybe this link is helping you in creating a driver!
http://www.deje.gmxhome.de/index.html
cheers
Mike
Suspect that you will also need the proper USB host cable that is used on the Sharp Zaurus under LINUX to let the Universal know that you want the USB port to work in host mode, they are about £10 & available from here http://www.figlabs.com/catalog/product_info.php/products_id/33
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Mike
Mikew said:
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Click to expand...
Click to collapse
The USB host is used by Linux on HTC phones, but not for the external USB connector
(BT on magician, and gsm_data on some others http://wiki.xda-developers.com/index.php?pagename=HTC_Serial)
Mikew said:
Suspect that you will also need the proper USB host cable that is used on the Sharp Zaurus under LINUX to let the Universal know that you want the USB port to work in host mode, they are about £10 & available from here http://www.figlabs.com/catalog/product_info.php/products_id/33
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Mike
Click to expand...
Click to collapse
I have one for wm2003, I not if it worked in wm05.
Yuo can try it?
any success yet??
Dont think I would want to try a WM2003 driver on a WM5 device.
Mike
Mikew said:
Dont think I would want to try a WM2003 driver on a WM5 device.
Mike
Click to expand...
Click to collapse
You can do one backup before installing it.
I have installed it in my Universal and I have not had problems with wm5, but it has not worked with my standar cable
I've had no success with it either.. I have a cable that has the correct connectors.. originally used for connecting a usb pen drive to my lcd picture frame.. but like I said no luck with this RATOC driver.
Mikew said:
Suspect that you will also need the proper USB host cable that is used on the Sharp Zaurus under LINUX to let the Universal know that you want the USB port to work in host mode, they are about £10 & available from here http://www.figlabs.com/catalog/product_info.php/products_id/33
I have the Zaurus & Universal so I know the cable fits but I don't have a driver to test.
Mike
Click to expand...
Click to collapse
i think that this cable is not enough, what about a 5v power source for the usb pen drive you'd connect?
your universal couldn't supply that, then you need a usb cable that can connect to a power source aswell.
You need to use a powered USB hub if the slave device requires power, there are one or two hubs that run on batteries so you can still be mobile.
You will need a hub if you plan to use more than 1 USB device at the same time.
Mike
allmycrud said:
Anyone got a wm5/ce5 usb host driver for htc universal (pxa270 intel arm processor)? I'm trying to write one, but if someone could save me the effort, please do? I know it will work, as it does under linux.
Click to expand...
Click to collapse
I didn't know we had it in Linux yet??
In any case, while many devices do use a USB Host or USB Slave chip from a higher level, I believe the Universal talks to its USB as a raw stream device, and therefore can (and does, on occasion) act as a pure Serial communication channel (no discernable protocol beyond 8,n,1) or, therefore, any other type of serial-based channel. Yes, what I am saying is that you could, in fact, hook up a Serial ATA hard disk to an RS232 or USB port directly, so long as the device with the port has low enough level access to the port to absolutely control the data I/O.
The problem you face, however, is that to use the USB port as if the device were the host, you would first need to remove or disable whatever makes it work as the slave. In Windows Mobile that's really not an easy job given the number of different devices and different drivers, some with USB chips, some without... On many devices I can imagine that doing that alone would really bugger up general operation. What happens, for example, to ActiveSync when you suddenly get rid of the port it usually talks to for sync?
Mikew said:
You need to use a powered USB hub if the slave device requires power, there are one or two hubs that run on batteries so you can still be mobile.
You will need a hub if you plan to use more than 1 USB device at the same time.
Mike
Click to expand...
Click to collapse
Some USB devices have batteries, or have their own power supply You can also get USB cables with an extra (mains or battery) feed wired to the USB's power lines in parallel.
whatever happened to this thread?
allmycrud have you seen the thread from Zeno with USB host drivers?
there is at least one report of it working on a Universal, but I can't get it working on wm6.1... still have hopes though, as all reports suggest that USB host is possible on a uni... can never get verification from anyone though...

Mini USB to Serial Cable?

Hey guys!
I've searched and searched for something to allow me to transfer data via a serial cable from my phone to device.
Let me try to explain this.
HTC Wizard
Windows Mobile 6 (Explore 1.1)
I have style tap (palm os emulator)
Software for palm os for a stand alone fuel managment system (msefi.com)
So on my car, I use a serial cable to program and get realtime data.
Now I know they make bluetooth to serial adapters for around 70, but I was wondering if they make a mini usb to serial cable for the Mobile OS.
Anyone have any ideas?
Thanks
Chris
Well, you could theoretically get a USB to serial adapter that has a cable. Then cut the USB connector that goes to the PC off the cable and just splice the miniusb plug onto the end. I don't know about device support though I'm going to guess you would have to at least come up with a driver and the device might not support that type of functionality at all anyways.
Since the Wizard doesn't have a USB Host (aka USB OTG) the short answer is no. Even more importantly, the wizard won't power the serial adapter so the device is a dud to begin with.
The odds that the BT to RS232 connector method will work are far greater than the USB method.

DEV: USB Experts

Ok,
If I were to make up an appropriate USB cable.....
1) Could I get my P3600 to talk to a USB control box that controls a light display which is normally driven by a Windows PC?
2) Is there any API facility in the Windows Mobile OS that allows a programmer to send and receive USB data packets or would I have to hit the PocketPC device hardware and bypass the OS?
3) Is any of the above possible?
Thank you very much
using usb it would not be posible
usb comes in 2 types masters and slaves
htc pda's are slaves they cant init comm with usb devices
much like that you cant connect an usb harddisk with an usb webcam
trinity have usb host...
you can see in samsung -
http://www.samsung.com/global/syste...roduct/2007/7/7/324600sc32442x__schamatic.pdf
in page 6 you have usb connection,
in trinity we have usb device, if you want to have usb host you will have to change the wiring inside the trinity.
for this change you will need to replace R75 from 470K to 15K, disconnect R83 and make a short from R76 to gnd with 15K(ohm), disconnect R82 and connect Vbus to 5V
(all the numbers of the resistors are for the Evaluation Board, in the trinity it will be diffrent numbers/connections)!!!!!
this will NOT work with your pc!!!! (need more modifications but can be done)
only host option!!!
you wont able to charge your trinity!!! (need more modifications but can be done)
but you can make switch like in the PDF
and then you will have usb host.
i have done some work on the sc32442 chip and it worked with usb host
(not the trinity).
no because the cpu have something dont mean that it's map'd out in the pcb of the manufacturers
and doing a hardware mod can kill the device and will 100% surely void the warrenty
and when all the hardware changes are then don then he needs to write a usb driver for wm to support the
hardware he want to talk to if non already exist
htc seem to use an external chip to do the usb stuff which is basic
only Athena and flame support it
tbuaron said:
trinity have usb host...
you can see in samsung -
http://www.samsung.com/global/syste...roduct/2007/7/7/324600sc32442x__schamatic.pdf
in page 6 you have usb connection,
in trinity we have usb device, if you want to have usb host you will have to change the wiring inside the trinity.
for this change you will need to replace R75 from 470K to 15K, disconnect R83 and make a short from R76 to gnd with 15K(ohm), disconnect R82 and connect Vbus to 5V
(all the numbers of the resistors are for the Evaluation Board, in the trinity it will be diffrent numbers/connections)!!!!!
this will NOT work with your pc!!!! (need more modifications but can be done)
only host option!!!
you wont able to charge your trinity!!! (need more modifications but can be done)
but you can make switch like in the PDF
and then you will have usb host.
i have done some work on the sc32442 chip and it worked with usb host
(not the trinity).
Click to expand...
Click to collapse
uhm ... very nice impact!
are you know the jtag pins? must be the same like your embedded board.
This is not good...
What is the first HTC device to support USB Host?
Is it that big fat thing with a detachable keyboard (can't remember the name )?
Thanks for the replies.
PS One last question....
Does anyone make an SD or miniSD port based USB controller card?
Thanks again
Is it that big fat thing with a detachable keyboard (can't remember the name )? == Athena
and yes

Usb Host

I'm new in this forum and my english is no the best.
I'm searching for a system to enable usb host on dual. Something have an idea?
not 100% sure about nike but the only htc phone i know off which have usb host is Athena
htc dont connect the usb host connectors of the cpu's (those cpu's which support it that is)
no cure to fix it
Rudegar beat me to it..
no usb host mean that a device is able to connect and use other usb devices such a webcams, external harddisks, mice, keyboards and the likes
yes i now what is usb host, but if is only a problem of connection to cpu we can't study how to make it?I work frequently with electronic and if somebody help me we can try to connet it. The bus of usb are only 2 wire connect it to cpu is very simple if cpu is ready to make it! Somebody have a image of this athena chip and pinout?

Artemis connected to microcontroller with usb otg

Hello everyone,
I need to connect a usb peripheral to the Artemis P3300.The peripheral is a usb client device ,an rfid reader , from which i want to pass a short string of data to the Artemis.
My idea is to use an atmel microcontroller with usb on the go , to act as a host , read the data from the rfid reader and pass it to the Artemis using its mini usb port.
As I am quite new to this kind of engineering I would like to hear your opinion about this way of interfacing the Artemis with the microcontroller.Has anyone tried something similar? Do you think that the extUSB is suitable for a connection with a usb on the go host device?
Best regards

Categories

Resources