Versions Compared

Key

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

The files inside the RAM disk driver directory are outlined in this section; the generic file-system files, outlined in Chapter 5, “µC/FS Directories and Files”, are also required.

\Micrium\Software\uC-FS\Dev

This directory contains device-specific files.

\Micrium\Software\uC-FS\Dev\NOR

This directory contains the NOR driver files.

fs_dev_nor.* 

These files are device driver for NOR flash devices. This file requires a set of BSP functions be defined in a file named fs_dev_nor_bsp.c to work with a certain hardware setup.

.\BSP\Template\fs_dev_nor_bsp.c 

This is a template BSP for traditional parallel NOR devices. See section C-10 “NOR Flash BSP” for more information.

.\BSP\Template (SPI)\fs_dev_nor_bsp.c 

This is a template BSP for serial (SPI) NOR devices. See section C-11 “NOR Flash SPI BSP” for more information.

.\BSP\Template (SPI GPIO)\fs_dev_nor_bsp.c 

This is a template BSP for serial (SPI) NOR devices using GPIO (bit-banging). See section C-11 “NOR Flash SPI BSP” for more information.

.\PHY

This directory contains physical-level drivers for specific NOR types:

fs_dev_nor_amd_1x08.*

CFI-compatible parallel NOR implementing AMD command set (1 chip, 8-bit data bus)

fs_dev_nor_amd_1x16.*

CFI-compatible parallel NOR implementing AMD command set (1 chip, 16-bit data bus)

fs_dev_nor_intel.*

CFI-compatible parallel NOR implementing Intel command set (1 chip, 16-bit data bus)

fs_dev_nor_sst39.*

SST SST39 Multi-Purpose Flash

fs_dev_nor_stm25.*

ST STM25 serial flash

fs_dev_nor_sst25.*

SST SST25 serial flash

\Micrium\Software\uC-FS\Examples\BSP\Dev\NOR

Each subdirectory contains an example BSP for a particular platform. These are named according to the following rubric:

<Chip Manufacturer>\<Board or CPU>\fs_dev_nor_bsp.c