Versions Compared

Key

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

To use the NOR driver, five files, in addition to the generic file system files, must be included in the build:

  • fs_dev_nor.c.
  • fs_dev_nor.h.
  • fs_dev_nor_bsp.c (located in the user application or BSP).
  • A physical-layer driver (e.g., as provided in \Micrium\Software\uC-FS\Dev\NOR\PHY)

The file fs_dev_nor.h must also be #included in any application or header files that directly reference the driver (for example, by registering the device driver). The following directories must be on the project include path:

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

A single NOR volume is opened as shown in Table 16-1 . The file system initialization (FS_Init()) function must have previously been called.

ROM characteristics and performance benchmarks of the NOR driver can be found in section 11-1-1 “Driver Characterization”section Driver Characterization. The NOR driver also provides interface functions to perform low-level operations (see section A-12 “FAT FAT System Driver Functions”Functions).

Listing 16-1 Opening a NOR device volume

...