Skip to content

MAKE PERSISTENT operation

LDmicroGitHub edited this page May 5, 2018 · 2 revisions

This page caused by LDmicro Forum - PERSISTENT function

  • How does the MAKE PERSISTENT operation work? default
    The internal implementation of the "MAKE PERSISTENT" operation can be seen in the pseudocode in the pl file.
    Press Alt + F5 after simulation or compilation to open the pl file.
    default
    persistent.zip

  • Is the EEPROM variable updates only if it changes?
    Yes.

  • How is the persistent variable read back?
    The persistent variable is restored from the EEPROM to the RAM ones after reset of the MCU.

  • Is 'read -> compare -> update if different' algorithm implemented to preserve the lifetime of the EEPROM?
    Yes. See pseudocode.

  • Am I worrying too much about irrelevant things?
    Any questions welcome to the forum or LDmicroGitHub@gmail.com

Clone this wiki locally