Hello,
I use the “F021 flash API” in a program loaded and executed in SRAM via sections defined in the .cmd file.
My program starts with call of Fapi_initializeAPI(), Fapi_initializeFlashBanks(), Fapi_setActiveFlashBank() and Fapi_enableMainBankSectors() with all sectors enabled.
Then the program calls Fapi_issueAsyncCommandWithAddress() to erase a sector with the sector base address given, and the result status is "Fapi_Status_Success".
But values in the sectors are not equal to 0xFFFFFFFF : The “Fapi_EraseSector” command returns a "success status" without writing in the sector.
Can you indicate possible causes of the problem ?
Best Regards,