Pages: [1]   Go Down
Author Topic: Arduino Mega 2560 + Sparkfun USB HostShield + Oleg's Code  (Read 600 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,

I have a couple of things I had ask to about the integration of my USB Barcode Scanner to the Arduino.

This is what I have done so far:
1. Placed my Sparkfun USB Hostshield onto my Mega
2. Jumpered RST to D7
3. Changed the following in Usb.h

// typedef MAX3421e<P10, P9>            MAX3421E;               // Official Arduinos (UNO, Duemilanove, Mega, 2560  <<--- Modified line
typedef MAX3421e<P53, P9>              MAX3421E;               // Official Arduinos (UNO, Duemilanove, Mega, 2560


However, I still end up with the following result when I run it:

Circuits At Home 2011
USB Host Shield Quality Control Routine
Reading REVISION register... Die revision invalid. Value returned: 00
Unrecoverable error - test halted!!
0x55 pattern is transmitted via SPI
Press RESET to restart test

I really do not what else needs to be done.

Any help will be appreciated smiley
Logged

Bangalore, India
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which version of Sparkfun's USB Host Shield are you using and which version of Oleg's library you are using?

Check out my post, which explains the different configurations - http://hardwarefun.com/tutorials/using-usb-host-shield-with-arduino

Also did you try it Arduino Uno instead of Mega?
Logged

Checkout some of my Arduino projects and tutorials

Pages: [1]   Go Up
Jump to: