Part Number: TMS320F280025C
Hey,
I'm looping through the suggested way of erasing the Flash storage.
When I dump the memory everything is set to 0xFF expect the third sector.
Is there a different protection for that sector I'm forgetting
Thanks in advance, Lukas
Fapi_StatusType retVal = InitFlash();
retVal = Fapi_setActiveFlashBank(Fapi_FlashBank0);
int i = 0;
EALLOW;
for(i=0;i<14;i++) //14 sectors, erase one by one
{
Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector,
(uint32 *)SectorAdrsBank0[i]);
// Wait until FSM is done with erase sector operation
while (Fapi_checkFsmForReady() != Fapi_Status_FsmReady){}
}
EDIS;