Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 section C-10 “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.

Table 16-4 NOR BSP functions

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.

  • No labels