Can MP support huge flash storages?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
iBobik
Posts: 7
Joined: Tue Dec 13, 2016 1:11 pm

Can MP support huge flash storages?

Post by iBobik » Sun May 09, 2021 6:13 pm

Hello,
In my project I want to work with USB drives and SD cards with capacities in gigabytes or terabytes with exFAT.

Does MicroPython supports this?
On which chips/boards?
Could it connect two drives and copy files between then?
In what teoretical speeds?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Can MP support huge flash storages?

Post by pythoncoder » Mon May 10, 2021 6:18 am

As far as I know no microcontroller running MicroPython supports USB drives. However MicroPython will run on hardware with an underlying OS such as Raspberry Pi boards: you can simply run the Unix build of MP and access any disk visible to the OS.

As for SD cards on microcontrollers I'm not aware of an upper capacity limit.
Peter Hinch
Index to my micropython libraries.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: Can MP support huge flash storages?

Post by rcolistete » Mon May 10, 2021 5:13 pm

Some Teensy boards (Teensy 3.6 and 4.1), using Arduino programming, support USB storage.
https://www.pjrc.com/
https://www.pjrc.com/store/teensy41.html
https://www.pjrc.com/store/cable_usb_host_t36.html

But CircuitPython :
https://circuitpython.org/board/teensy41/
https://forum.pjrc.com/threads/59040-Ci ... n-Teensy-4!
& MicroPython :
viewtopic.php?t=6783
for Teensy don't yet support USB storage, but it can be implemented.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

Post Reply