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.
Hello Lokesh!
Is that suggestion helpful?
Please don't forget to keep us posted! :smileywink:
Best regards,
Monica.
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.