Replies: 1 comment 1 reply
-
I would suggest starting with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to activate msc module in RP2040USB (not using Adafruit tinyusb implementation)
I moved the tud_msc_xxxx_cb functions from RP2040USB to a place where I have access to SD class
I created void __USBInstallMassStorage() {} to include msc descriptor.
Compile with Arduino2.3.3
run
disk symbol is created in PC File explorer (windows 11) showing vendor product information given in inquiry_cb.
but indicates disk not mounted
so far so good
As soon as I have unit_ready_cb returning true, PC repeats flashing disk symbol (assume interrogating capacity) and crashing sometimes.
So something is missing in the setup.
The capacity callback is rather simple (even putting 1024 as block_count and 512 as block_size in numbers)
Running tud_task() from ino file did not change result (I guess that is not needed)
Does there exist an msc example that is not using the Adafruit tinyusb implementation?
Here is a strip down code
Beta Was this translation helpful? Give feedback.
All reactions