Restart USB Mass Storage Class FATFS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Restart USB Mass Storage Class FATFS

853件の閲覧回数
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 返信

800件の閲覧回数
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 件の賞賛
返信