How to sync RTC to UTC in voxl2?
-
Hello,
I am using voxl2. Whenever I connect the battery, the device resets the RTC(Real Time Clock) to 1970-01-01. This is understandable.
My issue is that I tried to sync the RTC to UTC using several ways, but I couldn't. Can I know the how to sync the RTC to the UTC?

I tried to use "$ sudo timedatectl set-local-rtc 0", it didn't work.

Another approach is using hwclock, but it didn't work either.

The last approach is the below command, but I met permission denied, even though I am a root user.

How can I RTC to UTC?
Thanks,
Kay -
Hello,
I am using voxl2. Whenever I connect the battery, the device resets the RTC(Real Time Clock) to 1970-01-01. This is understandable.
My issue is that I tried to sync the RTC to UTC using several ways, but I couldn't. Can I know the how to sync the RTC to the UTC?

I tried to use "$ sudo timedatectl set-local-rtc 0", it didn't work.

Another approach is using hwclock, but it didn't work either.

The last approach is the below command, but I met permission denied, even though I am a root user.

How can I RTC to UTC?
Thanks,
Kay@kay-han VOXL2 does not have an RTC
-
@kay-han VOXL2 does not have an RTC
@Eric-Katzfey Oh, do you mean I can see the "RTC time" by timedatectl, but it doesn't mean voxl2 has the RTC? I see. Thank you for your answer.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login