FatFs directories explaination

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

FatFs directories explaination

跳至解决方案
302 次查看
mastupristi
Senior Contributor I

Hello,

In the SDK for RT1xxx I find the meddleware related to FatFs. It is hosted on github here
https://github.com/nxp-mcuxpresso/fatfs/tree/mcux_release

In there I find some directories that implement abstraction for sd, ram disk, mmc, etc.

dir.png

Can you explain the fsl_usb_disk directory? Where is the filesystem archived? In ram like the ram disk?

 

best regards

Max

 

 

 

0 项奖励
1 解答
279 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Yes, your understanding is absolutely correct.

Best regards,
Gavin

在原帖中查看解决方案

0 项奖励
3 回复数
286 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Thanks for your interest in NXP MIMXRT series!

In the RT series SDK, the fsl_usb_disk is the abstraction layer in the FatFs file system for USB storage devices. Instead of being stored in RAM, the file system is stored on an external storage device connected via USB, such as a USB flash drive or hard disk. When you use `fsl_usb_disk`, it manages the file system on the USB storage device.

Best regards,
Gavin

 

0 项奖励
283 次查看
mastupristi
Senior Contributor I

Hi @Gavin_Jia ,

let me see if I have understood correctly: in this scenario, the RT1xxx microcontroller is usb host, right? And the device is a usb storage stick, right?

 

best regards

Max

0 项奖励
280 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Yes, your understanding is absolutely correct.

Best regards,
Gavin

0 项奖励