edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

Zorro ELRS Date/time occassionly reset

Open pfeerick opened this issue 2 years ago • 92 comments

I have the same problem with the Radiomaster Zorro ELRS version. Date/time reset every reboot sometimes to 2000, sometimes to 1970 year. EdgeTX 2.7.1 and nightly 2.8.0 the same behavior.

Originally posted by @Roman-Golod in https://github.com/EdgeTX/edgetx/issues/1588#issuecomment-1206107884

pfeerick avatar Aug 05 '22 07:08 pfeerick

It doesn't happen, when I pull off the battery (I use the external 2s battery) without switching off Zorro. Time/date saves in that case. Maybe I can make any another experiments to help solving this problem?

UPD: That was wrong. Several times OK, then resets again. The same thing on the OpenTX 2.3.15-otx (1004ef7c)

Roman-Golod avatar Aug 07 '22 01:08 Roman-Golod

Is there any update on this? I have exactly the same issue, date resets to date 2000-1-1

nrlourenzo avatar Nov 05 '22 12:11 nrlourenzo

I received new quartz and capacitors from Radiomaster, replaced it, but it didn't help. Though date/time resetting now happens less often. Maybe l'll try to do it one more time. So, i think, it's hardware related problem.

Roman-Golod avatar Nov 05 '22 13:11 Roman-Golod

Got a new Zorro 4-in-1 that came with EdgeTX 2.7.1 and had the same problem: Date and time reset after reboot. Issue still persisting after update to 2.8. Mostly resets to yr 2000 but sometimes to 1970.

TerraMotoEU avatar Dec 03 '22 19:12 TerraMotoEU

You'll find when it resets to 1970, most likely it will be 2000 on the next boot... since 1970 is the default date of the RTC, and is from before when OTX/ETX was first written, so is then set to 2000. The problem is finding out why it is resetting... Companion doesn't have anything to do with setting the time, although some people seem to see it happen after a sync with Companion. I've not yet experienced this myself - probably because I never initially set the time on my Zorros, but once set they seem to have stayed set.

