[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
ENVIRONMENT:
espressif32@3.3.2 -> framework-espidf @ 3.40300.0 (4.3.0)
espressif32@5.2.0 ->framework-espidf @ 3.40402.0 (4.4.2) (also tried with this and same result)
DESCRIPTION:
If the wake up is programmed to happen each 30-60 seconds there is no problem. The ESP wakes up ok.
But if the wakeup is set to be 180 sec or longer the system never wakes up.
We have cheched for undetermined voltage in strapping pins, we have also checked the RTC FAST MEMORY is set to be on.
We are using FAST and SLOW RTC memory for placing some data for our program.
I am wondering about this setting in the bootloader config?
[ ] Reserve RTC FAST memory for custom purposes
Not sure if enable it. In other project I did not need to enable it and everything worked fine.
HW info (from faulty device reproducing the error)
esptool.py flash_id
esptool.py v2.8
Found 1 serial ports
Serial port COM2
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e8:31:cd:54:c0:40
Uploading stub...
Running stub...
Stub running...
Manufacturer: 5e
Device: 4016
Detected flash size: 4MB
NOTES:
We are not using flash encryption.
FReeRTos unicore has been disabled and no succes.
This is only happening in some devices.
"Extra delay in deep sleep wake stub (in us)" changed from 2000 to 5000 and no success
Others devices show a different flash manufacturer (Manufacturer: 20).
We have devices on field which stopped working after 1 month or so. We are assuming the root cause might be the same.
Now, we are out of ideas for catching the error. Any ideas?
Answers checklist.
General issue report
ENVIRONMENT: espressif32@3.3.2 -> framework-espidf @ 3.40300.0 (4.3.0) espressif32@5.2.0 ->framework-espidf @ 3.40402.0 (4.4.2) (also tried with this and same result)
DESCRIPTION:
If the wake up is programmed to happen each 30-60 seconds there is no problem. The ESP wakes up ok. But if the wakeup is set to be 180 sec or longer the system never wakes up.
The bootloader shows the following:
We have cheched for undetermined voltage in strapping pins, we have also checked the RTC FAST MEMORY is set to be on.
We are using FAST and SLOW RTC memory for placing some data for our program. I am wondering about this setting in the bootloader config?
[ ] Reserve RTC FAST memory for custom purposes
Not sure if enable it. In other project I did not need to enable it and everything worked fine.
HW info (from faulty device reproducing the error)
NOTES:
Now, we are out of ideas for catching the error. Any ideas?
Regards, Ramon.