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 NOR Flash BSP for the details about implementing your own BSP.
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.