For my DSP/BIOS RAM based project, I was succcessfully able to execute Flash APIs (Flash_Erase, Flash_Program and Flash_Verify). For the same project, now Flash based the call to Flash APIs does not work. It does not step out of the Flash_Erase/Flash_program API function. As mentioned in TI doc, these Flash APIs are copied into internal secure RAM for execution. The function which calls these APIs is also executed from internal RAM. All Passwords locations are set to 0xFFFFs and CSM all 0s. The Flash code occupies space less than half the flash size i.e sectors H,G,F. I tried erasing sector B and C which did not work.
What could be the issue?