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.

TMS570LS3137: TMS570LS3137 : Mirrored Flash

Part Number: TMS570LS3137

Hi all,

In our development board which name is TMS570LS3137, there is an mirrored flash area located at memory. When we write to the flash memory, that area updated itself. But we do not understand what is the purpose of this area? What is the exactly used for? 

Can you explain with an example please?

Thank you all,

Best Regards,

Ktmn

  • Hi Ktmn,

    The mirrored flash is mainly used for diagnostic. It has the same content as the main flash does. Any data written to the main flash will be reflected in the mirrored flash. They are physically the same memory. The flash cannot be erased and programmed using the address of mirrored flash (staring from 0x20000000).

    --

    Thanks & regards,
    Jagadish.

  • Hi jagadish gundavarapu, 

    Thank you for your response. I understand how mirrored flash works but can you give more specific example about what will this do for me exactly? 

  • Hi Ktmn,

    We never tested this mirrored flash features but as per my understanding,

    In general, both the main flash memory and the mirror are continuously updated in parallel, ensuring that they have the same data. This redundancy helps protect against data corruption or loss caused by hardware memory failures.

    If the main flash memory region encounters an error or fail, in those cases this mirror memory helpful to identify the failure regions.

    For example: 

    Consider the scenario where the main flash memory region has some uncorrectable flash errors due to some hardware memory failures, in those cases we will end up with aborts right, in those cases we can compare this main memory region with mirror memory region to identify the failure region in the memory.

    --

    Thanks & regards,
    Jagadish.