mpremote disabling RTC? #13034
Replies: 3 comments 1 reply
-
hi @robhamerling I wasn't able to repro this on a Teensy 4.0 For example:
Can you give a sequence of steps I can run to demonstrate what you're seeing? I looked at the code too, the obvious thing would be that |
Beta Was this translation helpful? Give feedback.
-
@robhamerling We had a discussion about the RTC of your Teensy in September about RTC stopping with a power cycle. A firmware change caused the RTC to survive a power cycle. Still, i could not reproduce the behavior with my devices here. |
Beta Was this translation helpful? Give feedback.
-
Ah, I found the cause of the RTC standstill! Not mpremote!
|
Beta Was this translation helpful? Give feedback.
-
I experience a non-running RTC after copying files to the Teensy40.
After loading a new firmware version I restore files to the Teensy40 with a script with a series of 'mpremote cp :' commands. So far that worked fine, but I recently noticed that after this script RTC is not running anymore.
Immediately after loading new firmware (today 1.22.0-preview.164) I checked (and confirmed) that RTC is running, but after my copy script not anymore. But it seems programs run fine, e.g. a simple blink-a-led program using time.sleep() show a blinking LED at expected frequency. However time.gmtime() keeps returning the same values. So it looks like mpremote does something 'special' to RTC. What could be the cause of the standstill of RTC?
Beta Was this translation helpful? Give feedback.
All reactions