SPRUJE7A January 2025 – July 2025 F29H850TU , F29H859TU-Q1
Issues an erase command to the Flash State Machine along with a user-provided sector address.
Fapi_StatusType Fapi_issueAsyncCommandWithAddress(
Fapi_FlashStateCommandsType oCommand,
uint32_t *pu32StartAddress,
uint8_t u8Iterator,
uint32_t u32UserFlashConfig
)
| oCommand [in] | Command to issue to the FSM. Use Fapi_EraseSector. |
| pu32StartAddress [in] | Flash sector address for erase operation |
| 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) |
| uint32 u32UserFlashConfig [in] | User flash configuration bitfield |
This function issues an erase command to the Flash State Machine for the user-provided sector address. When operating on an interleaved bank, this function must be called twice (once with each iterator value) to erase both underlying banks. The 128-bit aligned start address stays the same during these two calls. This function does not wait until the erase operation is over; it just issues the command and returns back. Hence, this function always returns success status when the Fapi_EraseSector command is used. The user application must wait for the Flash Wrapper to complete the erase operation before returning to any kind of Flash accesses. The Fapi_checkFsmForReady() function can be used to monitor the status of an issued command.
(Refer to the flash programming example provided in the F29H85x SDK at “f29h85x-sdk > examples > driverlib > single_core > flash > flash_mode0_128_program”)