I'm working on a board based on MCF52259. I was having problems with seconds and hourmin registers messing up randomly. I just noticed that it may be caused by a write to alarm registers while the RTC is in the ON state and running. I avoided that writing and it seems to work now. Do you confirm such a thing?