M5Paper loosing power completely
-
I would like to use M5Paper with ESPHome, and I have trouble with shutdown.
After a couple of wake-shutdown cycle, the device loose power completely, which means it cannot wake up from RTC.
Buttons do not do anything, only way to wake it up is via USB connected.
The strange thing is, RTC get's resetted as well, every time this happens, RTC is back to 0:0, so no wonder why wakeup was not working.
How is it possible to RTC to loose power, I thought it is directly connected to the battery.Thanks in advance!
-
Hello @zoli0726
what you describe points to an empty battery. How long did you charge the battery?
Thanks
Felix -
@zoli0726 have you remembered to make sure the paper is charged fully?
-
Hello @felmue @ajb2k3. Yes, the battery is fully charged, also interrestingly the code is stable when running from USB power. After disconnecting, and a coupde of shutdown-wakeup cycles passes, it freezes. I'm also monitoring the battery voltage, and its well above empty. I dont think it would even have enough time to discharge, since its happening after 15-20 mins, when disconnected from USB.
The device can shutdown-wakeup indefinitely if I build projects in Arduino ide, so for now I would say it is unlikely a hw issue.
-
Looks like it has to do something with the bootloader.
I previously flashed the full factory-firmware which comes out of ESHome(platformio) build, but if I just flash the firmware to 0x10000, then it boots up all the time from battery as well. Needs more digging what could go wrong with platformio bootloader.