Micrium

µC/FS Drivers

Overview

Benefits

PC Windows Evaluation

Performance and resource usage

Licensing

Pricing Information

FileSystem White Paper

Device driver support and configuration


Driver Description
NOR Flash Driver µC/FS supports the use of NOR flashes. An optional driver for NOR flashes is available.
The NOR flash driver can work with almost any NOR flash and is extremly efficient.
The NOR flash driver can be used with almost any NOR flash. This includes NOR flashes with 1x8-bit and 1x16-bit parallel interfaces, as well as 2x16-bit interfaces in parallel, as well as serial NOR flashes.

Requirements
To be more precise, any NOR flash which fulfills the following requirements:
   • Minimum of 2 physical sectors. At least 2 sectors need to be identical in size.
   • Physical sectors need to be at least 2048 bytes each.
   • Physical sectors do not need to be uniform
     (for example, 8 * 8 Kbytes + 3 * 64 Kbytes is permitted).
   • Flash needs to be re-writeable without erase: The same location can be written
     to multiple times without erase, as long as only 1-bits are converted to 0-bits.
   • Erase clears all bits in a physical sector to 1.
NAND Flash µC/FS supports the use of NAND flashes. The NAND driver requires very little RAM, it can work with sector sizes of 512 bytes or 2 Kbytes (small sectors even on large page NAND flashes) and is extremly efficient. The driver is designed to support one or multiple SLC (Single Level Cell) NAND flashes. The NAND flash driver can also be used to access ATMEL’s DataFlash chips. To use it in your system, you will have to provide basic I/O functions for accessing your flash device.
IDE/Compact Flash µC/FSCompactFlash & IDE device driver can be used to access most ATA HD drives or CompactFlash storage cards also known as CF using true IDE or Memory card mode.

SD/MMC

µC/FS supports the use of MultiMedia & SecureDigital (SD) cards. Two optional generic drivers for MultiMedia & SecureDigital (SD) cards are available. MultiMedia & SecureDigital (SD) cards can be accessed though two different modes:

  • SPI MODE
  • MMC/SD card mode.

For both modes drivers are available. To use one of these drivers, you need to configure the MMC driver and provide basic I/O functions for accessing your card reader hardware. This section describes how to enable one of these drivers and all hardware access functions required by µC/FS's for either the MultiMedia & SD card SPI mode or Multi- Media & SD card mode driver.

RAM Disk µC/FS comes with a simple RAM disk driver that makes it possible to use a portion of your system RAM as drive for data storage. This can be very helpful to examine your system performance and may also be used as a in-system test procedure.
Windows Drives

The purpose of this driver is to run µC/FS for test and simulation purposes on a PC running Windows.

Default device driver names

By default the following names are used for the each driver.

Driver Identifier Name
NAND flash FS_NAND_Driver "nand:"

NOR flash

FS_NOR_Driver

"nor:"

IDE / CF

FS_IDE_Driver

"ide:"

MMC/SD SPI mode

FS_MMC_SPI_Driver

"mmc:"
MMC/SD Card mode FS_MMC_CardMode_Driver "mmc:"

RAM disk

FS_RAMDISK_Driver

"ram:"

WINDrive

FS_WINDRIVE_Driver

"win:"