Skip to content
Snippets Groups Projects
  • Micah Elizabeth Scott's avatar
    d8ace2b3
    Fix SIE stall caused by unhelpful Teensy usb_dev code · d8ace2b3
    Micah Elizabeth Scott authored
    The original Teensy USB driver contained some code to helpfully clear any pending IN transactions when a new SETUP comes in. But this violates hardware's assumptions by messing with BDT entries from buffers that are still owned by hardware. Argh! This was causing the SIE to lock up while processing a SETUP immediately after a long control OUT transaction.
    d8ace2b3
    History
    Fix SIE stall caused by unhelpful Teensy usb_dev code
    Micah Elizabeth Scott authored
    The original Teensy USB driver contained some code to helpfully clear any pending IN transactions when a new SETUP comes in. But this violates hardware's assumptions by messing with BDT entries from buffers that are still owned by hardware. Argh! This was causing the SIE to lock up while processing a SETUP immediately after a long control OUT transaction.