Hi Eliezer,
You could take as reference/base the “host_msd_fatfs_bm” SDK example (from SDK v2.4.2 for IMXRT1050-EVKB board), that access to USB stick folders/files:
usb_examples->host_msd_fatfs_bm
Attached you can find the readme PDF file of such example.
CAUTION: This example erases all the content of the connected USB stick (performs a format).
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------