Bugzilla – Bug 16429
RTC corruption when setting the time (msp430 bug)
Last modified: 2010-11-09 14:14:11 UTC
the MX25 sets the time on msp430 by calling void set_time(u32 time) which writes the_time variable. The same variable is read-modified-written by the interrupt routine TIMER_ISR called every second. The fix is to replace: void set_time(u32 time) { the_time = time; } with: void set_time(u32 time) { while (the_time != time) the_time = time; }
Not seen, so closed for now.