Hello, The __no_init declaration instructs the startup code not to initialize this variable in RAM. Since POR means "Power On Reset", the RAM will still have power applied, so it should maintain its contents. If you're looking to save variables across power cycles where power is lost, then I would recommend using Flash (non-volatile memory) to periodically back up those variables. Required info about __no_init variables IAR C/C++ Compiler User Guide Regards, James
↧