I am using a IMXRT1020-EVK and experimenting with SDK examples on MSC (eg. evkmimxrt1020_dev_mcs_disk_freertos)
The examples allow for read/write operations to the SDCard just fine. I would like to write code that would detect when these read/write operations take place, file size as well as how to open/read/write/close the files from my embedded code. Is there reference document specific to the USB file operations?
Within the 'disk.c' file there comment blocks that reference the usb spec. Can someone provide the link to this document?
Thanks
Terry
Hi @threeboystech ,
There is a "MCUXpresso SDK USB Stack Device Reference Manual.pdf" and USB stack user guide in SDK package SDK_2_13_0_MIMXRT1020-EVK\docs\USB. Besides that, there isn't other doc.
The USB MSC host example use FATFS as file system. The Host MSD example supports the UFI and SCSI U-disk device. You can search for these documents on web.
Regards,
Jing