Adafruit TinyUSB msc_external_flash on pi pico example

Hello, I recently Learned about the Adafruit TinyUSB msc storage. I read the read me on github https://github.com/adafruit/Adafruit_TinyUSB_Arduino And then went into the example called msc_external_flash and Ran the example. I got a few errors took me a while to figure them out I was missing a few other libraries to make it work. When that was corrected all errors went away it finally uploaded. I saw a drive in disk management but I couldn't format it. The drive keep on connecting and disconnecting. So I open serial monitor and saw a message that said

Failed to init files system, flash may not be formatted
Please format it as FAT12 with your PC or using Adafruit_SPIFlash's SdFat_format example:

I opened the SdFat_format example uploaded it. When I did that the drive wentaway I lost it. Not sure what I'm doing wrong can someone please help me figure out what is it I'm doing wrong?

Joseph

I figure it out accidently. I looked at the tools in the IDE. Under the boards I saw Flash size. I just selected one then uploaded it and the drive came up. Then I formatted it and now it says 998KB.

Joseph

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.