Restart USB Mass Storage Class FATFS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Restart USB Mass Storage Class FATFS

1,138 次查看
threeboystech
Contributor II

I am using an i.MXRT1021 controller with the following SDK package:

SDK_2_10_0_EVK-MIMXRT1020

 

My application is implementing a MSC USB drive.  There are no issues when the attached test computer (Windows 11 PC) in detecting and performing file operations to the MSC drive.

I have found an issue though that when my firmware removes a file or directory from the drive that the attached computer interface does not detect this change in the FATFS configuration.

Now when the i.MX embedded f/w is restarted, the MSC drive indicates that the file has been removed but I would rather use a more graceful method to have the test system detect that the FATFS has been modified.

How do I trigger the USB interface to detect the changes by the FATFS?

Thanks

 

标记 (1)
0 项奖励
回复
1 回复

1,085 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @threeboystech

I would highly recommend you to update to the latest version of the SDK, as I believe this implementation had failures in SDK versions previous to 2.13, as seen on the following community post: https://community.nxp.com/t5/i-MX-RT/USB-msc-host-fatfs-freertos-failures-tested-with-EVK/td-p/15940...

Also, you can refer to the following application note which, although very old and for the Kinetis family rather than the i.MX RT family, might prove insightful for your application.

BR,
Edwin.

0 项奖励
回复