Professional Documents
Culture Documents
com/print/51964
Embedded arm avr fat file system microcontroller mmc sdc Open source software sdc
This OSS project runs on PC (GNU/Linux, development environment), TMS C6000 DSP from
TI, and ATmega from Atmel (see the Datasheet). In general, more memory will increase the
performance. The EFSL requires as little as 1.5KB RAM, so low-end microcontroller can
benefit from this feature. Martin Thomas, the maintainer of WinARM, has ported EFSL to
Atmel and NXP ARM7TDMI chip. It is good for me, since I finally decided to use the cheapest
LPC2103 for my low cost surveillance device.
The project contains a user manual for system integration. The source code is also
self-explained. It is easy to be ported to other architectures.
FF/TFF is maintained by Mr. ChanN, a Japanese electronics Engineer. The project has been
ported and tested on AVR (ATmega64, 8bit RISC), H8/300H (Renesas HD64F3694, 16bit
CISC), PIC (PIC24FJ64GA002, 16bit RISC), TLCS (Toshiba TMP86FM29, 8bit CISC),
V850ES (NEC uPD70F3716, 32bit RISC) on MMC/SD, CF and ATA HDD.
The sample projects include functional test of FatFs/TinyFatFs module with low level disk I/O
codes. You are able to find various implementations on the web other than these sample
projects, such as: SH2, LPC2000, STR7, MSP430, PIC and Z8.
For most applications, such as portable audio and data logger, TinyFatFs is the best choice.
However TinyFatFs does not support FAT32 by default, and has a limitation of handling small
storage up to 2GB. The FAT32 support can be added by _USE_FAT32 option with an
additional code size. The FatFs is suitable for fast multiple files access and for multiple drive
system.
Besides, I highly recommend reading the application note of FF/TFF, in case you have issues
on abstraction of file object, efficient sector buffer management, long file name of Microsoft,
and porting issues for RTOS.
Commercial Package
uC/FS
Dependency
The file system has module dependency of hardware I/O access and RTC. For MMC/SD and
most of the microcontrollers, SPI mode will be selected as hardware layer protocol, and PIO
mode will be selected for CF/ATA HDD. The LPC2368/78 and STM32F103XXXX have
integrated the faster standard SDIO port, which offers four times performance of SPI mode.
RTC is important for file writing routines, of course the RTC can be simulated by a general
purpose timer in the microcontroller. However LPC2000 and some Cortex-M3
microcontrollers come out of the shelf with a RTC on board.
Read More
Trademarks