It is currently 19 May 2012, 19:16





Post new topic Reply to topic  [ 18 posts ] 
 USB Host port hack for Mitac Mio P560 PDA 
Author Message
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post USB Host port hack for Mitac Mio P560 PDA
USB 2.0 Host Port Hack for Mitac Mio P560 PDA

Most of PDA devices do have support for USB host in their hardware in addition to the regular device mode. Vendors just do not add this feature to the software and do not provide apprioprate connectors, power support etc. But that doesn't mean we cannot exploit this functionality by ourselves.

The Mio P560 PDA is based on Samsung S3C2443 CPU which provides both device and host mode in a signle USB 2.0 port. All I had to do is to write an application that enables host mode and add appriopriate host controller and USB class drivers to the onboard Windows Mobile 6. The application is called MioBlaster and you can find it at the bottom of this post together with all required drivers and other tools.

To use USB host mode you will need an USB pass-through cable that will provide +5V to both: USB device you connect and PDA. This is because PDA wasn't designed to export power to the mini USB connector (it would drain your battery too quickly anyway). Instead, it powers internal USB device/host controller circuits directly from mini USB (why waste battery power for USB electronics when it is not connected to PC?). You could use USB disk pass-through cable available is some stores, or solder your own:

Attachment:
IMG_1224.JPG

When you need to be mobile and there is no other PC to get power from, you can use AA battery-to-5V converter I've built. I would post the design here some day if you want:

Attachment:
IMG_1223.JPG

To use MioBlaster follow the steps below:
1. Connect USB pass-through cable to power source and PDA
2. Launch MioBlaster
3. Press 'Enable' in the USB Host Controller section
4. Connect your USB device to the cable
5. Enjoy!

Attachment:
IMG_1226.JPG

Attachment:
IMG_1227.JPG

As a bonus, MioBlaster allows you to change the default function driver in USB device mode. This way you can turn your PDA into a USB pendrive. No more ActiveSync!

Password for all archives: hwhack.com

Attachment:
hwhack.com_cert.rar

Attachment:
MioBlaster.rar

Attachment:
USB Mass Storage Driver.rar

Attachment:
USB Keyboard Driver.rar

Attachment:
USB Mouse Driver.rar

Attachment:
USB Serial Driver.rar

Attachment:
USB Printer Driver.rar

Attachment:
USB PTP Driver.rar


You do not have the required permissions to view the files attached to this post.

_________________
Regards,
www.hwhack.com admin


06 Dec 2010, 13:55
Profile WWW

Joined: 27 Feb 2011, 23:44
Posts: 3
Post Re: USB Host port hack for Mitac Mio P560 PDA
Please, how can I run _setup.xml files in my unlocked MIO M400PNA? This is not .exe or .msi .


06 Mar 2011, 00:44
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
First of all, your PDA is not supported.
Secondly, you were supposed to unpack rar only, not the cab file! Windows Mobile installs software packages from single cab files.

_________________
Regards,
www.hwhack.com admin


08 Mar 2011, 09:24
Profile WWW

Joined: 27 Feb 2011, 23:44
Posts: 3
Post Re: USB Host port hack for Mitac Mio P560 PDA
Oh Yes! Sorry, I am stupid. In rar is .cab file ! Why my PNA is not supported? I have unlock and I run some programs normaly in this Win CE5 system... So, I need connect in to my PNA some USB device, like in normal PC, but my PNA still working only as mass storage. Can You help me, how can I switch USB mode to HOST? This is realy not possible with Your hack? Thank You very much !


08 Mar 2011, 17:25
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
See the title of this topic. This is only for Mio P560 due to low level hardware access, which is platform-dependent.

_________________
Regards,
www.hwhack.com admin


09 Mar 2011, 18:11
Profile WWW

