SPRUJB8 April 2024
Verifies region specified is erased value
Fapi_StatusType Fapi_doBlankCheck(
uint32 *pu32StartAddress,
uint32 u32Length,
Fapi_FlashStatusWordType *poFlashStatusWord
)
pu32StartAddress [in] | Start address for region to blank check |
u32Length [in] | Length of region in 32-bit words to blank check |
poFlashStatusWord [out] | Returns the status of the operation if result is not Fapi_Status_Success ->au32StatusWord[0] Address of first non-blank location ->au32StatusWord[1] Data read at first non-blank location ->au32StatusWord[2] Value of compare data (always 0xFFFFFFFF) ->au32StatusWord[3] N/A |
This function checks if the flash is blank (erased state) starting at the specified address for the length of 32-bit words specified. If a non-blank location is found, corresponding address and data will be returned in the poFlashStatusWord parameter.
None
Fapi_Status_Success (success) - specified Flash locations are found to be in erased state
Fapi_Error_Fail (failure: region specified is not blank)
Fapi_Error_InvalidAddress (failure: User provided an invalid address. For the valid address range), see the TMS320F28P65x Microcontrollers Data Manual.