Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to enable 2 USB Hosts on S3C2440 board under WinCE5.0 ?

4 views
Skip to first unread message

arhu

unread,
Feb 19, 2009, 5:23:01 AM2/19/09
to
Hello,
I'm using S3C2440 board with WinCE5.0 kernel, as you know S3C2440 has two
USB ports, which could be setted to 1 USB host and 1 device, or setted to 2
USB hosts. Now i'v set the 2 ports works as 2 USB hosts on hardware, but i
don't know how to modify kernel source to support the second USB host. In
default, 1 host + 1 device is supported in BSP from samsung.
Is there somebody know how to do this? thanks for your kindly hint.

Arhu

NZ Dev

unread,
Oct 28, 2011, 3:29:24 AM10/28/11
to
yes I know how.. I have done this before.. first you have to ensure you have the resistor on the pinout of the s3c2440 for usb1 and usb2, there is something about resistor for d+ or d- line of each. look it up.

then for software you can access the registers to turn the samsung regsiters on and off using
Friend Declare Sub MmMapIoSpace Lib "ceddk.dll" Alias "MmMapIoSpace" (ByVal PhysAddress As ULong, ByVal nbytes As UInt32, ByVal cacheEnable As Boolean)

'USB host [6] Control HCLK into USB host block.
'0 = Disable, 1 = Enable
'#define CLKCON_HCLK 0x06

if this is above your head, then you need to learn more about ceddk and more about registers.
>> On Thursday, March 12, 2009 2:44 PM Luis Gutierrez wrote:

>> Hi, I am having the same problem did you ever find a solution ?



0 new messages