HI
I currently working on TMS570LS1224, and try to erase flash memory using F021 FLASH API library but didn't erase, code will goes to prefetch entry.
and I am trying to erase at following address (0x000A0000).

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.
HI
I currently working on TMS570LS1224, and try to erase flash memory using F021 FLASH API library but didn't erase, code will goes to prefetch entry.
and I am trying to erase at following address (0x000A0000).

Hi Karthik Kumar,
You are not supposed to do executing and erasing on the same bank.
"The F021 Flash API library cannot be executed from the same bank as the active bank selected for the API commands to operate on".

As TMS570LS1224 is a single bank device, so there the flash API's must be executed from RAM.
Refer below thread for more details:
--
Thanks & Regards,
Jagadish.