This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280025C: Can't erase sector 3 from Flash, Fapi_EraseSector

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;