porting fat16 file system to external flash

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

porting fat16 file system to external flash

939 Views
lokeshbhatt
Contributor I

my project has two devices external flash & thumb drive. i have to format external flash with FAT16 and than copy files from thumb drive to Flash and vice-versa.

we have thought of using K20P6472SF1 microcontroller.

1. is it feasible w/o RTOS?

2. any application note describing formatting external memory having flexbus interface?

3. what is the chunk size we read/write from thumb drive?

thanks in advance.

Labels (2)
2 Replies

710 Views
Monica
Senior Contributor III

Hello Lokesh!

Is that suggestion helpful?

Please don't forget to keep us posted! :smileywink:

Best regards,

Monica.

0 Kudos
Reply

710 Views
DustyStew
Contributor V

I've just got FatFs (open source FAT file system) running over top of an SD card driver from Erich Styger (mcuoneclipse.com). FatFs needs about 5 or so functions that perform basic disk I/O in order to work. You have to write disk_initialize, disk_read (read a sector), disk_write (write a sector), and disk_ioctl (various control operations). You might start with Erich's SD code and take it from there.

0 Kudos
Reply