Marco Fratini

Executing a function only once

Discussion created by Marco Fratini on Sep 9, 2010
Latest reply on Sep 10, 2010 by kef

Hi everybody. I'm using M52259DEMOKIT.


I need to execute an initialization function only once. After reset or power loss it doesn't have to be called unless it is scheduled during my application. Any suggestions?


I already reserved the portion of RAM that is battery backed up for some variables that I could use as flag or similar, but I'm still getting problems. I'm really going crazy for this to work :smileyvery-happy: Maybe for you it may be a simple problem to solve.