Part Number: TMS570LC4357
Hi,
We are using F021 Flash API Driver Libray to verify blank checks on EERPOM Sectors. We have a requirement to log the data in EEPROM when a GIO interrupt occurs as mentioned below:
//On Power-Up
// Initlize Flashj
//Erase sector 7 of EEPROM
//
//
// Code Executes
// Initialize RTOS and run threads
while(1)
{
}
// GIO Interrupt
void isr_handler(void)
{
//Verify Blank check on sector 7 at address 0xF0207000
// Call Fapi_StatusTypeFapi_doBlankCheck( )
// Log Data in sector 7 at address 0xF0207000.
}
But on a few power cycles, we are seeing either sector 7 getting erased or getting a data abort exception.
If we comment out Fapi_StatusTypeFapi_doBlankCheck( ) function call, we are not seeing any issue and the code works well for every power cycle. Please let if we are missing any configuration specifically for the Blank check to use.