Open dpgeorge opened 2 years ago
interesting - i guess the TinyUSB bug was different (there was no shared lineage there)
Note this does not make the USB IF MSC tests complain!
i guess the TinyUSB bug was different (there was no shared lineage there)
I think the USB spec is a bit hard to understand on what value to put in the additional length field. See discussion on the linked TinyUSB issue above.
With the RP2040 in bootloader mode, one gets:
Note that the
length=37
but it should be 36.The issue is this line: https://github.com/raspberrypi/pico-bootrom/blob/master/usb_device_tiny/scsi_ir.h#L32 The
- 4
should be a- 5
.Originally discussed here: https://github.com/hathach/tinyusb/pull/1349