Greetings,
I am using the portenta H7 breakout board and I would like to add a task to my project that detects a usb thumb drive and lists all the files on it then maybe write and modify them.
I can't seem to find any examples on this topic. Can anyone please help me with this ?
Does it have to be USB drive?
yes we want to use a usb flash drive to read and write files on it. We already did the same thing with an SD card and it works perfectly. I would like to achieve the same thing with the usb flash drive and I don't know if it's possible or not
Sure it is possible but not out of the box as with sd card
What are the steps towards achieving that please ?
Dunno, try google, some suggest you need additional hardware
Yeah I have all the additional hardware needed. Because we had a working project before and now we're starting from scratch but hardware wise we're good.
I got a USB Drive up and running on my Portenta C33, will that help you?
Hi everyone!
Please have a look at the example sketches provided by the following libraries:
- https://github.com/arduino-libraries/Arduino_USBHostMbed5
- GitHub - arduino-libraries/Arduino_UnifiedStorage: Read and write files to flash, USB mass storage and SD cards in a unified way.
- GitHub - arduino-libraries/Arduino_POSIXStorage
Best,