Rebooting after send command
Hardware
ESP32
Firmware version
2.4.6
Application version
2.4.6
What happened? What did you expect to happen?
ESP32 keeps rebooting every few minutes, anyone else having this problem?
please see logs below;
Logs:
[19:17:39]Timing Somfy: 287ms [19:17:39]Timinul 29 2019 12:21:46 [19:17:39] [19:17:39]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:17:39]configsip: 0, SPIWP:0xee [19:17:39]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:17:39]mode:DIO, clock div:1 [19:17:39]load:0x3fff0030,len:1344 [19:17:39]load:0x40078000,len:13964 [19:17:39]load:0x40080400,len:3600 [19:17:39]entry 0x400805f0 [19:17:39]E (300) psram: PSRAM ID read error: 0xffffffff [19:17:39] [19:17:39]Startup/Boot.... [19:17:39]Mounting File System... [19:17:39]File system mounted successfully [19:17:39]Chip Model ESP32- [19:17:39]Preference IP Free Entries: 495 [19:17:41]SECURITY Type:0 Username:[] Password:[] Pin:[] Permissions:0 [19:17:41]Connection Type: 1 [19:17:41]NTP Settings [19:17:41]pool.ntp.org TZ:GMT0BST,M3.5.0/1,M10.5.0 [19:17:41]WIFI Settings [19:17:41] SSID: [SHAW-NET] PassPhrase: [] [19:17:41] [19:17:41]Launching web server... [19:17:41]Creating Web MicroServices... [19:17:42]WiFi Mode: 0 19:17:42 WiFi interface ready [19:17:42]WiFi station mode started [19:17:42]Socket Server Started... [19:17:42]App Version:2.4.6 [19:17:42]shades.cfg exists so we are using that [19:17:42]Reading header at 0 [19:17:42]version:24 len:76 roomSize:29 roomRecs:1 shadeSize:276 shadeRecs:1 groupSize:200 groupRecs: 0 pos:76 [19:17:42]Applying radio settings Setting Data Pins RX:12 TX:13 [19:17:42]Setting SPI Pins SCK:18 MISO:19 MOSI:23 CSN:5 [19:17:42]Radio Pins Configured! [19:17:42]Successfully set up the radio [19:17:42]Enabled receive on Pin #12 Timing: 1 [19:17:42]Initializing RX Queue 19:17:46 Completed scan for access points (2) [19:17:46]Connecting to AP 90:9A:4A:AF:0C:60 CH: 11 [19:17:47]WiFi begin... [19:17:47]Timing Net: 108ms 19:18:05 Connected to WiFi STA access point 19:18:05 Got WiFi STA IP: 192.168.3.95 [19:18:05]Setting connected... [19:18:05] [19:18:05]Successfully Connected to WiFi!!!!192.168.3.95 (-39dbm) [19:18:05]MDNS Responder Started: serverId=8D16FC [19:18:05]Max Heap: 110580 [19:18:05]Free Heap: 165264 [19:18:05]Min Heap: 163876 [19:18:06]Socket [0] Connected from 192.168.3.35 url: / [19:18:06]Initializing Socket Client 0 [19:18:10]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:18:10]Connected to SSDP... [19:18:20]Request /sony/system 404-3 POST Loading file /index.html [19:18:20]Timing WebServer: 355ms [19:18:21]Socket [1] Connected from 192.168.3.40 url: / [19:18:21]Initializing Socket Client 1 [19:18:21]Max Heap: 110580 [19:18:21]Free Heap: 154160 [19:18:21]Min Heap: 140860 [19:18:23]Request /sony/accessControl 404-3 POST Socket [1] Disconnected! [19:18:33]Request /sony/accessControl 404-3 POST Sending Shade Command [19:18:33]Received:{"shadeId":1,"command":"down"} [19:18:33]CMD:Down ADDR:51310 RCODE:145 REPEAT:0 [19:18:33]Enabled receive on Pin #12 Timing: 0 [19:18:33]Timing WebServer: 162ms [19:18:36]Sending Shade Command [19:18:36]Received:{"shadeId":1,"command":"my"} [19:18:36]Moving to My Position [19:18:39]Sending Shade Command [19:18:39]Received:{"shadeId":1,"command":"up"} [19:18:39]CMD:Up ADDR:51310 RCODE:146 REPEAT:0 [19:18:39]Enabled receive on Pin #12 Timing: 0 [19:18:39]Timing WebServer: 163ms [19:18:47]E (70896) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: [19:18:47]E (70896) task_wdt: - loopTask (CPU 1) [19:18:47]E (70896) task_wdt: Tasks currently running: [19:18:47]E (70896) task_wdt: CPU 0: IDLE0 [19:18:47]E (70896) task_wdt: CPU 1: IDLE1 [19:18:47]E (70896) task_wdt: Aborting. [19:18:47] [19:18:47]abort() was called at PC 0x40113954 on core 0 [19:18:47] [19:18:47] [19:18:47]Backtrace: 0x40083d25:0x3ffbed6c |<-CORRUPTED [19:18:47] [19:18:47] [19:18:47] [19:18:47] [19:18:47]ELF file SHA256: f81fd5f3694043bf [19:18:47] [19:18:47]Rebooting... [19:18:47]ets Jul 29 2019 12:21:46 [19:18:47] [19:18:47]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:18:47]configsip: 0, SPIWP:0xee [19:18:47]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:18:47]mode:DIO, clock div:1 [19:18:47]load:0x3fff0030,len:1344 [19:18:47]load:0x40078000,len:13964 [19:18:47]load:0x40080400,len:3600 [19:18:47]entry 0x400805f0 [19:18:47]E (300) psram: PSRAM ID read error: 0xffffffff [19:18:47] [19:18:47]Startup/Boot.... [19:18:47]Mounting File System... [19:18:47]File system mounted successfully [19:18:47]Chip Model ESP32- [19:18:47]Preference IP Free Entries: 495 [19:18:47]SECURITY Type:0 Username:[] Password:[] Pin:[] Permissions:0 [19:18:47]Connection Type: 1 [19:18:47]NTP Settings [19:18:47]pool.ntp.org TZ:GMT0BST,M3.5.0/1,M10.5.0 [19:18:47]WIFI Settings [19:18:47] SSID: [SHAW-NET] PassPhrase: [] [19:18:47] [19:18:47]Launching web server... [19:18:47]Creating Web MicroServices... [19:18:48]WiFi Mode: 0 19:18:48 WiFi interface ready [19:18:48]WiFi station mode started [19:18:48]Socket Server Started... [19:18:48]App Version:2.4.6 [19:18:48]shades.cfg exists so we are using that [19:18:49]Reading header at 0 [19:18:49]version:24 len:76 roomSize:29 roomRecs:1 shadeSize:276 shadeRecs:1 groupSize:200 groupRecs: 0 pos:76 [19:18:49]Applying radio settings Setting Data Pins RX:12 TX:13 [19:18:49]Setting SPI Pins SCK:18 MISO:19 MOSI:23 CSN:5 [19:18:49]Radio Pins Configured! [19:18:49]Successfully set up the radio [19:18:49]Enabled receive on Pin #12 Timing: 1 [19:18:49]Initializing RX Queue 19:18:53 Completed scan for access points (2) [19:18:53]Connecting to AP 90:9A:4A:AF:0C:60 CH: 11 [19:18:53]WiFi begin... [19:18:53]Timing Net: 108ms 19:19:12 Connected to WiFi STA access point 19:19:12 Got WiFi STA IP: 192.168.3.95 [19:19:12]Setting connected... [19:19:12] [19:19:12]Successfully Connected to WiFi!!!!192.168.3.95 (-36dbm) [19:19:12]MDNS Responder Started: serverId=8D16FC [19:19:12]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:19:12]Connected to SSDP... [19:19:12]Disconnected from SSDP... [19:19:12]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:19:12]Connected to SSDP... [19:19:12]Max Heap: 110580 [19:19:12]Free Heap: 156776 [19:19:12]Min Heap: 155364 [19:19:12]Socket [0] Connected from 192.168.3.35 url: / [19:19:12]Initializing Socket Client 0 [19:19:47]Request /sony/system 404-3 POST Request /sony/accessControl 404-3 POST Request /sony/accessControl 404-3 POST Socket [1] Connected from 192.168.3.35 url: / [19:19:47]Initializing Socket Client 1 [19:19:49]Socket [0] Disconnected! [19:19:59]Request /sony/system 404-3 POST (evt) Completed scan for access points (2) [19:20:37]Request /sony/accessControl 404-3 POST E (109880) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: [19:20:37]E (109880) task_wdt: - loopTask (CPU 1) [19:20:37]E (109880) task_wdt: Tasks currently running: [19:20:37]E (109880) task_wdt: CPU 0: IDLE0 [19:20:37]E (109880) task_wdt: CPU 1: IDLE1 [19:20:37]E (109880) task_wdt: Aborting. [19:20:37] [19:20:37]abort() was called at PC 0x40113954 on core 0 [19:20:37] [19:20:37] [19:20:37]Backtrace: 0x40083d25:0x3ffbed6c |<-CORRUPTED [19:20:37] [19:20:37] [19:20:37] [19:20:37] [19:20:37]ELF file SHA256: f81fd5f3694043bf [19:20:37] [19:20:37]Rebooting... [19:20:37]ets Jul 29 2019 12:21:46 [19:20:37] [19:20:37]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:20:37]configsip: 0, SPIWP:0xee [19:20:37]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:20:37]mode:DIO, clock div:1 [19:20:37]load:0x3fff0030,len:1344 [19:20:37]load:0x40078000,len:13964 [19:20:37]load:0x40080400,len:3600 [19:20:37]entry 0x400805f0 [19:20:38]E (300) psram: PSRAM ID read error: 0xffffffff [19:20:38] [19:20:38]Startup/Boot.... [19:20:38]Mounting File System... [19:20:38]File system mounted successfully [19:20:38]Chip Model ESP32- [19:20:38]Preference IP Free Entries: 495 [19:20:38]SECURITY Type:0 Username:[] Password:[] Pin:[] Permissions:0 [19:20:38]Connection Type: 1 [19:20:38]NTP Settings [19:20:38]pool.ntp.org TZ:GMT0BST,M3.5.0/1,M10.5.0 [19:20:38]WIFI Settings [19:20:38] SSID: [SHAW-NET] PassPhrase: [] [19:20:38] [19:20:38]Launching web server... [19:20:38]Creating Web MicroServices... [19:20:39]WiFi Mode: 0 19:20:39 WiFi interface ready [19:20:39]WiFi station mode started [19:20:39]Socket Server Started... [19:20:39]App Version:2.4.6 [19:20:39]shades.cfg exists so we are using that [19:20:39]Reading header at 0 [19:20:39]version:24 len:76 roomSize:29 roomRecs:1 shadeSize:276 shadeRecs:1 groupSize:200 groupRecs: 0 pos:76 [19:20:39]Applying radio settings Setting Data Pins RX:12 TX:13 [19:20:39]Setting SPI Pins SCK:18 MISO:19 MOSI:23 CSN:5 [19:20:39]Radio Pins Configured! [19:20:39]Successfully set up the radio [19:20:39]Enabled receive on Pin #12 Timing: 1 [19:20:39]Initializing RX Queue 19:20:43 Completed scan for access points (2) [19:20:43]Connecting to AP 90:9A:4A:AF:0C:60 CH: 11 [19:20:43]WiFi begin... [19:20:43]Timing Net: 108ms 19:21:04 Disconnected from WiFi STA access point. Connecting: 1 [19:21:22]Timing Net: 709ms [19:21:23]Timing Net: 517ms 19:21:23 Connected to WiFi STA access point 19:21:23 Got WiFi STA IP: 192.168.3.95 [19:21:23]Setting connected... [19:21:23] [19:21:23]Successfully Connected to WiFi!!!!192.168.3.95 (-39dbm) [19:21:23]MDNS Responder Started: serverId=8D16FC [19:21:23]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:21:23]Connected to SSDP... [19:21:23]Disconnected from SSDP... [19:21:23]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:21:23]Connected to SSDP... [19:21:23]Max Heap: 110580 [19:21:23]Free Heap: 156888 [19:21:23]Min Heap: 156172 [19:21:23]Socket [0] Connected from 192.168.3.35 url: / [19:21:23]Initializing Socket Client 0 19:21:27 Completed scan for access points (2) [19:21:52]Request /sony/system 404-3 POST Request /sony/accessControl 404-3 POST Socket [1] Connected from 192.168.3.35 url: / [19:21:52]Initializing Socket Client 1 [19:21:55]Request /sony/accessControl 404-3 POST Socket [0] Disconnected! [19:22:32]Request /sony/accessControl 404-3 POST Request /sony/accessControl 404-3 POST Request /sony/accessControl 404-3 POST Setting Last Rolling code 675 19:22:34 Completed scan for access points (2) [19:22:39]E (121912) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: [19:22:39]E (121912) task_wdt: - loopTask (CPU 1) [19:22:39]E (121912) task_wdt: Tasks currently running: [19:22:39]E (121912) task_wdt: CPU 0: IDLE0 [19:22:39]E (121912) task_wdt: CPU 1: IDLE1 [19:22:39]E (121912) task_wdt: Aborting. [19:22:39] [19:22:39]abort() was called at PC 0x40113954 on core 0 [19:22:39] [19:22:39] [19:22:39]Backtrace: 0x40083d25:0x3ffbed6c |<-CORRUPTED [19:22:39] [19:22:39] [19:22:39] [19:22:39] [19:22:39]ELF file SHA256: f81fd5f3694043bf [19:22:39] [19:22:39]Rebooting... [19:22:39]ets Jul 29 2019 12:21:46 [19:22:39] [19:22:39]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [19:22:39]configsip: 0, SPIWP:0xee [19:22:39]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [19:22:39]mode:DIO, clock div:1 [19:22:39]load:0x3fff0030,len:1344 [19:22:39]load:0x40078000,len:13964 [19:22:39]load:0x40080400,len:3600 [19:22:39]entry 0x400805f0 [19:22:40]E (300) psram: PSRAM ID read error: 0xffffffff [19:22:40] [19:22:40]Startup/Boot.... [19:22:40]Mounting File System... [19:22:40]File system mounted successfully [19:22:40]Chip Model ESP32- [19:22:40]Preference IP Free Entries: 495 [19:22:40]SECURITY Type:0 Username:[] Password:[] Pin:[] Permissions:0 [19:22:40]Connection Type: 1 [19:22:40]NTP Settings [19:22:40]pool.ntp.org TZ:GMT0BST,M3.5.0/1,M10.5.0 [19:22:40]WIFI Settings [19:22:40] SSID: [SHAW-NET] PassPhrase: [] [19:22:40] [19:22:40]Launching web server... [19:22:40]Creating Web MicroServices... [19:22:41]WiFi Mode: 0 19:22:41 WiFi interface ready [19:22:41]WiFi station mode started [19:22:41]Socket Server Started... [19:22:41]App Version:2.4.6 [19:22:41]shades.cfg exists so we are using that [19:22:41]Reading header at 0 [19:22:41]version:24 len:76 roomSize:29 roomRecs:1 shadeSize:276 shadeRecs:1 groupSize:200 groupRecs: 0 pos:76 [19:22:41]Applying radio settings Setting Data Pins RX:12 TX:13 [19:22:41]Setting SPI Pins SCK:18 MISO:19 MOSI:23 CSN:5 [19:22:41]Radio Pins Configured! [19:22:41]Successfully set up the radio [19:22:41]Enabled receive on Pin #12 Timing: 1 [19:22:41]Initializing RX Queue 19:22:45 Completed scan for access points (2) [19:22:45]Connecting to AP 90:9A:4A:AF:0C:60 CH: 11 [19:22:45]WiFi begin... [19:22:45]Timing Net: 109ms 19:23:04 Connected to WiFi STA access point 19:23:04 Got WiFi STA IP: 192.168.3.95 [19:23:04]Setting connected... [19:23:04] [19:23:04]Successfully Connected to WiFi!!!!192.168.3.95 (-36dbm) [19:23:04]MDNS Responder Started: serverId=8D16FC [19:23:04]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:23:04]Connected to SSDP... [19:23:04]Disconnected from SSDP... [19:23:04]SSDP: urn:schemas-rstrouse-org:device:ESPSomfyRTS:1 - true [19:23:04]Connected to SSDP... [19:23:04]Max Heap: 110580 [19:23:04]Free Heap: 161720 [19:23:04]Min Heap: 159220 [19:23:08]Socket [0] Connected from 192.168.3.35 url: / [19:23:08]Initializing Socket Client 0
How to reproduce it (step by step)
power up ESP32 and leave for minute
RESOLVED, issue was the ESP32 board itself, now changed to ESP32 WROOM and all working with no random rebooting.