Member Since: April 18, 2011

Country: United States

  • I found the solution, just redefine the MAX_SS constant to 53 after that all tests passed !
    Here is a part of MAX3421e_constants.c:
    #if defined(AVR_ATmega1280) || (AVR_ATmega2560)
    #define SCK_PIN 52
    #define MISO_PIN 50
    #define MOSI_PIN 51
    #define SS_PIN 53
    #if defined(AVR_ATmega168) || defined(AVR_ATmega328P)
    #define SCK_PIN 13
    #define MISO_PIN 12
    #define MOSI_PIN 11
    #define SS_PIN 10
    #define MAX_SS 53
    #define MAX_INT 9
    #define MAX_GPX 8
    #define MAX_RESET 7

  • Hi,
    I just got this Shield.
    Like some of you, when I tried to execute the board test sample I got the following error :
    Error: OSCOKIRQ failed to assert
    Circuits At Home 2010
    USB Host Shield QC test routine
    Press any key to continue…
    Reading REVISION register…Die revision invalid. Value returned: 00
    Test FAILED!
    Test Halted.
    0×55 pattern is being transmitted via SPI to aid in troubleshooting
    Press RESET to restart test
    I’am using USB Host library downloaded with the name felis-USBHostShield-a59ba5b.zip.
    I tried to change MAX_GPX and MAX_RESET to #define MAX_GPX 7 #define MAX_RESET 8 but problem still persists.
    I use an ATMEGA 2560 linked to my PC and an external +9V power supply.
    (SPI pins are correctly connected according to atmega2560 specification)
    Thanks for your help !

No public wish lists :(