This almost feels like the backup RTC battery is flat, but there must be something more to this as this would be an easily fixed occurrence (and wouldn't be evident until after several months to a couple of years of ownership)

pfeerick avatar Dec 04 '22 00:12 pfeerick

I think someone should take a look at the RTC supply voltage line with a decent oscilloscope when switching on and off and when un-/-plugging USB. Maybe with some low capacitance probes.

@Risto do you have a Zorro?

gagarinlg avatar Dec 04 '22 06:12 gagarinlg

10 days ago I rebuilt the SD content and never touched the data port since then. I thought, the problem was gone, but yesterday it happened again. The clock battery is OK (3,3v).

Roman-Golod avatar Dec 08 '22 22:12 Roman-Golod

Ah the battery! Mine's at 3.24v. No idea how low they're allowed to go, though.

TerraMotoEU avatar Dec 09 '22 08:12 TerraMotoEU

Got mine today.

ELRS version on 2.7, and experiencing the same issue. Have noticed it go to both 1970 and 2020.

I have mostly been using it plugged in to the PC for flying Sim.

I wonder if the process of plugging in and out is related to the cause?

It's very frustrating.

GavoGavo avatar Dec 14 '22 12:12 GavoGavo

Contemplating whether I'd send it back to The Netherlands for replacement or not. After ordering from Radiomaster EU, PostNL took forever to even move my order. If I was sure it's something that can be fixed via fw update, I'd hold on to it and wait.

Aside from messing up file names (logs, model backups...) is there any other risk coming along with this issue, that we should be aware of, or is that all there is?

TerraMotoEU avatar Dec 14 '22 19:12 TerraMotoEU

Were these all new radios?

Did anyone else notice sticker residue on the cathode/positive side of the batteries, when they removed the clear-and-red battery tab that breaks the circuit in transit?

I noticed when I removed mine that quite a lot of residue was left over. I used the tab to remove the remaining residue but I tried charging the batteries in my XTAR charger and noticed they were not reliably making a circuit. I tried getting more residue off and they seemed kind of OK after that.

I tried cleaning them futher just now.. some residue did seem to come off and the charger now has no problem detecting them. I wonder if there might be a physical component here... poor contact perhaps. I don't think so because I would think that any drop in contact would switch the device off but perhaps it's worth a thought?

If you do try and clean the terminals, be really, really careful and read up about how to do it before you do. These batteries can be dangerous and though they're protected, a short could be catastrophic.

I do note that I have been unable to repeat the problem so far today anyway, and also upgraded firmware to 3.8.

I am going to keep trying to reproduce the problem. If it happens again I will lodge a warranty request with Radiomaster to see what they say. Hopefully this is just a small batch of units. I do wonder if we all got devices from the same batch maybe.

GavoGavo avatar Dec 15 '22 04:12 GavoGavo

I got an answer, when I addressed the same question to radiomaster support: This is a known issue, a STM related bug that we've communicated to edge TX, who should be addressing the issue with a future update. I bought Zorro on August this year, so it is still under guarantee.

andreo32 avatar Dec 15 '22 13:12 andreo32

Hi! There's a guy in RC groups who explaining RTC reset issue by replacing original RTC battery to new - a little bigger one than original. Maybe is just a to weak battery problem... Br,

andreo32 avatar Jan 01 '23 10:01 andreo32

@pfeerick Is there anything news on this topic?

I'm having the same problem and it's frustrating.

TheIsotopes avatar Jan 07 '23 07:01 TheIsotopes

I had the same problem, Time and Date resetting to 2000 or 1970. I have the Radiomaster Zorro Elrs V2.0 running under EdgeTX 2.7. In the menu SYS/Radio Setup , where also Date and Time are set there is a Checkbox option " Adjust RTC" . I enabled it. I have rebooted several times since and Date and Time where everytime correct.

EDIT: Today it was set back to 1970 ..... so the Adjust RTC Checkbox was not the solution, sorry

Dopossum avatar Feb 09 '23 16:02 Dopossum

“Adjust RTC only make sense when a GPS is connected that is then used to fetch the current time. Your issue is most probably related to the RTC itself, and it’s supply power. I believe we have fixed such an issue that related to some brownout level. At best you should update to 2.8, which has the fix included.

raphaelcoeffic avatar Feb 09 '23 19:02 raphaelcoeffic

Hi everyone. I'm the guy who replaced the RTC battery with a bigger one mentioned above by andreo32.

My Zorro is on v2.8.0 and just as pfeerick has described above ( and in #1588), the RTC will reset to 1970 if the Power button is pressed while the main battery is removed. And then reset to 2000 on the next reboot. The RTC retains it's date and time in subsequent boot cycles after that.

It doesn't seem like this issue is fixed yet?

You'll find when it resets to 1970, most likely it will be 2000 on the next boot... since 1970 is the default date of the RTC, and is from before when OTX/ETX was first written, so is then set to 2000. ...

This almost feels like the backup RTC battery is flat, but there must be something more to this as this would be an easily fixed occurrence (and wouldn't be evident until after several months to a couple of years of ownership)

KC748 avatar Feb 15 '23 06:02 KC748

It doesn't seem like this issue is fixed yet?

It's most definitely not fixed.

kf4mot avatar Feb 15 '23 19:02 kf4mot

Same here. i had mine for 1.5 years without trouble and now the date and time are buggy(: No solution yet.

chemist132 avatar Mar 15 '23 17:03 chemist132

Any news about bug? Zorro 2.8.1 EdgeTX still reset date/time after reboot(poweroff)

mixMugz avatar Mar 15 '23 18:03 mixMugz

Mine doesn't reset after a reboot. It only resets at certain instances as described above. If it is resetting after a reboot, the coin cell may be going flat. The cr1220 are small and only last about 1.5-2 years.

I don't know if this is related, but after replacing the cr1220 with a brand new Duracell cr2032, the beginning 3.33v has dropped to 3.08v in 2.5 months. This drop seems excessive.

Menu50

RCT Batt

KC748 avatar Mar 16 '23 01:03 KC748

3.08V is not enough?

Just checking my Zorro and i have 3.00 volts. If I understand it correctly, is this a lithium battery and should it be recharged itself?

mixMugz avatar Mar 16 '23 06:03 mixMugz

I would think so, it just seems unusually quick for it to drop from 3.33v to 3.08v - although 3v is the nominal voltage.

It should be a lithium primary cell (thus non-rechargable).

pfeerick avatar Mar 16 '23 08:03 pfeerick

So. Another test. Bought the new CR1220. Now voltage show 3.3 volts. Seting date/time. Step one - power off button. Date still correct after power on. Step two - power off by removing battery. Date still correct after power on. Step three - connect wia usb (joystik hid) then power off. Date reset after power on.

Now every time i power off radio - date will be reset. Sometimes date will keep, but reset after second/third reboot.

P.S. I only have external 2s battery connected. No internal battery 18350

mixMugz avatar Mar 16 '23 10:03 mixMugz

While doing some searches in OpenTx for RTC issues, I came across this one from way back in 2015. It looks like this RTC reset issue has been around for quite a while and on various radios. https://github.com/opentx/opentx/issues/2626 In this issue thread, Mike Blandford has a possible code fix, https://github.com/opentx/opentx/issues/2626#issuecomment-128933531 and there is also a hardware fix (for the Taranis X9E) by replacing a capacitor with a larger value capacitor.

Any chance of implementing either of these solutions for the Zorro?

Also came across this issue draining the RTC battery prematurely. https://github.com/EdgeTX/edgetx/issues/333

KC748 avatar Mar 17 '23 01:03 KC748

The comment that closed that issue is rather telling also...

It's an hardware problem, please contact FrSky (the 100uF is not enough, they will use a 470uF instead)

The code that Mike Blandford commented on is already in OTX and ETX, and has been for about four years - was added as part of https://github.com/opentx/opentx/pull/6501 - and is used by basically all the B&W radios that have a soft power button (rather than switch).

So it seems for that particular radio, it was a hardware issue through and through, and was also very intermittent, so really does fit the pattern we're seeing here. So the question now is probably going to be how to confirm it is an issue related to a capacitor value being too low (and which one)?

Nice bit of investigation... could be getting closer! :)

pfeerick avatar Mar 17 '23 12:03 pfeerick

Hello! I'm having the same problem with my zorro radio which is using firmware 2.8.1 I found a clear dependency on resetting the date and time. If you turn off the radio immediately after exiting the system menu or from it, the date and time are reset, if you exit the menu and wait a few seconds, the date remains unchanged.

AlxSlk686 avatar Mar 19 '23 22:03 AlxSlk686

The comment that closed that issue is rather telling also...

It's an hardware problem, please contact FrSky (the 100uF is not enough, they will use a 470uF instead)

The code that Mike Blandford commented on is already in OTX and ETX, and has been for about four years - was added as part of opentx/opentx#6501 - and is used by basically all the B&W radios that have a soft power button (rather than switch).

So it seems for that particular radio, it was a hardware issue through and through, and was also very intermittent, so really does fit the pattern we're seeing here. So the question now is probably going to be how to confirm it is an issue related to a capacitor value being too low (and which one)?

Nice bit of investigation... could be getting closer! :)

Thanks for the additional information.

I've reread https://github.com/opentx/opentx/issues/2626, and according to projectkk2glider post, https://github.com/opentx/opentx/issues/2626#issuecomment-128792600, the additional 470 uF capacitor is added in parallel to Vcc (3.3v) and GND.

add additional capacitor in parallel somewhere between Vcc and GND lines,

That trace is your Vcc line and should have 3.3V when the radio is powered on. The GND is on the copper fill surrounding it

I've located the 3.3v regulator (A1117B 3.3) on my Zorro and did some continuity tests and came up with the diagram below. Conveniently, there is a 3.3v and GND pads close to the regulator.

Following projectkk2glider's instructions, I'm about to add a 470 uF 16v capacitor on those pads, Does anyone see any harm in doing that?

A1117B

KC748 avatar Mar 20 '23 01:03 KC748

Ok. I gave it a day for someone to talk me out of it... Crickets. So here it is. :)

Following projectkk2glider's instructions, I added a 470 uF 10v capacitor (recommended is 6v or higher) on those pads (3.3v and GND) and tacked it down with a bit of hot glue over a piece of electrical tape for insulation.

On my Zorro (v2.2), a sure way to cause the RTC to reset is to press the Power button when the main batteries are out. The Power button would briefly flash blue. The RTC would reset to 1970, then to 2000 on the subsequent reboot.

So far, I haven't been able to cause the RTC to reset after adding the 470 uF capacitor. I'm quite satisfied with the result.

Tested:

  • Power button press briefly, as well as holding for more that 5 minutes, after removing the main battery.
  • Flash firmware (v2.8.1) with USB connected and via SD card in bootloader mode. (Power On with horizontal trim to center)
  • Flash firmware via USB with power Off.
  • USB connected in Joystick mode and Storage.

Even after bricking the radio a couple of time, by pulling the USB before ejecting the Zorro's drive from the computer, the RTC did not reset after unbricking.

Disclaimer: Do the mod at your own risk. I'm not an expert. :) If anyone tries this mod, some feedback would be nice.

[In the pics below, note the offset placement of the capacitor, to clear the gimbal sensor housing and wires.]

2-470uF10v 3-Offset

KC748 avatar Mar 21 '23 18:03 KC748

Good news! I need to try with this stuff image image

mixMugz avatar Mar 21 '23 19:03 mixMugz