EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.56k stars 333 forks source link

Zorro ELRS Date/time occassionly reset #2187

Open pfeerick opened 2 years ago

pfeerick commented 2 years ago

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

zatalian commented 1 year ago

I noticed that if I keep pressing the power off button longer on turn off, time is not reset. After the 4 dots the sleeping face appears and stays on as long as i keep pressing the power button. If I do that for a few seconds, the clock is not reset.

This made me wonder if maybe the haptic feedback between the dots and the sleeping face is causing the reset. I turned haptic feedback off and for now, no resets since...

EDIT: disabling haptic feedback did not solve the problem. Less resets but yesterday i got one again... (zorro with internal elrs)

kf4mot commented 1 year ago

I replaced the pathetic little coin cell in my Zorro 4 months ago. Now it's down to 3 volts again and I got another RTC reset. Now I soldered in a 2032 size cell. Time will tell if it stays set any longer, but with roughly 8X capacity hopefully it last a couple years.

lightbulbjim commented 1 year ago

Since adding a 470uF capacitor across the 3.3V rail a few months ago I haven't had any more resets. Not sure whether to put the fault down to poor design or cheap (out of spec) components.

CountParadox commented 1 year ago

I just received my transparent zorro, I am experiencing the RTC reset issue also, I will try the cap mod and see if it helps. Just wanted to let people know its still an issue on new units :)

Thomas-Cee commented 1 year ago

I wonder how a larger cap install, and how a larger 2032 button cell that @kf4mot referenced interface with eachother? Interesting that they both seem to cure the reset issue. Does the cap, provide a brief burst of current instead of being drawn from the battery, causing the battery to last longer? That's interesting. I do wonder what at a circuit level is happening in there...

kf4mot commented 1 year ago

Without schematics we're all just kind of speculating. I've added caps and a bigger RTC battery because I'm a belt and suspenders sort of guy. I don't see that either conclusively solves the problem though unfortunately. I've also considered adding a ceramic cap parallel with the RTC battery since coin cells can't handle high current draw. If the RTC ever needs a higher current pulse that could help. I have no evidence that's a issue though either. The larger CR2032 would handle higher current pulses better than the stock RTC battery on it's own by being larger.

TrevorCrouch commented 1 year ago

I've had quite a few Frsky, TBS TX's over the years which have worked just fine. Splashed out on the Zorro Max a few weeks ago and have the reset issue. It's annoying for sure and the above remedies appear too 'possibly work for a while'. My question is, does it effect anything if it does reset back to yr 2k or 1970??

lightbulbjim commented 1 year ago

It will affect logging and backups. Maybe the last modified time of files if you use the SD sync feature in Companion.

Adding the capacitor has fixed it reliably on my two Zorros.

TrevorCrouch commented 1 year ago

It will affect logging and backups. Maybe the last modified time of files if you use the SD sync feature in Companion.

Adding the capacitor has fixed it reliably on my two Zorros.

Thanks LBJ, did you install just the 470uf 6.3v? I have a bag full of 470uF 25v, could I use one of them perhaps?

lightbulbjim commented 1 year ago

I used a 10V since it's what I had to hand, but anything over 3.3V will be fine. Larger voltage ratings mean the capacitor will be physically larger so it might be a challenge to fit in the case.

It's on the left in the picture, near the coin cell. I did both my Zorros the same.

IMG_2096

TrevorCrouch commented 1 year ago

Can you confirm the dimensions of the 470uF 10v you used please Jim

lightbulbjim commented 1 year ago

Not without opening up a radio, no. But you can find specs online easily enough.

TrevorCrouch commented 1 year ago

Not a problem, I didn't know if you had more to hand. As I'm buying some and the 25v is a bit big, I'll grab som 10v's. Thanks for your input.

lightbulbjim commented 1 year ago

You should be able to find a 6.3V version which will be even smaller and easier to tuck out of the way.

sremick commented 1 year ago

@lightbulbjim The location you used for the capacitor appears quite different than other peoples' photos. Is it really identical to the one near the voltage regulator?

lightbulbjim commented 1 year ago

It just needs to be across the 3.3V rail and ground. Physical location doesn’t matter.

gagarinlg commented 1 year ago

I would liek to close this issue. It is not SW related and we can not do anything here within EdgeTX

corneliusmunz commented 1 year ago

@gagarinlg the only weirded thing is, that I never ever had that behaviour on the same Radio Hardware (Zorro 4in1 with Ranger Nano external Module) with the 2.7.0 version. So I am not sure, if it is really HW dependent.

W9CVO commented 1 year ago

@gagarinlg the only weirded thing is, that I never ever had that behaviour on the same Radio Hardware (Zorro 4in1 with Ranger Nano external Module) with the 2.7.0 version. So I am not sure, if it is really HW dependent.

I've been having the issue with both the 2.7.0 and 2.9.0 firmware in my Zorro 4in1 with Ranger Nano as well. Trying out the cap mod today to see if it helps.

sremick commented 1 year ago

I used a 10V since it's what I had to hand, but anything over 3.3V will be fine. Larger voltage ratings mean the capacitor will be physically larger so it might be a challenge to fit in the case.

It's on the left in the picture, near the coin cell. I did both my Zorros the same.

IMG_2096

I soldered mine to the same pads, but I instead bent the capacitor over the left edge of the PCB so it actually sits on the other side of the PCB. I did it this way to reduce the amount of exposed leads on the capacitor and chances that it might short against something else on the PCB.

taavituisk commented 11 months ago

Holding the power button a few seconds before letting go has helped to avoid resetting the rtc with my Zorro. If i let go as soon as the the shutoff finishes will reset the rtc quite reliably.

zatalian commented 11 months ago

Holding the power button a few seconds before letting go has helped to avoid resetting the rtc with my Zorro. If i let go as soon as the the shutoff finishes will reset the rtc quite reliably.

This no longer works for me with edgetx 2.9.1. Maybe this can be a clue for the devs to solve the problem? Whatever changed between 2.8.4 and 2.9.1, maybe you can do the opposite to solve the problem? Or maybe i should no longer postpone the capacitor solution...

CountParadox commented 11 months ago

470u 10v cap on 3.3v rail did not resolve the reset issue for me :(

Roman-Golod commented 11 months ago

470u 10v cap on 3.3v rail did not resolve the reset issue for me :(

Try 1000

Quas7 commented 11 months ago

I also had it not reliable with 470uF close to the coin cell. Therefore, I added a 10uF SMD capacitor on the not-coin-cell-side to the 3.3V+GND pads. That fixed the issue.

Because of that, I wanted to note, that the capacitor needs to be close to the actual RTC and that the RTC is likely not right next to the battery. That could also be the reason, why we see this issue as a long thin trace over the full board between battery and RTC part might have to much resistance and inductance to buffer the switch off event.

In short - just install another 470uF capacitor on the other side as well, if it is not working. ;)

JCHPennington commented 9 months ago

Hi, I have just bought a new Zorro 4in1, and noticed the same reset issue. Software updated to 2.9.2 Raised it with Radiomaster support and they are recommending a main board swap out with no instructions on what to do or specialist tools. The unit is new and hardly used. Was not expecting to have to replace the main board so early in the product life cycle. Any advice appreciated.

W9CVO commented 9 months ago

Hi, I have just bought a new Zorro 4in1, and noticed the same reset issue. Software updated to 2.9.2 Raised it with Radiomaster support and they are recommending a main board swap out with no instructions on what to do or specialist tools. The unit is new and hardly used. Was not expecting to have to replace the main board so early in the product life cycle. Any advice appreciated.

Are they shipping you a new board or do they expect you to buy it yourself? It appears to be only Phillips head screws to remove the rear cover and the board itself. I started a ticket with RM myself as well and am waiting for a reply. I was going to replace the off brand button cell RTC battery today in hopes of that fixing it but Amazon sent me the wrong battery.

JCHPennington commented 9 months ago

Hi W9CVO

Many thanks for your email, RM are planning to send me a new main board but I am pushing back as do not expect to have to do the work on such a new unit. Also what happens if unit does not work post replacement.

I have had issues with calibration values not holding as well.

I shall let you know how I get on. The radio is still very new and not actually used on an aircraft which has flown as I've been learning edge Tx

Julian

Sent from iPhone

On Thu, 14 Dec 2023 at 19:05, W9CVO @.***> wrote:

Hi, I have just bought a new Zorro 4in1, and noticed the same reset issue. Software updated to 2.9.2 Raised it with Radiomaster support and they are recommending a main board swap out with no instructions on what to do or specialist tools. The unit is new and hardly used. Was not expecting to have to replace the main board so early in the product life cycle. Any advice appreciated.

Are they shipping you a new board or do they expect you to buy it yourself? It appears to be only Phillips head screws to remove the rear cover and the board itself. I started a ticket with RM myself as well and am waiting for a reply. I was going to replace the off brand button cell RTC battery today in hopes of that fixing it but Amazon sent me the wrong battery.

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/2187#issuecomment-1856424441, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDFU52Q5ZIBGODSZL3XG7ULYJNEX3AVCNFSM55VDEUGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGY2DENBUGQYQ . You are receiving this because you commented.Message ID: @.***>

KC748 commented 9 months ago

A member on RcGroups reported that the replacement main board he received from Radiomaster solved the resetting RTC problem on his Zorro. https://www.rcgroups.com/forums/showthread.php?4027391-RadioMaster-ZORRO-is-here&postid=51714643

If the new board doesn’t fix the problem, then you could try and add a capacitor as many in this tread have done. (470uF-1000uF, 6v or higher). There are numerous attached photos in this thread that shows where the capacitor should be installed.

In any case, photos of the new board would be of interest to see what has changed. If you are able, please post some pictures. Both sides of the new board.

JCHPennington commented 9 months ago

Hi,

Many thanks for that it is appreciated. I am just waiting for Radiomaster to replace the main board. I have requested that the board replacement is done at regional repair facility as it looks very detailed repair despite the offer to send it to myself to action. I don’t really want to 'open up’ the radio as putting it back together is not without risk of none-functioning. Although for others it is not considered to be a risk.

Hopefully this will resolve the issue from everyone’s perspective.

Regards

Julian

On 15 Dec 2023, at 21:18, KC748 @.***> wrote:

A member on RcGroups reported that the replacement main board he received from Radiomaster solved the resetting RTC problem on his Zorro. https://www.rcgroups.com/forums/showthread.php?4027391-RadioMaster-ZORRO-is-here&postid=51714643 https://www.rcgroups.com/forums/showthread.php?4027391-RadioMaster-ZORRO-is-here&postid=51714643 If the new board doesn’t fix the problem, then you could try and add a capacitor as many in this tread have done. (470uF-1000uF, 6v or higher). There are numerous attached photos in this thread that shows where the capacitor should be installed.

In any case, photos of the new board would be of interest to see what has changed. If you are able, please post some pictures. Both sides of the new board.

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/2187#issuecomment-1858501361, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDFU52XX6EVSFMYKTS6O3RDYJS5ARAVCNFSM55VDEUGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHA2TAMJTGYYQ. You are receiving this because you commented.

gsimonnet commented 8 months ago

Radiomaster sent me a new main board under warranty, which I just replaced, and so far it fixes the problem. The old board was version 2.2, the new one version 2.5. The electrolytic capacitors are the same on both. See picture for comparison. RMZorro

mikecarr commented 7 months ago

Radiomaster sent me a new main board under warranty, which I just replaced, and so far it fixes the problem. The old board was version 2.2, the new one version 2.5. The electrolytic capacitors are the same on both. See picture for comparison. RMZorro

I am also getting a new board, will update once I get it. They said they would send after the New Year

gsimonnet commented 7 months ago

Radiomaster sent me a new main board under warranty, which I just replaced, and so far it fixes the problem. The old board was version 2.2, the new one version 2.5. The electrolytic capacitors are the same on both. See picture for comparison. RMZorro

I am also getting a new board, will update once I get it. They said they would send after the New Year

Unlike me, remember to reflash the new board to match your microSD card before using...

sremick commented 7 months ago

I'm going to swap the motherboard on my Radiomaster Zorro so I want to ensure I back up everything so I can restore it to the way it was before after the work is done. Because of the nature of this, it's imperative that I ensure I've backed up everything 100% first since it won't be easy to back and get anything I missed.

Going by this:

https://oscarliang.com/setup-zorro/#Backup-and-Restore-of-Radio-Settings

...is it sufficient to back up the "Radio Settings" and "Model Profiles" or is there anything else?

gsimonnet commented 7 months ago

I'm going to swap the motherboard on my Radiomaster Zorro so I want to ensure I back up everything so I can restore it to the way it was before after the work is done. Because of the nature of this, it's imperative that I ensure I've backed up everything 100% first since it won't be easy to back and get anything I missed.

Going by this:

https://oscarliang.com/setup-zorro/#Backup-and-Restore-of-Radio-Settings

...is it sufficient to back up the "Radio Settings" and "Model Profiles" or is there anything else?

I usually backup the content of the entire microSD card since it is not that big. After the swap, just reuse your old SD card, but reflash the board to match the last version of EdgeTc installed (i.e. the last bin file flashed from the FIRMWARE folder).

pfeerick commented 7 months ago

Reading the radio with Companion and saving the result to an .etx file should be sufficient for recovery (of anything firmware version related). Alternately, a copy of the MODEL and RADIO folders. But a copy of the entire card certainly don't hurt. Plus it is pretty quick and painless to maintain if you use the Sync option in Companion... it only copies the changes on subsequent runs.

strauss115 commented 6 months ago

I also got a replacement board under warranty from Radiomaster. With the new board the date/time reset issue is fixed. Interestingly, the old board version was also 2.5. So it seems that is a general issue not related to a specific board version.

sloped-soarer commented 2 months ago

Hi. Not sure if I have the same issue. However I can state with confidence that the RTC resets on my Zorro when it is powered down and the top USB port is connected to a computer (forcing the DFU mode). Zorro is new. Lithium coin cell was also new and it's voltage was checked before testing.

JCHPennington commented 2 months ago

Hi yes its the same issue I have.

On Thu, 11 Jul 2024, 19:50 sloped-soarer, @.***> wrote:

Hi. Not sure if I have the same issue. However I can state with confidence that the RTC resets on my Zorro when it is powered down and the top USB port is connected to a computer (forcing the DFU mode). Zorro is new. Lithium coin cell was also new and it's voltage was checked before testing.

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/2187#issuecomment-2223535702, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDFU52XKQIHDAGZXH7XAN6LZL3AX7AVCNFSM55VDEUGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRSGM2TGNJXGAZA . You are receiving this because you commented.Message ID: @.***>

sloped-soarer commented 2 months ago

Hi. I got this response from Radiomaster support.

" Yes, the RTC clock will reset when entering DFU mode, this is a normal phenomenon, it will not reset without entering DFU. When you shut down or take out the 18350 battery and put it back in later, if the time is not reset, it means that the remote control is normal, it will reset only in DFU mode, and will not reset when not using DFU. " I would like to know what processor is used in the Zorro and why entering DFU resets the RTC ?.

Also my Zorro randomly resets the RTC through normal power on / off cycles.

lightbulbjim commented 2 months ago

I’m afraid that response from RadioMaster comes across as wilfully ignorant. 🙄On 16 Jul 2024, at 21:50, sloped-soarer @.***> wrote: Hi. I got this response from Radiomaster support. " Yes, the RTC clock will reset when entering DFU mode, this is a normal phenomenon, it will not reset without entering DFU. When you shut down or take out the 18350 battery and put it back in later, if the time is not reset, it means that the remote control is normal, it will reset only in DFU mode, and will not reset when not using DFU. " I would like to know what processor is used in the Zorro and why entering DFU resets the RTC ?. Also my Zorro randomly resets the RTC through normal power on / off cycles.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

JCHPennington commented 2 months ago

Hi this is problem and now my zorro will not power up at all despite a full charged batteries.

More challenges and not happy

Regards

Julian

On Tue, 16 Jul 2024, 13:58 Chris Rendle-Short, @.***> wrote:

I’m afraid that response from RadioMaster comes across as wilfully ignorant. 🙄On 16 Jul 2024, at 21:50, sloped-soarer @.***> wrote: Hi. I got this response from Radiomaster support. " Yes, the RTC clock will reset when entering DFU mode, this is a normal phenomenon, it will not reset without entering DFU. When you shut down or take out the 18350 battery and put it back in later, if the time is not reset, it means that the remote control is normal, it will reset only in DFU mode, and will not reset when not using DFU. " I would like to know what processor is used in the Zorro and why entering DFU resets the RTC ?. Also my Zorro randomly resets the RTC through normal power on / off cycles.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/EdgeTX/edgetx/issues/2187#issuecomment-2230710369, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDFU52Q3TCMUX37IE7PTWC3ZMUDHVAVCNFSM55VDEUGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRTGA3TCMBTGY4Q . You are receiving this because you commented.Message ID: @.***>