Joined: 27 Feb 2011, 23:44
Posts: 3
Post Re: USB Host port hack for Mitac Mio P560 PDA
Hm...sorry of my qwestions :-(


09 Mar 2011, 23:56
Profile

Joined: 18 May 2011, 20:19
Posts: 2
Post Re: USB Host port hack for Mitac Mio P560 PDA
Hi Everyone,

Can I run a cable OBD II to diagnose my a car ? If so, How?
Thank you for quick answer.


18 May 2011, 20:31
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
If your ODB II cable has a regular RS232 interface on the other end, you can plug that into a serial-to-usb converter cable and then use that with Mio. Driver for the serial-to-usb converter is included above.

_________________
Regards,
www.hwhack.com admin


19 May 2011, 09:55
Profile WWW

Joined: 18 May 2011, 20:19
Posts: 2
Post Re: USB Host port hack for Mitac Mio P560 PDA
Ok...
I have a cable OBD II with USB connector and I installed the driver package from link above.
What should I run and set to my device MIO P560 see my cable OBD II.
RS232 USB Serial Driver and what's next?
How do I know that there is a connection ?


19 May 2011, 15:26
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
If you already have USB connector in the ODB cable istead of RS232, it could be either a built-in serial-to-usb converter or something else. When you connect ODB cable to P560 a window should pop up asking for a driver. Enter '232usb' and after that you should have a new COM port that you could use with a serial terminal like putty.
If the driver window does not pop up, you have not setup your usb host mode properly.
If the '232usb' driver does not work with the ODB cable, than this is not a serial-to-usb converter and probably there is no Windows Mobile version of the ODB driver out there.

_________________
Regards,
www.hwhack.com admin


20 May 2011, 09:46
Profile WWW

Joined: 06 Jun 2011, 17:41
Posts: 1
Post Re: USB Host port hack for Mitac Mio P560 PDA
Hi
How can I connect two sockets together?
enough that will cut the cover and solder to it second pair of soldered wires to the second slot?
thx


06 Jun 2011, 18:22
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
Yes that should do the trick. You can connect only red and black wires for the power supply connector if you want.

_________________
Regards,
www.hwhack.com admin


06 Jun 2011, 19:28
Profile WWW

Joined: 07 Jan 2011, 12:51
Posts: 1
Post Re: USB Host port hack for Mitac Mio P560 PDA
Hello
Is it possible to run usb host on other samsung cpu's, for eg. s3c2413 or S3C2443 ?
Is there hardware differences by using usb host?


18 Jul 2011, 17:03
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
S3C2443 is the CPU used in P560, it is not the 'other' CPU.
It should be possible to use USB host on PDAs with S3C2440, but not without hardware changes. I don't know anything about S3C2413.

_________________
Regards,
www.hwhack.com admin


22 Jul 2011, 10:20
Profile WWW

Joined: 21 Oct 2011, 07:06
Posts: 5
Post Re: USB Host port hack for Mitac Mio P560 PDA
hi rawsock,

you did a good job!

I have a gps wayteq x920bt and I want to use the USB Host!
I did Y cable with external power.
I want to connect a USB-Serial adapter with FTDI chip!

You know if this GPS supports USB Host?
If you want to help me I will describe what I did until now!

thank's


21 Oct 2011, 07:47
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
You can post your work in a new topic. We'll see what we can do :)

_________________
Regards,
www.hwhack.com admin


28 Oct 2011, 07:48
Profile WWW

Joined: 02 Feb 2012, 10:08
Posts: 1
Post Re: USB Host port hack for Mitac Mio P560 PDA
Hi 'rawsock';
Great job, thanks a lot!

I also have a P560 and I want to use it this way (as USB host).
I thought to make a passive adapter located between the PDA and its charger
(car or network) and contains an additional normal size female (?) USB socket.
Can you help how to make exact connections?

You wrote:
... you can use AA battery-to-5V converter I've built ....
As I see in the picture, it's a piece of AA batteries. But for how long?
(for example, if I write to/from a USB stick ...).
Please send the necessary drawings to build it.

Greets
Istvan


02 Feb 2012, 18:05
Profile
Administrator
User avatar

Joined: 01 Dec 2007, 20:56
Posts: 86
Location: Poland
Post Re: USB Host port hack for Mitac Mio P560 PDA
Power source from AA battery should be enough for 1-2 hours of regular USB mass storage copy. You can buy one of those universal AA battery emergency chargers on ebay, no need to build your own. This is needed to pump up the voltage from 1.2-1.5V to 5V. If you go this path, remember that you will probably need to put a small resistor on the PDA side. It will power USB host controller but will prevent PDA from starting charge process which would draw too much current together with USB stick.
If you want just a USB pass-through cable, there's not much to add here. It is just 1:1 cable, addidtionally with black and red wires connected to - and + of the charger.

_________________
Regards,
www.hwhack.com admin


07 Feb 2012, 09:52
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group, phpBB SEO.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.