Open edg2s opened 6 years ago
getting this now as well
10:30:24.803 -> Listing directory: /
10:30:24.871 -> FILE: /css/styles.css SIZE: 32
10:30:24.871 -> FILE: /favicon.ico SIZE: 4286
10:30:24.904 -> FILE: /images/atom196.png SIZE: 5469
10:30:24.904 -> FILE: /index.htm SIZE: 10965
10:30:24.904 -> FILE: /js/app.js SIZE: 13568
10:30:25.004 -> Connecting to Zombo
10:30:25.137 -> HTTP server started
10:30:25.137 -> Main code running on core 1
10:30:25.372 -> ....
10:30:25.940 -> WiFi connected
10:30:25.940 -> IP address: 192.168.0.101
10:30:26.041 -> HTTP server started
10:30:26.544 -> Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
10:30:26.577 -> Core 0 register dump:
10:30:26.577 -> PC : 0x400d6ad5 PS : 0x00050034 A0 : 0x40081714 A1 : 0x3ffc05e0
10:30:26.577 -> A2 : 0x00000000 A3 : 0x3ff56000 A4 : 0x00000000 A5 : 0x3ffc5380
10:30:26.577 -> A6 : 0x00000001 A7 : 0x00000001 A8 : 0x00000018 A9 : 0x00000001
10:30:26.577 -> A10 : 0x00000000 A11 : 0x00000000 A12 : 0x800e0c0c A13 : 0x3ffbba30
10:30:26.610 -> A14 : 0x00000000 A15 : 0x3ffbbbdc SAR : 0x0000001f EXCCAUSE: 0x00000005
10:30:26.610 -> EXCVADDR: 0x00000000 LBEG : 0x400d59ce LEND : 0x400d59f0 LCOUNT : 0x00000000
10:30:26.610 -> Core 0 was running in ISR context:
10:30:26.610 -> EPC1 : 0x400d5a8e EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x400d6ad5
10:30:26.610 ->
10:30:26.610 -> Backtrace: 0x400d6ad5:0x3ffc05e0 0x40081711:0x3ffc0610 0x400d5a8b:0x00000000
10:30:26.643 ->
10:30:26.643 -> Core 1 register dump:
10:30:26.643 -> PC : 0x4014ef1e PS : 0x00060034 A0 : 0x8008d616 A1 : 0x3ffd1590
10:30:26.643 -> A2 : 0x00000008 A3 : 0x00000001 A4 : 0x00000000 A5 : 0x3ffd10c8
10:30:26.643 -> A6 : 0x00000000 A7 : 0x00000001 A8 : 0x3ffc65e8 A9 : 0x3ffc65ac
10:30:26.643 -> A10 : 0x00000000 A11 : 0x80000001 A12 : 0x00000000 A13 : 0x00000001
10:30:26.677 -> A14 : 0x00060420 A15 : 0x00000000 SAR : 0x00000000 EXCCAUSE: 0x00000005
10:30:26.677 -> EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
10:30:26.677 ->
10:30:26.677 -> Backtrace: 0x4014ef1e:0x3ffd1590 0x4008d613:0x3ffd15b0
10:30:26.677 ->
10:30:26.677 -> Rebooting...
Those are watchdog timer timeout resets, which means something took too long without yielding. Try calling delay(1000/FRAMES_PER_SECOND) instead of FastLED.delay, if you're not already, reducing FRAMES_PER_SECOND, etc. The latest code has those changes: https://github.com/jasoncoon/esp32-fastled-webserver/blob/master/esp32-fastled-webserver.ino
I sometimes get:
--- Miniterm on /dev/cu.SLAB_USBtoUART 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Listing directory: /
FILE: /favicon.ico SIZE: 4286
FILE: /css/styles.css SIZE: 31
FILE: /images/atom196.png SIZE: 5469
FILE: /js/app.js SIZE: 13101
FILE: /index.htm SIZE: 10733
Hostname: ESP32-dca4ae30
Connecting to wifi-ssid
HTTP server started
Main code running on core 1
NNN/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/tasks.c:4875 (xTaskNotify)- assert failed!
abort() was called at PC 0x4008e180 on core 0
Backtrace: 0x4008f96c:0x3ffbba50 0x4008fb6f:0x3ffbba70 0x4008e180:0x3ffbba90 0x400d2e7d:0x3ffbbab0
Rebooting...
I am already using delay(1000 / FRAMES_PER_SECOND);
same errors =(
You may try to use my Platformio fork - https://github.com/piotrkochan/esp32-fastled-webserver-platformio Just install FastLED library
How many LEDs, on how many pins? Which ESP32 board are you using? Using latest versions of FastLED and ESP32 Arduino core? Tried using Sam Guyer's fork of FastLED? https://github.com/samguyer/FastLED
How many LEDs, on how many pins? 25, 1 pin for testing Which ESP32 board are you using? HiLetgo ESP-WROOM-32 ESP32 ESP-32S Node32s on the upload Using latest versions of FastLED and ESP32 Arduino core Completely fresh install, so updated files. Tried using Sam Guyer's fork of FastLED? https://github.com/samguyer/FastLED Not yet.
Yesterday my ESP32 started to reboot too ;/ The weird think is that exception is thrown after very short time after short data signal pin to the leds.
After installing all the requirements (including forked libraries) I get this reboot loop: