SPRUJE7A January 2025 – July 2025 F29H850TU , F29H859TU-Q1
Verifies region specified is erased value
Fapi_StatusType Fapi_doBlankCheck(
uint32 *pu32StartAddress,
uint32 u32Length,
Fapi_FlashStatusWordType *poFlashStatusWord,
uint8 u8Iterator,
uint32 u32UserFlashConfig
)
| pu32StartAddress [in] | Start address for region to blank check |
| u32Length [in] | Length of region in 32-bit words to blank check |
| poFlashStatusWord [in/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 |
| u8Iterator [in] | Iterator for program and erase operations on
interleaved banks. 0: Data Flash/non-interleaved 1: B0 or B2 (dependent on provided address) 2: B1 or B3 (dependent on provided address) |
| u32UserFlashConfig [in] | User flash configuration bitfield |
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 are returned in the poFlashStatusWord parameter. When operating on interleaved banks, this function must be called twice (once with each iterator value, the start address stays the same).
Users cannot perform blank check operations when in SSUMODE2 and SSUMODE3. If a user wants to perform a blank check operation in SSUMODE2 or SSUMODE3, the user can provide the necessary read APR permissions. Refer to the F29H85x and F29P58x Real-Time Microcontrollers Technical Reference Manual for details on SSU configuration.
Note that Flash state machine also internally performs a verify operation after an erase/program pulse to validate the success of the operation. Successive program/program verify loops (or erase/erase verify loops) using the provided functions are done as needed to verify proper erase/programming. If the flash Wrapper state machines fail to completely program or erase all target bits in the flash within the number of program/erase pulses configured in the maximum pulse count setting, the FAILVERIFY bit is set in the STATCMD register.
None