Hi everyone,
I bought this ADK board for a project where I want to control a DSLR-camera via usb,so I got this one
with the necessary hardware already present.But when I try one of the included examples in version 2.0
of the USB host shield,it compiles ok and transfers fine,but I always get the same "Failed to assert..." error.
Searching around on this forum resulted in a few solutions referring to an older version.If I try this older library
then I get all sort of compilation errors,the very first one being that a file called "Arduino.h" cannot be found.
I guess the other errors following this one all have to do with this file not being found.
So where can I find this file,or what do I need to change in the version 2 lib to get rid of this "Failed to assert..."-error?
I guess that the wiring on this board must be different compared to the seperate USB-hostshield from sparkfun and others.
Or could this board be defective when it comes to the USB-host part? (The blink a led example works ok...)
Thanks very much for reading this far,and for any help about this...
The files found at: http://labs.arduino.cc/uploads/ADK/GettingStarted/arduino_bundle_ADK.zip
seem to work after applying the fix from this post:
http://arduino.cc/forum/index.php/topic,68205.0.html
The file "board_test.pde" compiles OK,uploads OK,and at least does not show the "failed to assert..."-error anymore.
Plugging in a USB-stick results in no change at all in the message:
"Circuits At Home 2010
USB Host Shield QC test routine
Press any key to continue..."
The file "adktest.pde" compiles OK,uploads OK,and also does not show the "failed to assert..."-error anymore.
Plugging in a USB-stick results in the message:
"Device addressed... Requesting device descriptor.
found possible device. swithcing to serial mode
Data packet error: 5could not read device protocol version"
The file "LCDkbd.pde" gives the best results sofar;I connect a wireless keyboard to the USB hostport,typed a few
letters on it,and saw them echoed correctly on the IDE's terminal screen.
So I guess the USB on this Mega ADK seems to work...
None of the PTP cameracontrol routines compile OK,is this device really just for android applications
and not for ordinary USB-host applications like controlling a camera,using a USB-stick,etc...
I wish the documentation on this was more clear on this,because I think I wasted 70 euros on a device I cannot use.
This is from the page at:
..."The USB host interface given by MAX3421E IC allows the ADK Arduino to connect and interact to any type of
device that have a USB port. For example, allows you to interact with many types of phones, controlling Canon cameras,
interfacing with keyboard, mouse and games controllers as Wiimote and PS3."...
The included leaflet with this board says that they are tested with a selftest-program to check its
overall functionality.Since this is an "open-source" project,is there a link to this self-test program so I can be sure
that my Mega ADK is functioning as it should?
Is any of the developers reading this?
Why don't you make that program available from your site?
Hi,
I have somewhat the same problem. I have a sparkfun Host Shield that works with Oleg's library (no modification needed, maybe the Pin Swap problem of GPX and RESET is a thing of the past and Sparkfun fixed that on the hardware side)
Now I would like to use the same library to work with the Arduino ADK, but cannot get it to wok (also with the library bundle from Arduino Labs mentioned below).
Can someone provide the correct Pins for the Arduino ADK? I think it is related to setting:
SCK_PIN
MISO_PIN
MOSI_PIN
SS_PIN
as well as
MAX_SS
MAX_INT
MAX_GPX
MAX_RESET
to the correct values. I tried looking at the schematic (Sparkfuns is wrong, at least for my hardware, D7/D8 are swapped). But for the ADK im am lost with the Pin Names.
Andreas
Background: Once USB works I would like to interface to a 3G Stick and possibly modify the Serial IP to support PPP so we can use the cheap USB Sticks to connect to the internet for basic stuff, knowing that TCP would probably be limited. I know there are GSM shields out there (I have one also) but it would open a whole new class of devices here.