10BC0 USB fails to enumerate when CIRCUITPY_USB_HID = 0 · Issue #2840 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

USB fails to enumerate when CIRCUITPY_USB_HID = 0 #2840

@xobs

Description

@xobs

Beginning with b3b6a64, USB no longer enumerates when using Simmel, based on the nRF52833. Reverting that commit fixes USB.

After doing a mass_erase of the internal flash and loading the SD and bootloader, I load firmware.uf2 via USB. The device resets itself, attempts enumeration, and a short time later triggers an assert:

(gdb) c
Continuing.
nrf52.cpu: external reset detected
nrf52.cpu: external reset detected

Program received signal SIGTRAP, Trace/breakpoint trap.
process_set_config (cfg_num=1 '\001', rhport=0 '\000') at ../../lib/tinyusb/src/device/usbd.c:744
744         TU_ASSERT( drv_id < USBD_CLASS_DRIVER_COUNT && drv_len >= sizeof(tusb_desc_interface_t) );
(gdb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0