Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regressions when upgrading Pico PIO USB to 0.5.3 #12

Open
delan opened this issue Mar 4, 2024 · 1 comment
Open

regressions when upgrading Pico PIO USB to 0.5.3 #12

delan opened this issue Mar 4, 2024 · 1 comment

Comments

@delan
Copy link
Owner

delan commented Mar 4, 2024

  • usb3sun d59f48b
  • 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
Copy link
Owner Author

delan commented Mar 4, 2024

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
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant