Skip to main content
Central SUPPORT
Senior
March 4, 2019
Solved

Reset SPC56 without clearing RAM ?

  • March 4, 2019
  • 1 reply
  • 767 views

Can I reset the device without losing memory contents at the same time?

NOTE: This question and answer originated from a customer support case which was handled by us. We regularly review support cases and add any helpful ones here for all to benefit from.

    This topic has been closed for replies.
    Best answer by Central SUPPORT

    Please note that SRAM must be initialized after power on reset anyway. Because the ECC bits can contain random data after the device is powered on, the SRAM must be initialized by executing 32-bit write operations prior to any read accesses. 

    As ECC checks are performed during the read portion of an SRAM ECC read/write (R/W) operation, and ECC calculations are performed during the write portion of a R/W operation.

    1 reply

    Central SUPPORT
    Central SUPPORTAuthorBest answer
    Senior
    March 4, 2019

    Please note that SRAM must be initialized after power on reset anyway. Because the ECC bits can contain random data after the device is powered on, the SRAM must be initialized by executing 32-bit write operations prior to any read accesses. 

    As ECC checks are performed during the read portion of an SRAM ECC read/write (R/W) operation, and ECC calculations are performed during the write portion of a R/W operation.