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 am trying to make a bootloader (that is part of the application that loads and runs from RAM) for C28 DSP while the rest of the applicaiton runs in flash.
I tested my code by erasing and programming at sector N, M, L and K (which is just empty sectors not containing the program code) just for testing if i could erase program, multiple times and every thing works.
But if i try to erase the location where my program is running i.e sector D, C, B and A, the sectors are erased and written with a new data. The bootloader in RAM does all the erase and writing. This runs for the first time and when i try to do the same thing again, erase does not work and every thing fails. The erase api Fapi_issueAsyncCommandWithAddress return success but the blankcheck api function fails.
The binary data which i am writing to these sectors is actually a data read from the memory in debugger mode and dumped in to a file.
I am not sure whether i can use the memory data read from debugger and write to the sector will make it work?
What can be cause of erase failure.
Any thing in that regards will be appreciated.
Adnan,
Regarding erase issue: Please search for below questions in Flash wiki at http://processors.wiki.ti.com/index.php/C2000_Flash_FAQ#Flash_API_wiki
Regarding program question: You can use data from debugger to program.
Thanks and regards,
Vamsi