Other Parts Discussed in Thread: TMS570LS3137
I am using the microcontroller TMS570LS3137 and F021 API (version -> 1.51) to perform read and write operations on flash memory. I need to know if there is any mechanism designed to perform a backup of an entire sector in RAM without using more than 2KB of RAM.
The procedure that I am using is as follows:
- Read the entire contents of the sector where new data will be stored.
- Make a copy of entire contents of the sector, in an array in RAM (which means using up to 128 KB due to the size of the bigger sector).
- Array´s contents are updated with the new data.
- Finally, entire array contents are stored in Flash memory.
As you can see, I'm using half of RAM memory on TMS570LS3137 (256 KB of RAM), which is not recommended for the design of the application that I'm working.
If there is a procedure to write into a specific Flash memory address without affecting all sector contents, I would appreciate so much if someone can help me, please.
Regards…