Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Dear C2K Champs,
We face a strange question using F021 Flash API. The device is F28377D and Flash API of C2000Ware_2_00_00_02.
Firstly, the board HW is no problem, we can run the example code fine.
But when we add the Flash API into the SDS200i with CCS SW, we face this question.
1. When calling Fapi_issueAsyncCommandWithAddress to erase Flash, oReturnCheck = Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector, (uint32 *)Bzero_SectorM_start);
We program sector M first, then erase sector M using "Flash, oReturnCheck = Fapi_issueAsyncCommandWithAddress(Fapi_EraseSector, (uint32 *)Bzero_SectorM_start);", will report there is no source code error or go to illegal area like below picture.
2. Over to the next step, It will also report a similar problem like the below picture.
I refer to below another post, but I couldn't solve it
Please kindly help to comment and provide suggestions.
Thanks and best regards,
Edward