FatFs directories explaination

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FatFs directories explaination

Jump to solution
352 Views
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 Kudos
Reply
1 Solution
329 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Yes, your understanding is absolutely correct.

Best regards,
Gavin

View solution in original post

0 Kudos
Reply
3 Replies
336 Views
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 Kudos
Reply
333 Views
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 Kudos
Reply
330 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Yes, your understanding is absolutely correct.

Best regards,
Gavin

0 Kudos
Reply