Thanks guys, Using a pre-initialized static variable, I have managed to set the the write only latch early with the initialized value while running in flash (board_early_init_f) and only modify the latch and static variable in (board_early_init_r), by then the variable is modifable. Thanks again, David