Skip to main content
Javier1
Principal
March 26, 2021
Solved

External Flash + mass storage usb device (Firmware)

  • March 26, 2021
  • 1 reply
  • 1769 views

Hello again dark electronics wizards.

I've been looking for some documentation about how to use an external flash memory with my stm32 designs.

Is there any magic way to do this? Or could anyome point me to the right way?

My goal is to add a qspi controlled flash chip instead of a sd card for my mass storage usb thing.

Many thanks in advance

Cheers

This topic has been closed for replies.
Best answer by Tesla DeLorean

I've found eMMC to be relatively straight forward, uses mostly the same SDIO/SDMMC stack, but adds 8-bit width and DDR depending on the model.

The form factor is also consistent across manufacturers. There are socket versions used by some of the RPi clones, and also Nintendo.

1 reply

Tesla DeLorean
Guru
March 27, 2021

eMMC would be the way to go for speed.

QSPI NOR Flash is rather slow to erase and write, and the NAND would require a lot more block management and doesn't support execute-in-place.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Javier1
Javier1Author
Principal
April 6, 2021

@Community member​ what about the ease of integration?, i dont want to hard code the communication protocol.

Thats why so far my best candidate is an SD card hooked on the SDIO peripheral of my stm mcu.

hit me up in https://www.linkedin.com/in/javiermuñoz/
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
April 6, 2021

I've found eMMC to be relatively straight forward, uses mostly the same SDIO/SDMMC stack, but adds 8-bit width and DDR depending on the model.

The form factor is also consistent across manufacturers. There are socket versions used by some of the RPi clones, and also Nintendo.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..