Operating System
PicoSDK
Commit SHA
80b2078
Board
Pico2
Firmware
My project uses TinyUSB with lots of interfaces, project is https://github.com/rgrr/yapicoprobe/
Problem appears on an RP2350 Pico2 board.
Not sure if it also will happen with an RP2040 board.
What happened ?
Updating TinyUSB from 0.20.0 to recent master showed a bug which crashes my device after some seconds after a reset. I guess this is the time of USB handshaking.
Surprisingly this happens only in release mode with gcc. gcc-debug, clang-debug and clang-release all run fine.
The problem had been introduced with #3451 (12.01.2026). The previous master containing #3448 (09.01.2026) runs also with gcc-release.
Any idea what could be the reason? Any hint how I can dig?
used compiler:
gcc 14.2.1
clang 21.1.1
How to reproduce ?
Difficult... question is more: how can I support finding this?
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
AFAICS there is no logging in this area.
Screenshots
No response
I have checked existing issues, discussion and documentation
Operating System
PicoSDK
Commit SHA
80b2078
Board
Pico2
Firmware
My project uses TinyUSB with lots of interfaces, project is https://github.com/rgrr/yapicoprobe/
Problem appears on an RP2350 Pico2 board.
Not sure if it also will happen with an RP2040 board.
What happened ?
Updating TinyUSB from 0.20.0 to recent master showed a bug which crashes my device after some seconds after a reset. I guess this is the time of USB handshaking.
Surprisingly this happens only in release mode with gcc. gcc-debug, clang-debug and clang-release all run fine.
The problem had been introduced with #3451 (12.01.2026). The previous master containing #3448 (09.01.2026) runs also with gcc-release.
Any idea what could be the reason? Any hint how I can dig?
used compiler:
gcc 14.2.1
clang 21.1.1
How to reproduce ?
Difficult... question is more: how can I support finding this?
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
AFAICS there is no logging in this area.
Screenshots
No response
I have checked existing issues, discussion and documentation