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.
Hello,
I'd like to store a bunch of data in a specific flash sector of the device and depending on some conditions I'd like to change some of those values. So far programming the sector with the initial values is working. But when I want to reprogram one value of the sector which was already programmed this is not possible. My workaround right now is to read all values erase the sector and programm the new values. Is there a way to reprogramm specific addresses without erasing the complete sector?
Regards,
Dominic
Dominic,
You can not reprogram a given Flash location without erasing that sector.
You don't have to erase the sector every time you want to update the value. You can implement a simple EEPROM emulation method in Flash as explained in https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/319481 - This way you don't have to erase the Flash for every update.
This thread has similar discussion: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/591767?CCS-TMS320F28377D-How-to-read-and-write-data-to-the-MCU-internal-Flash
Thanks and regards,
Vamsi
Hello Vamsi,
Thank you very much for this information. Since I reprogramm the flash only in rare cases I decided to erase the flash for every update. The EEPROM soluation is very interesting. I ll keep that in mind.
Regards,
Dominic