Atmel SAM UHD_Pipe_Read can't handle packet size >255 bytes #1519

Open
hugoduncan opened this Issue Jul 26, 2013 · 0 comments

Comments

Projects
None yet
4 participants

When reading USB packets with USBHost::intransfer, packet sizes of 512 bytes would read 0 bytes.

In UHD_Pipe_Read, nb_byte_received is declared uint8_t, whereas it needs to be at least uint16_t.

Recompiling the system library using this, everything works as expected.

Not sure where to report this, but hopefully I'll be set straight if this is not the right place.

ffissore added the New label Feb 27, 2014

cmaglie removed the New label Feb 27, 2014

cmaglie was assigned by ffissore Jul 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment