Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Portable device drivers are provided for standard media categories:

  • RAM disk driver. The RAM disk driver supports using internal or external RAM as a storage medium.
  • SD/MMC driver. The SD/MMC driver supports SD, SD high-capacity and MMC cards, including micro and mini form factors. Either cardmode and SPI mode can be used.
  • NAND driver. The NAND flash driver support parallel (typically ONFI-compliant) NAND flash devices.
  • NOR driver. The NOR flash driver support parallel (typically CFI-compliant) and serial (typically SPI) NOR flash devices.
  • MSC driver. The MSC (Mass Storage Class) driver supports USB host MSC devices (i.e., thumb drives or USB drives) via µC/USB-Host.

Table 11-1 The table below summarizes the drivers, driver names and driver API structure names. If you require more information about a driver, please consult the listed chapter.

Driver

Driver Name

Driver API Structure Name

Reference

RAM disk

“ram:”

FSDev_RAM

Chapter 13

SD/MMC

“sd:” / “sdcard:”

FSDev_SD_SPI / FSDev_SD_Card

Chapter 14

NAND

“nand:”

FSDev_NAND

Chapter 15

NOR

“nor:”

FSDev_NOR

Chapter 16

MSC

“msc:”

FSDev_MSC

Chapter 17

Table 11-1 Device driver API structures

 If your medium is not supported by one of these drivers, a new driver can be written based on the template driver. Appendix C, “Device Driver” describes how to do this.