Bugzilla – Bug 16503
Real Time clock forgets time
Last modified: 2010-11-02 14:10:22 UTC
Created attachment 6949 [details] battery status log file with invalid date FW9023 and MSP 1333 Somehow the date time value for the real time clock is getting glitched and the unit is forgetting the time. This was observed in the data logs for battery charge testing, where the date was set to Dec 31 1969 the default when there is no valid time. After the unit updates via NTP it reports the correct time but if there were no net connection it would appear as a RTC failure. The condition is not due to failure the super cap backup of the MSP430 as this was observed on a unit that had a battery installed which should never go to ultra low power mode. This may be the related to bug 16497 where it appeared to have lost the RTC due to the super cap backup, but perhaps there is another cause.
Could you please provide some history of what was your test case and steps that caused the system to be in this state.
Created attachment 6953 [details] Boot logs of battery test units Attached is a ZIP of the serial boot logs for the units that have been running on battery with the AC power timer. Some of the data is old from testing the various MSP430 FW versions but the data at the end of the file is from as recent as 09-07-2010.
Created attachment 6954 [details] Battery logs for baby booms
Mac 00:04:20:26:f6:93 Serial log Baby1_1381.txt battery data BatteryData_6f93
In the Battery Logs: " voltage: 13776 charge: 1883 temperature: 1330 chargestate: 3 Fri Sep 3 10:46:13 PDT 2010 voltage: 13655 charge: 1858 temperature: 1314 chargestate: 3 Wed Dec 31 16:00:32 PST 1969 voltage: 13594 charge: 800 temperature: 1296 chargestate: 1 Fri Sep 3 10:55:16 PDT 2010 " From the serial console logs: " Enable MSP430 [ 13.597173] Requesting msp430 firmware msp430-0005.txt(version 0.1) [ 13.603507] firmware: requesting msp430-0005.txt [ 13.984902] i2c-adapter i2c-1: ACK not received [ 13.989590] Failed to issue the i2c read block command to MSP430 [ 15.311130] i2c-adapter i2c-1: ACK not received [ 15.315838] Failed to issue the i2c read block command to MSP430 [ 16.610832] msp430: upgrade (-1 to 1333) [ 27.242337] msp430: upgrade complete (1333) " There are three times that we lost the date/time and there are three times that we had to initialize the MSP430. In the prior shutdown of the Baby's there are i2c failures as follows: [ 3499.267989] MXC Watchdog # 0 shutdown [ 3499.272945] Power down. [ 3499.277718] powering system down... [ 3499.283231] i2c-adapter i2c-1: ACK not received [ 3499.289407] i2c-adapter i2c-1: ACK not received [ 3499.295567] i2c-adapter i2c-1: ACK not received . . .
I can reproduce a very similar behavior if I hold the power button down for almost a minute before I release it. Do you remember how you were powering off the boards?
This seems to have been the test case: bring up the Baby with external battery connected Remove the AC Wait for the 1/2 hour with no activity on Baby The Baby shuts down itself.