usb3sun icon indicating copy to clipboard operation
usb3sun copied to clipboard

regressions when upgrading Pico PIO USB to 0.5.3

Open delan opened this issue 1 year ago • 1 comments

  • usb3sun d59f48b6d3e4939538a4ba5fd8dfc1c40b121cac
  • Microsoft Wired Keyboard 600 (045E:0750)

Pico PIO USB

  • 0.5.2 = works
  • 9357706baa587f8b23010e5751cfb77354d4a08e = works
  • 58879cfa0eca5725d8db6443ec17f8896a321042 = Control FAILED
  • 0.5.3 = Control FAILED
  • successful workaround in picopiousb1.patch.txt

cause seems to be sekigon-gonnoc/Pico-PIO-USB#88

  • sof_count mask increases from 0x1f (5-bit) to 0x7ff (11-bit)
  • 0x3ff (10-bit) = Control FAILED
  • 0x1ff (9-bit) = works

delan avatar Mar 04 '24 09:03 delan

when upgrading Adafruit TinyUSB Library to 3.1.0 (#13), the failure mode is different, but the same workaround works

[1:1] Class Request: 21 0A 00 00 01 00 00 00
on EP 81 with 0 bytes: FAILED
HID xfer callback
  Get Report callback (1, 0)
[1] Claimed EP 0x81
  Queue EP 81 with 8 bytes ...
OK
on EP 00 with 8 bytes: FAILED
[1:1] Control FAILED, xferred_bytes = 8
21 0A 00 00 01 00 00 00

HID Get Report Descriptor
[1:1] Get Descriptor: 81 06 00 22 01 00 6A 00
on EP 81 with 0 bytes: FAILED
HID xfer callback
  Get Report callback (1, 0)
[1] Claimed EP 0x81
  Queue EP 81 with 8 bytes ...
OK
on EP 00 with 8 bytes: FAILED
[1:1] Control FAILED, xferred_bytes = 8
81 06 00 22 01 00 6A 00

process_set_config 582: ASSERT FAILED
on EP 81 with 0 bytes: FAILED
HID xfer callback
  Get Report callback (1, 0)
[1] Claimed EP 0x81
  Queue EP 81 with 8 bytes ...
OK
on EP 81 with 0 bytes: FAILED
HID xfer callback
  Get Report callback (1, 0)
[1] Claimed EP 0x81
  Queue EP 81 with 8 bytes ...
OK
on EP 81 with 0 bytes: FAILED
HID xfer callback
  Get Report callback (1, 0)
[1] Claimed EP 0x81
  Queue EP 81 with 8 bytes ...
OK
on EP 81 with 0 bytes: FAILED
[...]

delan avatar Mar 04 '24 10:03 delan