If you keep querying getTime() I think you'll find it reads the same value all the time?
I've had this - but not specifically after a hard reset.
I think it happens when the device has lost power, but not completely gone to 0v - eg. if you unplug it and re-plug it.
The low speed oscillator stops, but the registers are still set up - so when Espruino starts up it thinks everything is working great and doesn't reset the RTC - but actually the oscillator isn't running any more.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If you keep querying
getTime()
I think you'll find it reads the same value all the time?I've had this - but not specifically after a hard reset.
I think it happens when the device has lost power, but not completely gone to 0v - eg. if you unplug it and re-plug it.
The low speed oscillator stops, but the registers are still set up - so when Espruino starts up it thinks everything is working great and doesn't reset the RTC - but actually the oscillator isn't running any more.