NOR Flash BSP

A “traditional” NOR flash has two buses, one for addresses and another for data. For example, the host initiates a data read operation with the address of the target location latched onto the address bus; the device responds by outputting a data word on the data bus.

A BSP abstracts the flash interface for the physical layer driver. The port includes one code file:

FS_DEV_NOR_BSP.C

This file is generally placed with other BSP files in a directory named according to the following rubric:

\Micrium\Software\EvalBoards\<manufacturer>\<board_name>

\<compiler>\BSP\

NOR BSP functions
FunctionDescription
FSDev_NOR_BSP_Open()Open (initialize) bus for NOR
FSDev_NOR_BSP_Close()Close (uninitialize) bus for NOR.
FSDev_NOR_BSP_Rd_08()/16()Read from bus interface.
FSDev_NOR_BSP_RdWord_08()/16()Read word from bus interface.
FSDev_NOR_BSP_WrWord_08()/16()Write word to bus interface.
FSDev_NOR_BSP_WaitWhileBusy()Wait while NOR is busy.