Download Data Flash Access Library
Transcript
Data Flash Access Library 3.3 Functions Due to the request oriented interface of the FDL the functional interface is very narrow. Beside the initialization function and some administrative function the whole flash access is concentrated to two functions only: FAL_Execute(...) and FAL_Handler(). 3.3.1 Basic functional workflow To be able to use the FDL (execute pool-related commands) in a proper way the requester has to follow a specific startup and shutdown procedure. Figure 3-1 Basic workflow flow Power OFF ON FAL_Init() OFF closed FAL_Open() FAL_Close() opened FAL_Execute(CMD) where CMD = status = NOT busy READ_WORD, WRITE_WORD, BLANKCHECK_WORD, IVERIFY_WORD, ERASE_BLOCK busy FAL_Handler() 3.3.2 Interface functions The interface functions create the functional software interface of the library. They are prototyped in the header file fdl.h. R01US0005ED0102 User Manual 23