NOR BSP Overview

A BSP is required so that a physical-layer driver for a parallel flash will work on a particular system. The functions shown in the table below must be implemented. Pleaser refer to NOR Flash BSP for the details about implementing your own BSP.

Function

Description

FSDev_NOR_BSP_Open()

Open (initialize) bus for NOR.

FSDev_NOR_BSP_Close()

Close (uninitialize) bus for NOR.

FSDev_NOR_BSP_Rd_XX()

Read from bus interface.

FSDev_NOR_BSP_RdWord_XX()

Read word from bus interface.

FSDev_NOR_BSP_WrWord_XX()

Write word to bus interface

FSDev_NOR_BSP_WaitWhileBusy()

Wait while NOR is busy.


The Open()/Close() functions are called upon open/close; these calls are always matched.

The remaining functions (Rd_XX(), RdWord_XX(), WrWord_XX()) read data from or write data to the NOR. If a single parallel NOR device will be accessed, these function may be defined as macros to speed up bus accesses.