Closed Dixilea closed 2 months ago
Is there any log output from the serial port to provide explanation?
@lewisxhe Unfortunately, there is no additional output from the serial port right around a crash. Being new to ESP32s, I also don't know if it'd be possible to "extract more debug output" by enabling some feature or so.
I used this sketch and it didn't get stuck, but it looped through sleep and then restarted, you can try it
https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/commit/54becb5f574c4009935a00cdd2c68a78c942c671
I've tried the sketch you made - https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/commit/54becb5f574c4009935a00cdd2c68a78c942c671 - and can tell that the issue persists on my device. Random crashes between the 2nd and 10th awakening from deep sleep.
It seems that your device has a problem. I tested it by cycling sleep and wakeup 90 times and it didn't crash. If it is definitely a device problem, then go to the dealer.
@lewisxhe Thanks for the independent test! A device problem now indeed seems like the most logical conclusion. I'll close this issue.
I am encountering random crashes with my LILYGO Screen-4.7S3 V2.3 2021-6-10.
I think I have pinpointed the issue to epd_init(). Here is a minimal example that suffers from crashes:
Also, here is platformio.ini:
Here is a typical output, with the crash occurring after the 4th wake up:
I should note that the crashes occurs after a random number of awakenings. Usually, the crash happens between the 2nd and 10th awakening; I don't remember it happening after the 1st. It is rare for me to see the code run successfully for more than 10 awakenings.
Any suggestions? Could the unit simply be faulty?