Hello,
I am working with a TMS570LS2125 and I want some sectors of flash memory to be protected from erasure and overwrite.
Can you please tell me where I can find the detailed information on how to protect the memory from erasure and overwrite.
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 am working with a TMS570LS2125 and I want some sectors of flash memory to be protected from erasure and overwrite.
Can you please tell me where I can find the detailed information on how to protect the memory from erasure and overwrite.
I will forward your question to the device owner.
Regards,
Haixiao
sounds your question is answered in the following post:
Regards,
Haixiao
Hello,
The correct answer depends on what you are trying to do.
Hello Shilpa,
Sorry for the long delay.
There is a register for each flash bank at address 0xFFF872A4. This is called the FSM_SECTOR register. There is one such register for each flash bank. The desired bank is selected using the FMAC (Flash Module Access Control) register.
The FSM_SECTOR register has bits 15 down to 0 defined as the SECTOR_ERASED field. A bank can support up to 16 sectors, with each bit in this field associated with a sector number. You can write 1s to the sectors that you want to save from the erase before issuing a bank erase command.
We are updating the TRM to include the description of the FSM_SECTOR register.
Regards, Sunil