X XFediYour place in the Fediverse
XFEDI

Conversation

ActivityPub

Continuing with the NAND Flash connected to the Raspberry Pico.

There is a good example code from Adafruit for thr RP2040 to transform it into a USB mass storage device, using the Adafruit Tiny USB stack. The example code is running from SRAM (8kByte to be exact). The code can be found here: https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/08c7dabed48b5ab92839289f58191b3f04f48fb0/examples/MassStorage/msc_ramdisk/msc_ramdisk.ino
The idea is to simply rewrite the code to use my NAND Flash.

GitHubAdafruit_TinyUSB_Arduino/examples/MassStorage/msc_ramdisk/msc_ramdisk.ino at 08c7dabed48b5ab92839289f58191b3f04f48fb0 · adafruit/Adafruit_TinyUSB_ArduinoArduino library for TinyUSB. Contribute to adafruit/Adafruit_TinyUSB_Arduino development by creating an account on GitHub.
↩ Reply ♡ 0 · ↻ 0 ↗ Original

Oct 25, 2026 · 11:17 UTC

Replies