Pages: [1]   Go Down
Author Topic: USB Host Shield Software  (Read 1852 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just got the Arduino Uno and the USB host shield up and running, but am getting an error when running Oleg Mazurov's board test when performing the USB test.  I get an error code of 0xd (hrJERR - J-state instead of response) back from the MAX 3241 HRSL register.  I get this code no matter what USB device I've plugged into the host shield. 

Does anyone have ideas on what the cause of this is?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 553
Posts: 46267
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
but am getting an error when running Oleg Mazurov's board test when performing the USB test.
Who's test? Got a link to something you want us to look at?

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oleg put his code at https://github.com/felis/USB_Host_Shield.  I am running the 'board test' found in the examples directory of the link above.  When I get to the place in the code in the function 'usbtest' that does :

        case( USB_ATTACHED_SUBSTATE_GET_DEVICE_DESCRIPTOR_SIZE ):
          printProgStr(PSTR("\r\nSOF generation started. Enumerating device."));
          break;       
       case( USB_STATE_ADDRESSING ):
          printProgStr(PSTR("\r\nSetting device address"));
          //delay( 100 );
          break;

the function 'Usb.Task' returns the error code from the MAX3421 chip.
Logged

Pages: [1]   Go Up
Jump to: