I am storing some calibration variables in the info mem section of my MSP430 and I would like to initialise them to defaults when the part is programmed . If I simply initialise the variables in code will they only get loaded when the part is programmed or will they be re-initialised everytime the part boots?
The obvious workaround here is to write a routine in the code that checks if the flash is empty and writes default values to it if it is. I'd much rather write directly to the infomem section of flash when I'm programming the part though.