Skip to content

CDC_ReceiveQueue fails after CPU halt #804

Closed
@gigaj0ule

Description

@gigaj0ule

I have not pinned down the source of this bug yet, but it is reproducible on both windows and linux.

  1. Initialize an STM32F1 (maybe others too) and enumerate as CDC device.
  2. Halt core with GDB
  3. Send stuff to device such that multiple USB packets are enqeued.
  4. Resume core

CDC_ReceiveQueue_ReadSize and other CDC_ReceiveQueue functions will now be out-of-sync with received packets until the device undergoes a host-initiated USB reset or unplug event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions