firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: Firmware reset after battery dies

Open DomTheDorito opened this issue 1 year ago • 22 comments

Category

Other

Hardware

Heltec v2

Firmware Version

2.2.21

Description

Device settings get reset after battery dies (region, channels, users etc).

To reproduce issue:

  1. While device is powered on, allow battery to run flat
  2. Plug in the charge battery/power device
  3. Region becomes unset, and acts like its a new device, asks to re-pair to phone

Relevant log output

No response

DomTheDorito avatar Feb 22 '24 07:02 DomTheDorito

I'm curious, Is the node connected to a client by Bluetooth when the battery dies? Does it reset when NOT connected via Bluetooth?

pdxlocations avatar Feb 22 '24 07:02 pdxlocations

It's done it in both cases now.

DomTheDorito avatar Feb 22 '24 07:02 DomTheDorito

Ok thanks, I had a brownout reset issue with nRF and others have reported resets when losing Bluetooth connection so I was curious if they might be related. #2936

pdxlocations avatar Feb 22 '24 07:02 pdxlocations

I'll do some more testing tomorrow afternoon, and I'll try and get some useful logs

DomTheDorito avatar Feb 22 '24 07:02 DomTheDorito

Same issue, rak 4631 with a 1000mah flat pack.

When mine resets though the ble pin switches to random and I have to reset via serial

Hamspiced avatar Feb 26 '24 00:02 Hamspiced

same issue with my heltec v2.1....

cracky22 avatar Mar 03 '24 18:03 cracky22

I have run into this issue at least once on a Heltec v3 as well.

OrByR avatar Mar 07 '24 16:03 OrByR

In my case, on a Heltec v3 set up as a router, the brownout just resets the long and short name. The other settings seem to be preserved and it allows me to fix the name settings remotely via the admin channel.

FW 2.3.2 I believe.

Holyszewski avatar Apr 13 '24 11:04 Holyszewski

Yep and finally my heltec v3 now also has these problems

cracky22 avatar Apr 13 '24 18:04 cracky22

Does this happen every time the battery dies, or just sometimes?

S5NC avatar Apr 16 '24 17:04 S5NC

Does this happen every time the battery dies, or just sometimes?

It is infrequent. Sometimes ill go 2-3 charges from dead before it pops up. Sometimes a week.

The Heltec Wireless Stick Lite seems to have it happen much more frequently than my other devices.

Recently a solar node/rak wireless build had this occur. Normally not an issue but it was mounted 30' up. Definately a pita to get it down and set it up again. This particular device was setup as a Router/Client the other devices i had it occur on were only clients.

Hamspiced avatar Apr 16 '24 17:04 Hamspiced

Does this happen every time the battery dies, or just sometimes?

For me the problem only occurs very sporadically. sometimes it can take weeks to occur but sometimes three to four days are enough...

cracky22 avatar Apr 16 '24 17:04 cracky22

This issue has been mentioned on Meshtastic. There might be relevant details there:

https://meshtastic.discourse.group/t/meshtastic-scotland/11479/108

meshtastic-bot avatar May 12 '24 08:05 meshtastic-bot

In my case, on a Heltec v3 set up as a router, the brownout just resets the long and short name. The other settings seem to be preserved and it allows me to fix the name settings remotely via the admin channel.

FW 2.3.2 I believe.

Had the same issue on both my Heltec Tracker nodes after the battery went flat. Set up as Clients. FW 2.3.3

WUBBSY avatar May 19 '24 09:05 WUBBSY

I'm also seeing the same on 2.3.10 on Heltec V3. Set up as Router Clients.

fattredd avatar May 29 '24 00:05 fattredd