I'm also able to program the Flash by using the follwong command of the Flash API F021 version 1.52:
oReturnCheck = Fapi_issueProgrammingCommand( pProgMemAddress, buf16, 8, 0, 0, Fapi_AutoEccGeneration);
BUT, I'm not able to erase the Flash - Using Erase_Bank or Erase_Sector, same result.
pProgMemAddress = (uint32*)Bzero_SectorN_start;
oReturnCheck = Fapi_issueAsyncCommandWithAddress(Fapi_EraseBank, pProgMemAddress);
oFlashStatus = Fapi_getFsmStatus();
The resurn value is always "2" = Fapi_Status_FsmReady
The Fapi_FlashStatusType oFlashStatus = 0
But the Flash memory is unchanged.
F021 - version 1.52 - C28x - CCS: Version: 4.2.5.00005
What do I miss to Bank erase the Flash?