Other Parts Discussed in Thread: C2000WARE
Can the program running on the F28069 write to the Flash? (i.e. the Flash where the program code is stored)
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.
Can the program running on the F28069 write to the Flash? (i.e. the Flash where the program code is stored)
Thomas,
The rule here is that you cannot program the flash while code is running from it.
Now, you can re-program the flash during execution, but the code would need to be running from RAM while the reprogram is occurring. You can copy a small portion of code with API calls from flash to RAM and then jump to it to do the above. Once the erase/program is complete you can jump back to flash.
We have an example of this in C2000Ware C:\ti\c2000\C2000Ware_4_03_00_00\device_support\f2806x\examples\c28\flash_programming or here is the cloud link if you prefer.
Best,
Matthew