Closed byteit101 closed 2 months ago
target_link_options(${PROJECT_NAME} PRIVATE "LINKER:--no-warn-rwx-segments")
in the CMake file)Linux 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
sudo mkfs.vfat -F12 -n "TinyUSB Tst" -S 4096 /dev/sdYOURDRIVE
We'll be moving to a new TinyUSB release soon so once this is released can you check if this issue is still present?
we have updated TinyUSB with SDK 2.0.0 so please retry
Since enabling a simple MSC drive, I have gotten frequency crashes. Using tinyusb 0.12, I got this log sequence, culminating in an assertion failure:
In contrast, successful Set Address looks like
The reordering, combined with the fact that it's highly irregular, sometimes failing for 5 reboots in a row, then succeeding for 50%, then succeeding for 10 reboots in a row, makes me think this is some kind of race condition in the MSC TUD driver.
The stack trace was usbd_control.c:171, called from usbd.c:562
I updated TinyUSB to 0.15.0, and now get: