Part Number: TMS320F28P559SJ-Q1
Hi team,
I ask this for my customer.
My customer wiite a function to erase the flash like below, num is the sector number


They program the data to 0x9C400 firstly, they can program the data to this sector successfully. And they set the num is 110~115, and find it can't erase the sector 110~sector 115, that means after the loop, the data still exist in 0x9C400(sector113), and the flash api isn't return error
Then they don't use this loop, they just use the Fapi_issueAsyncCommandWithAddress() function to erase 0x9C400(113 sector) directly, they can erase this successfully

Then they change the flash address to 0x82C00, they can use loop erase function to erase this successfully.
Could you help to find the reason of this phenomenon?
I upload the demo project: tidrive.itg.ti.com/.../169523ec-37df-4e2c-b0f6-376643554e60
you can try this in launchpad
BRs
Shuqing