How would I use a flash drive with my SAMA5D2 Xplained Ultra Evaluation board, specifically with J13.
The user guide describes J13: "USB Host B. Supports USB host using a type A connector". J13 is connected to the UHPHS (B) high speed host on the SAMA5D2.
I don't see an example in the softpack for this. To be clear, I want to be able to manipulate a file system on the flash drive inserted into J13; e.g. list directories and files, and create/modify directories and files. I've used FatFS with SD cards but that involves the SDMMC0/1 peripherals which don't apply in this case. Note there is no host PC involved, just my Xplained board manipulating the thumb drive through J13.
Any guidance is appreciated.
Thanks.
EDIT: Bare metal, no OS.