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.

LP-MSPM0G3507: Not able to retain the data from reset proof(RAM_WARM_RESET_PROOF) location for Watchdog reset

Part Number: LP-MSPM0G3507


Tool/software:

In linker file(mspm03507.lds) we are defining:

    . = ALIGN(4);
    ._reset_proof (NOLOAD) :
    {
        /* This section contains data for reset proof ram in case of warm resets. */
        _reset_proof_start = .;
        KEEP(*(.ResetProof))
        . = ALIGN(4);
        _reset_proof_end = .;
    } > REGION_NOINIT AT> REGION_NOINIT

#define RAM_WARM_RESET_PROOF __attribute__((section(".ResetProof")))


static volatile ResetId_t RAM_WARM_RESET_PROOF ResetIdHistory;

here i want to retain ResetIdHistory after a watchdog reset as it store the reset reason.

But this value is lost after a reset
How can i retain this value.
-----------------------------------------------------------------------

For watch dog i'm using WWDT0 peripheral.

we have used the similar config for stm32.there we are able to retain the value.

so is there any way in ti to retain data after a watchdog reset.

I found there is shutdown register in SYSCTL which retain data after watchdog reset.But there are only 4 register and each register can hold 8bits of data.So total of 32bit but i want to store more data.

  • Hi Bhaskar,

    Yes, you are correct. There only 4 bytes support in perpheral.

    To maintain the data which want to be kept in shutdown mode, please store the data into FLASH.

    We provide the EEPROM simulation solution inside SDK.

    B.R.

    Sal

**Attention** This is a public forum