SPRUJE7A January 2025 – July 2025 F29H850TU , F29H859TU-Q1
Erases and then programs the BANKMGMT sector of the specified FLC.
Fapi_StatusType Fapi_issueProgBankMode(
Fapi_BankMgmtAddress u32StartAddress,
Fapi_BankMode u32BankMode,
Fapi_FlashStatusWordType *poFlashStatusWord,
uint32_t u32UserFlashConfig
);
| Fapi_BankMgmtAddress [in] | The FLC to issue the programming command to. |
| Fapi_BankMode [in] | Bank Mode to program the device to |
| Fapi_FlashStatusWordType [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 |
| u32UserFlashConfig [in] | User flash configuration bitfield |
This function erases and programs the inactive BANKMGMT sector with the given Bank Mode at the corresponding FLC. After programming the BANKMGMT sector, an external reset (XSRn) can be issued in order for boot ROM to read the new value and write it to the SSU register, completing the bank mode switch.