felis / USB_Host_Shield_2.0

Revision 2.0 of USB Host Library for Arduino.
https://chome.nerpa.tech
1.8k stars 779 forks source link

rcode = 13 #729

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello, i have problems with USB host shield, everything that i uploaded yet from examples on arduino mega 2560 with usb host shield with max3421e. When trying to serial print the rcode it returned 13. I tried to connect the usb host shield to devices that have ch340 or cp2102 on the usb. Can someone help me with this?

Heklyn commented 5 months ago

I join the problem. What does rcode = 0x0d mean when sending using Ftdi.SndData(....)

EDIT: all indications are that rcode = 0x0d returns USB::OutTransfer(...) in Usb.cpp, but i cant understand what is it mean

xxxajk commented 5 months ago

https://github.com/felis/USB_Host_Shield_2.0/blob/master/max3421e.h#L227