Micropendous in host mode, supplying VBUS

25 views
Skip to first unread message

Inopia

unread,
Sep 20, 2011, 3:56:54 AM9/20/11
to Micropendous
I have a Micropendous board that I would like to use as a USB host. As
a first test I compiled and uploaded the MassStorageHost LUFA demo
from the latest (as time of writing) software distribution. I have an
FTDI chip hooked up to the hardware serial so I can catch debug
messages coming from the board. I supply external power (9v/500mA)
through the DC power jack, and I have a USB memory stick plugged into
the board.

Unfortunately this setup does not seem to work for me. It appears the
USB device is not getting power. No leds light up on any USB device I
plug in. When I plug in my Android phone it doesn't come up with a USB
connection icon either. The only output I see on the uart is "Mass
Storage Host Demo running.".

The board is brand new out-of-the-box, the vbus=vcc trace on the
underside of the board has not been cut.

What am I doing wrong here?

Opendous Inc.

unread,
Sep 21, 2011, 12:58:15 AM9/21/11
to Micropendous
If you have the latest revision (blue PCB and/or ISSI
IS61C1024AL-12JLI external SRAM) then try the latest LUFA firmware
release. The current Micropendous distribution is still based around
the older revision (CY7C1019D-10ZSXI external SRAM). I have updated
the Wiki page to note this.

LUFA's MassStorageHost works out-of-the-box with the latest PCB
revision but is currently only capable of communicating with 2GB or
smaller external FLASH drives. You only need to change F_CPU =
16000000 in the makefile.
http://code.google.com/p/lufa-lib/source/browse/trunk/Demos/Host/ClassDriver/MassStorageHost/
http://code.google.com/p/lufa-lib/downloads/detail?name=LUFA-110528.zip

>the vbus=vcc trace on the underside
>of the board has not been cut.

Do you have a Micropendous board (Arduino-like) or Micropendous-A
(DIP)? If you have a Micropendous-A board with VBUS=VCC then you need
to provide 5V (4.5V to 5.5V) DC power via the VBUS or VCC pin. For
the Micropendous (Arduino-like) board LUFA firmware should work.

>Android

LUFA's AndroidAccessoryHost demo is still not complete and has some
issues.
http://code.google.com/p/lufa-lib/source/browse/trunk/Demos/Host/Incomplete/AndroidAccessoryHost/
http://groups.google.com/group/lufa-support/msg/2e6d76c92d9e828a
http://code.google.com/p/lufa-lib/source/detail?r=1902

Let me know if I should post further instructions regarding Android.

Inopia

unread,
Sep 21, 2011, 4:05:25 AM9/21/11
to Micropendous
Thanks for your quick reply. I will try your suggestions tonight and
let you know what happened.

As for Android, I'm planning on porting MicroBridge:

http://code.google.com/p/microbridge/

this uses ADB rather than the new Accessory protocol, which will work
with devices pre 2.3.4. It's a bit more powerful and less retarded
protocol than ADK :)

On Sep 21, 6:58 am, "Opendous Inc." <opend...@gmail.com> wrote:
>   If you have the latest revision (blue PCB and/or ISSI
> IS61C1024AL-12JLI external SRAM) then try the latest LUFA firmware
> release.  The current Micropendous distribution is still based around
> the older revision (CY7C1019D-10ZSXI external SRAM).  I have updated
> the Wiki page to note this.
>
>   LUFA's MassStorageHost works out-of-the-box with the latest PCB
> revision but is currently only capable of communicating with 2GB or
> smaller external FLASH drives.  You only need to change F_CPU =
> 16000000 in the makefile.http://code.google.com/p/lufa-lib/source/browse/trunk/Demos/Host/Clas...http://code.google.com/p/lufa-lib/downloads/detail?name=LUFA-110528.zip
>
> >the vbus=vcc trace on the underside
> >of the board has not been cut.
>
>   Do you have a Micropendous board (Arduino-like) or Micropendous-A
> (DIP)?  If you have a Micropendous-A board with VBUS=VCC then you need
> to provide 5V (4.5V to 5.5V) DC power via the VBUS or VCC pin.  For
> the Micropendous (Arduino-like) board LUFA firmware should work.
>
> >Android
>
>   LUFA's AndroidAccessoryHost demo is still not complete and has some
> issues.http://code.google.com/p/lufa-lib/source/browse/trunk/Demos/Host/Inco...http://groups.google.com/group/lufa-support/msg/2e6d76c92d9e828ahttp://code.google.com/p/lufa-lib/source/detail?r=1902
Reply all
Reply to author
Forward
0 new messages