Dear C2K Champs,
We face a strange question using F021 Flash API. The device is F28075 and Flash API from V190 in ControlSuite.
Firstly, the board HW is nor problem, we can run the example code fine.
But when we add the Flash API into the customer's SW, we face this question.
1. When call Fapi_issueAsyncCommandWithAddress to erase Flash
oReturnCheck = Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector, (uint32 *)Bzero_Sector_start);
We find that if erasing sector C first, then erase sector D and other, the oReturnCheck = Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector, (uint32 *)Bzero_Sector_start); will report there is no source code error or go to illegal area like below picture.
2.When call oReturnCheck = Fapi_doBlankCheck((uint32 *)Bzero_Sector_start, Bzero_16KSector_u32length, &oFlashStatusWord);
It will also report the similar problem like below picture.
Please kindly help to comment and provide suggestions.
Thanks and best regards,
Hardy



