Page 1 of 1

Can MP support huge flash storages?

Posted: Sun May 09, 2021 6:13 pm
by iBobik
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?

Re: Can MP support huge flash storages?

Posted: Mon May 10, 2021 6:18 am
by pythoncoder
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.

Re: Can MP support huge flash storages?

Posted: Mon May 10, 2021 5:13 pm
by rcolistete
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.