SPRUJB8 April 2024
Issues a bank erase command to the Flash State Machine along with a user-provided sector mask.
Fapi_StatusType Fapi_issueBankEraseCommand(
uint32 *pu32StartAddress
)
pu32StartAddress [in] | Flash bank address for bank erase operation |
This function issues a bank erase command to the Flash state machine for the user-provided bank address. If the FSM is busy with another operation, the function returns indicating the FSM is busy, otherwise it proceeds with the bank erase operation.
Fapi_Status_Success (success) • Fapi_Status_FsmBusy (FSM busy)
Fapi_Error_FlashRegsNotWritable (Flash registers not writable)
Fapi_Error_InvalidBaseRegCntlAddress (failure: Flash control register base address provided by user does not match the expected address)
(Please refer to the flash programming example provided in C2000Ware at “C2000Ware_.....\driverlib\F28P65x\examples\....\flash\flashapi_128bit_programming\flashapi_cpu1_128bitprogramming.c”)