You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
examples/device/uac2_headset with HID class from examples/device/hid_multiple_interface
What happened ?
Adding a HID or CDC class with the UAC2 example causes it to panic on Android Host. On Windows, the same thing occurs after an uncertain number of play and pauses. Setting CFG_TUSB_DEBUG=2 makes it panic on plugging in. Log and gdb indicates assertion "hw_data_offset(next_buffer_ptr) <= USB_DPRAM_MAX" failed: file "...RP2040\lib\tinyusb\src\portable\raspberrypi\rp2040\dcd_rp2040.c", line 86, function: _hw_endpoint_alloc
How to reproduce ?
HID interface is added after the UAC Interface in desc_configuration TUD_HID_DESC_LEN is added to CONFIG_TOTAL_LEN ITF_NUM_HID is added in enum after ITF_NUM_HID
HID endpoint EPNUM_HID=0x84
All HID callbacks are added from examples/device/hid_multiple_interface with proper modifications.
Plugging the USB to an Android host cases it to panic immediately.
Operating System
Others
Board
Raspberry Pi Pico
Firmware
examples/device/uac2_headset
with HID class fromexamples/device/hid_multiple_interface
What happened ?
Adding a HID or CDC class with the UAC2 example causes it to panic on Android Host. On Windows, the same thing occurs after an uncertain number of play and pauses. Setting
CFG_TUSB_DEBUG=2
makes it panic on plugging in. Log and gdb indicatesassertion "hw_data_offset(next_buffer_ptr) <= USB_DPRAM_MAX" failed: file "...RP2040\lib\tinyusb\src\portable\raspberrypi\rp2040\dcd_rp2040.c", line 86, function: _hw_endpoint_alloc
How to reproduce ?
HID interface is added after the UAC Interface in
desc_configuration
TUD_HID_DESC_LEN
is added toCONFIG_TOTAL_LEN
ITF_NUM_HID
is added inenum
afterITF_NUM_HID
HID endpoint
EPNUM_HID=0x84
All HID callbacks are added from
examples/device/hid_multiple_interface
with proper modifications.Plugging the USB to an Android host cases it to panic immediately.
Debug Log as txt file
LOG: log.txt
GDB backtrace output: gdb-output.txt
Screenshots
No response
I have checked existing issues, dicussion and documentation
The text was updated successfully, but these errors were encountered: