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.

MSP430FR6879: RAM values after BOR, POR, and PUC

Part Number: MSP430FR6879

Hi,

(1) Are the RAM values after BOR, POR, and PUC indefinite or retained, respectively?

(2) If value of RAM is indefinite after reset, is it also indefinite when Vcore is on?

  

I asked this question because I thought the RAM value would be retained regardless of the reset if Vcore was on.

No information such as RAM initialization was found in UG etc. at the time of reset.

Thanks, 

  • Hello Koki,

    Can you tell me about what you are trying to do?  After a reset, the only RAM values that I would expect to be defined would be those for initialized variables as the boot code will initiate them.  The rest may or may not sustain.  It's not guaranteed even that they are all erased either after a power cycle, just undefined.   

    You listed BOR and POR, which are usually power related, which will typically effect the RAM.  PUC, RAM values could sustain through. 

    We have some pragma's for defining variables that should be assumed to persist in RAM, such as #pragma NOINIT(variable_name) which prevents this memory location from being initialized.  Useful variable that need to be maintained through deep sleep modes.  

    Hope this helps.  Let me know what you are trying to do, and I'll see if I can help you figure out the best way.  

    Thanks,

    JD

**Attention** This is a public forum