FAT12/16 formatting

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

FAT12/16 formatting

Jump to solution
1,581 Views
praveenhegde
Contributor I

Hi,

I am using K20 series micro controller in my project. I have a PSRAM interface to the K20 using the flexibus. I need to store the files from USB into the PSRAM in the same format as in USB. I want to format the PSRAM for FAT12/16 file system.

Does MQX file system supports this feature?

Thanks in advance.

PraveenHegde


Labels (2)
0 Kudos
1 Solution
666 Views
anthony_huereca
NXP Employee
NXP Employee

It's included as part of MQX after you install it on your computer. The full path name would be <mqx_install_directory>\mfs\examples\ramdisk


MQX can be downloaded from here: http://www.freescale.com/webapp/sps/site/overview.jsp?code=MQXSWDW

View solution in original post

0 Kudos
5 Replies
666 Views
anthony_huereca
NXP Employee
NXP Employee

I believe that would be possible since there are examples of doing that with MRAM on the TWR-MEM tower board over the flexbus. Take a look at \mfs\examples\ramdisk

There are format IOCTL commands in MFS, and you can see the code used by the ramdisk example to format that memory in \shell\source\mfs\sh_format.c

-Anthony

666 Views
praveenhegde
Contributor I

Thanks Anthony...

Let me have a look at the above example.

-Praveen

0 Kudos
666 Views
praveenhegde
Contributor I

Anthony, I didnt find the \mfs\examples\ramdisk  in freescale website. Do you have the link for this?

0 Kudos
667 Views
anthony_huereca
NXP Employee
NXP Employee

It's included as part of MQX after you install it on your computer. The full path name would be <mqx_install_directory>\mfs\examples\ramdisk


MQX can be downloaded from here: http://www.freescale.com/webapp/sps/site/overview.jsp?code=MQXSWDW

0 Kudos
666 Views
praveenhegde
Contributor I

Thanks Anthony, I ll give it a try !!

0 Kudos