Connecting GPIO16 to RST is only for ESP8266 i assume, at least it did not change anything for me.
At the moment, the board goes to sleep but it always wakes up with a cold boot, for that reason it always sets the security timer for not going to sleep to 30s (System#NoSleep=30).
To my understanding, this should only be set on the first cold boot and not after waking up from sleep.
Attached a snippet of the log
Code: Select all
3418 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 213644 WiFiStatus 3
3512 : Info : EVENT: System#NoSleep=5
7351 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 213884 WiFiStatus 3
7353 : Info : SLEEP: Entering deep sleep in 30 seconds.
7353 : Info : EVENT: System#NoSleep=30
37356 : Info : EVENT: System#Sleep
37359 : Info : SLEEP: Powering down to deepsleep...
ets Jun 8 2016 00:22:57
rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DOUT, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac
ªU38 : Info :
INIT : Booting version: mega-20200608 (ESP32 SDK v3.2.3-14-gd3e562907)
39 : Info : INIT : Free RAM:290016
40 : Info : INIT : Cold Boot - Restart Reason: CPU0: Deep Sleep, Wakeup reason (901) CPU1: for APP CPU, reseted by PRO CPU
40 : Info : FS : Mounting...
69 : Info : CRC : No program memory checksum found. Check output of crc2.py
79 : Info : CRC : SecuritySettings CRC ...OK
151 : Info : INIT : Free RAM:285052
151 : Info : INIT : I2C
152 : Info : INIT : SPI not enabled
341 : Info : INFO : Plugins: 81 [Normal] [TEST ESP32] (ESP32 SDK v3.2.3-14-gd3e562907)
342 : Info : EVENT: System#NoSleep=5
346 : Info : EVENT: System#Wake
449 : Info : WIFI : Set WiFi to STA
587 : Info : WIFI : Start network scan
589 : Info : WIFI : Connecting netgear attempt #0
594 : Info : Webserver: start
597 : Info : OTA : Arduino OTA enabled on port 3232
610 : Info : EVENT: System#Boot
2335 : Info : WIFI : Connected! AP: netgear (EC:08:6B:24:CA:4C) Ch: 6 Duration: 1581 ms
2336 : Info : WIFI : DHCP IP: 192.168.2.184 (TEST-ESP32) GW: 192.168.2.1 SN: 255.255.255.0 duration: 19 ms
2350 : Info : firstLoopConnectionsEstablished
2352 : Info : EVENT: WiFi#ChangedAccesspoint
2354 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 213976 WiFiStatus 3
2509 : Info : NTP : NTP replied: delay 140 mSec Accuracy increased by 0.646 seconds
2510 : Info : Time set to 1593186073.646
2511 : Info : Current Time Zone: DST time start: 2020-03-29 02:00:00 offset: 120 min STD time start: 2020-10-25 03:00:00 offset: 60 min
2512 : Info : Local time: 2020-06-26 17:41:13
2513 : Info : EVENT: Clock#Time=Fri,17:41
2517 : Info : EVENT: WiFi#Connected
2522 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 212680 WiFiStatus 3
2617 : Info : EVENT: System#NoSleep=5
2717 : Info : EVENT: Time#Initialized
7351 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 213532 WiFiStatus 3
7352 : Info : SLEEP: Entering deep sleep in 30 seconds.
7353 : Info : EVENT: System#NoSleep=30