When I run my entire application out of external ram, the following call works without a problem:
Status = Flash_Erase(SECTOR_F28335, &FlashStatus);
When I run my application out of flash, and copy the FlashAPI to internal RAM (RAML0), the function does erase the DSP Flash, but never returns from the call to Flash_Erase()?
The function that makes the call to Flash_Erase() is also in internal RAM, so that should not be the problem.
Do you have any advice on how to debug this? I set a hard break point before the call, then I move the breakpoint to the next executable line, but after resuming, it appears that Flash_Erase() never returns or has branched to another location? I am not using the Callback function, the global pointer is NULL.
Thanks in advance.