Skip to content

Returning partial MSC READ10 data reliably triggers an RP2040 port panic #3188

@pekkanikander

Description

@pekkanikander

Operating System

Others

Commit SHA

e1509ba

Board

Pico 2 W

Firmware

See https://github.com/pekkanikander/pico-tinyusb-msc-panic
for a minimal reliable reproduction, with a proper README explaining the root cause.

This seems to be related to #2322 and #1232.

However, this is a reliable way to reproduce the bug always and explains the root cause.

What happened ?

TinyUSB panics, reliably, always.

How to reproduce ?

See https://github.com/pekkanikander/pico-tinyusb-msc-panic/blob/main/README.md#building-and-flashing

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

WARN: starting new transfer on already active ep 83
*** PANIC ***
ep 83 was already available

Screenshots

No response

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions