Skip to content

ESP32 Arduino using v3.4.0 crashing due to rmt, v3.3.3 does not but has glitchy led outputs #1220

Open

Description

@joe-fang-iD

Hi,

I'm using an ESP32-WROOM-32D using ESP32-Arduino (running version 1.0.5-rc6), and am trying to control 3 separate strands of approximately 100 leds altogether. The LEDs are powered off 3.3V.

I've been using v3.3.3 FastLED at the start, and realized that with enough leds and perhaps complex enough pattern (and perhaps fast enough frame rate), the strands seem to glitch once every few seconds. I was thinking one of the reasons perhaps is the voltage is too low. Without trying any hardware changes, I decided to try to use FastLED v3.4.0, and I was happily surprised to find that the leds were displaying the patterns smoothly and glitch free at 30-60fps. Unfortunately, it is buggy and crashes.

here are the typical exceptions:

Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)
Core 1 register dump:
PC : 0x4010a0ac PS : 0x00060034 A0 : 0x80081328 A1 : 0x3ffbeb00
A2 : 0x3ffc49c0 A3 : 0x00000000 A4 : 0x00000020 A5 : 0x80000020
A6 : 0x00000003 A7 : 0x00060723 A8 : 0x800812d2 A9 : 0x00000020
A10 : 0x00000000 A11 : 0x00000000 A12 : 0x0000000c A13 : 0x00188018
A14 : 0x0024800c A15 : 0x00000000 SAR : 0x00000020 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Core 1 was running in ISR context:
EPC1 : 0x40090ef5 EPC2 : 0x00000000 EPC3 : 0x40082da2 EPC4 : 0x4010a0ac

											ELF file SHA256: 0000000000000000

											Backtrace: 0x4010a0ac:0x3ffbeb00 0x40081325:0x3ffbeb20 0x400813c2:0x3ffbeb40 0x4008142e:0x3ffbeb70 0x40083b1d:0x3ffbeb90 0x40082d9f:0x3ffba300 0x40086397:0x3ffba320 0x400911aa:0x3ffba340

some different exceptions but all related to rmt accessing cache during ISR (could be invoking something at the wrong time):

0x401094e3: rmt_set_intr_enable_mask at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/rmt.c line 334
0x40109569: rmt_set_tx_intr_en at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/rmt.c line 370
0x400812fe: ESP32RMTController::startOnChannel(int) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 244
0x40081325: ESP32RMTController::startNext(int) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 204
0x400813c2: ESP32RMTController::doneOnChannel(rmt_channel_t, void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 302
0x4008142e: ESP32RMTController::interruptHandler(void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 333
0x40082da8: spi_flash_op_block_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/cache_utils.c line 82
0x40086397: ipc_task at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/ipc.c line 62
0x400911aa: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

0x4010ef09: gpio_set_direction at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/gpio.c line 245
0x4010a19e: rmt_set_pin at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/rmt.c line 402
0x400812cf: ESP32RMTController::startOnChannel(int) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 222
0x40081325: ESP32RMTController::startNext(int) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 204
0x400813c2: ESP32RMTController::doneOnChannel(rmt_channel_t, void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 302
0x4008142e: ESP32RMTController::interruptHandler(void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 333
0x40082d99: spi_flash_op_block_func at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/cache_utils.c line 81
0x40086397: ipc_task at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/ipc.c line 62
0x400911aa: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

0x4010a060: rmt_set_tx_thr_intr_en at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/rmt.c line 383
0x40081325: ESP32RMTController::startNext(int) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 204
0x400813c2: ESP32RMTController::doneOnChannel(rmt_channel_t, void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 302
0x4008142e: ESP32RMTController::interruptHandler(void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 333
0x40096f8d: esp_rom_spiflash_read_data at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/spi_flash_rom_patch.c line 220
0x400977d1: esp_rom_spiflash_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/spi_flash_rom_patch.c line 588
0x4008248c: spi_flash_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/flash_ops.c line 599
0x400f0ece: esp_partition_mmap at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/partition.c line 323
0x40112552: SPIFFS_closedir at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_hydrogen.c line 1095
0x40112775: spiffs_phys_rd at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_cache.c line 153
0x40113c27: spiffs_obj_lu_find_entry_visitor at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_nucleus.c line 147
0x4011560d: spiffs_object_modify at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_nucleus.c line 1515
0x4011200a: SPIFFS_stat at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_hydrogen.c line 755
0x4010fe84: vfs_spiffs_unlink at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/esp_spiffs.c line 579
0x401a02a1: esp_vfs_fstat at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/vfs/vfs.c line 479
0x400e7c21: __ssvfscanf_r at ../../../.././newlib/libc/stdio/vfscanf.c line 1625
0x400de182: VFSImpl::open(char const*, char const*) at C:\Users\joe.fang\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS\src\vfs_api.cpp line 20
0x400dd8cc: fs::File::readBytes(char*, unsigned int) at C:\Users\joe.fang\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS\src/FS.h line 64
0x400d5f92: lm_led_strands_anim_Setup() at C:\Users\JOE~1.FAN\AppData\Local\Temp\arduino_build_76545\sketch\lm_led_strands_anim.cpp line 287
0x400911aa: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

0x4010a09c: rmt_set_pin at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/rmt.c line 394
0x40081325: ESP32RMTController::startNext(int) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 204
0x400813c2: ESP32RMTController::doneOnChannel(rmt_channel_t, void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 302
0x4008142e: ESP32RMTController::interruptHandler(void*) at C:\Users\joe.fang\Documents\Arduino\libraries\FastLED\src\platforms\esp\32\clockless_rmt_esp32.cpp line 333
0x40096fba: esp_rom_spiflash_read_data at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/spi_flash_rom_patch.c line 223
0x400977d1: esp_rom_spiflash_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/spi_flash_rom_patch.c line 588
0x4008248c: spi_flash_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/flash_ops.c line 599
0x400f0f0a: esp_partition_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/partition.c line 242
0x40112536: spiffs_api_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs_api.c line 36
0x40112759: spiffs_phys_rd at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_cache.c line 161
0x40113676: spiffs_obj_lu_find_id_and_span_v at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_nucleus.c line 511
0x40113c62: spiffs_obj_lu_find_entry_visitor at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_nucleus.c line 177
0x4011406d: spiffs_obj_lu_find_id_and_span at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_nucleus.c line 537
0x40115c72: spiffs_object_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_nucleus.c line 1996
0x40111480: spiffs_hydro_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_hydrogen.c line 414
0x40111af9: SPIFFS_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/spiffs/src/spiffs_hydrogen.c line 426
0x401100c8: vfs_spiffs_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spiffs/esp_spiffs.c line 484
0x401a011f: esp_vfs_read at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/vfs/vfs.c line 446
0x400e18a5: _fread_r at ../../../.././newlib/libc/stdio/fread.c line 262
0x400e1915: fread at ../../../.././newlib/libc/stdio/fread.c line 301
0x400ddb97: VFSFileImpl::read(unsigned char*, unsigned int) at C:\Users\joe.fang\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS\src\vfs_api.cpp line 339
0x402009cb: fs::File::read(unsigned char*, unsigned int) at C:\Users\joe.fang\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\libraries\FS\src\FS.cpp line 82
0x400d61e5: PlayAnimation(void*) at C:\Users\JOE~1.FAN\AppData\Local\Temp\arduino_build_76545\sketch\lm_led_strands_anim.cpp line 94
0x400911aa: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

All of the LED tasks are pinned to core 1 due to interference from BLE and WiFi on core 0.
I'm aware that the exception says I'm running 1.0.4 ESP32 Arduino, but I am actually running 1.0.5-rc6.
Same code running on FastLED v3.3.3 does not crash.
The crashes are infrequent but random; it happens anytime between 2 minutes and 1 hour.
I've tried a few things, such as:

  • #define FASTLED_ALLOW_INTERRUPTS 1 and 0,
  • turning off dithering,
  • increasing stack sizes for my tasks,
  • trying other chipsets (I'm using SK6805's, which is essentially SK6812. But WS2811 also seem to work similarly)
  • using delay instead of FastLED.delay

Any advice is appreciated!

(Edit: formatted the logs slightly)

Activity

  1. Teasel-Github commented on Apr 7, 2021

    @Teasel-Github

    I was thinking one of the reasons perhaps is the voltage is too low

    Yeah, that'd be my first guess too! ;-)

    The LEDs you're using are rated 3.5V -> 5.5V, so you're out of spec, though only just, so generally good behaviour but glitches when you push them hard sounds about right.

    The ESP you're using is rated 3.0V -> 3.6V. You don't mention your PSU's rating, or the wiring you're using, but have you tried measuring the actual voltage you're getting at the ESP when all the lights are on? Especially if you're running both ESP and LEDs from the same supply, and especially if you have long and/or thin wires between PSU and ESP, then you only need to drop 0.15V per wire and you're into glitch territory. My expectation would have been crashes correlated to random WiFi activity, rather than random RMT / flash activity, but hey ho! You mentioned you tried swapping out the SK6805's for WS2811's... the latter draw more current; did that make things worse?

    As for why you see the glitches only with v3.3.3, but crashes only with v3.4.0 I have no idea, but I'd suggest the first thing to try is to stick 5V across your LED strip and see if all your issues disappear.

  2. joe-fang-iD commented on Apr 8, 2021

    @joe-fang-iD
    Author

    Thanks for the voltage suggestion. It appears that I was able to solve the glitch issues on v3.3.3 by moving FastLED.show() into the same task as the one that sets the most complex CRGB arrays. It appears that guarding access to the arrays and FastLED.show() via the same semaphore isn't good enough for the FastLED + ESP32 combo. I have another strand that is very short that is configured in another task still, and it still works glitch free.

    I have also tested using chipset strand settings SK6812, WS2811, and WS2812B; it seems like the behaviour is the same.

    What is so strange is that before I moved the .show() function, v3.4.0 already had it glitch free, but somehow it crashes as per above.

    I'll be testing to see if I still get crashes in v3.4.0 now with the .show() function in the same thread, and also test the effects of running 5V on my pre-fix code.

  3. sblantipodi commented on Apr 19, 2021

    @sblantipodi

    Same error here but it still crashing
    Esp32 is a mess with Fastled while running constant WiFi transmission.

    Errors are so random that is pretty impossible to debug.

    What's the problem with Fastled, esp32 and WiFi?

  4. sblantipodi commented on Apr 19, 2021

    @sblantipodi
  5. samguyer commented on Apr 19, 2021

    @samguyer
    Contributor

    @sblantipodi Use the main FastLED repo -- my repo is just for experimental changes. At this point, all the good stuff is merged in with the main repo.

    The issue is that the WiFi services require frequent, high-priority interrupts that disrupt the timing of the LED signal. We've been looking at a bunch of different options to try to mitigate the problem. One thing you can try is using the I2S driver instead of the RMT driver (the default).

    We've also got some changes coming that should help, including an implementation hand-coded in assembly to make it very fast.

  6. sblantipodi commented on Apr 19, 2021

    @sblantipodi

    @samguyer thanks for the answer, may I ask you how to switch from RMT to I2S?
    I can't find any docs.

  7. samguyer commented on Apr 19, 2021

    @samguyer
    Contributor

    @sblantipodi Oh right, the docs are in the source files (not the most user-friendly, I know). Just add the following line before the #include of FastLED.h:

    #define FASTLED_ESP32_I2S true

  8. joe-fang-iD commented on Apr 19, 2021

    @joe-fang-iD
    Author

    @sblantipodi your issue may also be related to most internal wifi/ble stuff being on core 0. I encounted a lot of glitchiness with fastled while ble is running, and fixed it by pinning all non-connectivity activities to core 1. I think there are earlier issue posts that detail this potential solution.

  9. sblantipodi commented on Apr 20, 2021

    @sblantipodi

    @sblantipodi Oh right, the docs are in the source files (not the most user-friendly, I know). Just add the following line before the #include of FastLED.h:

    #define FASTLED_ESP32_I2S true

    ok tried it, nothing changed, CORE0 and CORE1 is still crashing randomly...

    CORE0/1 panic'ed is one of the recurring random error...
    I see that this is a problem that happen since many years, I hope you'll find a solution to this one day :)

    thank you for your good work here and for your continued support Samguyer.

  10. sblantipodi commented on Apr 20, 2021

    @sblantipodi

    @sblantipodi your issue may also be related to most internal wifi/ble stuff being on core 0. I encounted a lot of glitchiness with fastled while ble is running, and fixed it by pinning all non-connectivity activities to core 1. I think there are earlier issue posts that detail this potential solution.

    I tried pinning all the WiFi stuff to core 0 and the Fastled.show() to core 1, this helps a bit, there are less errors, but it still crash.
    BLE is disabled in my code.

  11. sblantipodi commented on Apr 20, 2021

    @sblantipodi

    this is on of the random excepton with exception decoder:
    `
    Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
    Core 0 register dump:
    PC : 0x40091f01 PS : 0x00060033 A0 : 0x400939d7 A1 : 0x3ffde840
    A2 : 0x00050023 A3 : 0x00000001 A4 : 0x3ffc4c0c A5 : 0x3ffc4c0c
    A6 : 0x3ff000dc A7 : 0x00000001 A8 : 0x00000001 A9 : 0x00000002
    A10 : 0x00000000 A11 : 0x00000081 A12 : 0x3ffc4c28 A13 : 0x203ffbbf
    A14 : 0x00000000 A15 : 0x00000001 SAR : 0x00000018 EXCCAUSE: 0x0000001c
    EXCVADDR: 0x000000c9 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff

    ELF file SHA256: 0000000000000000

    Backtrace: 0x40091f01:0x3ffde840 0x400939d4:0x3ffde860 0x4009398a:0x7dffffd6
    C:\Users\sblantipodi.platformio\packages\toolchain-xtensa32\bin\xtensa-esp32-elf-addr2line.exe: 'C:\dev\dpsoftware\ArduinoRaspbery\PUBLIC\glow_worm_luciferin.pio\build\glowwormluciferinfull_esp32\firmware.elf': No such file
    Esp32ExceptionDecoder: failed to call C:\Users\sblantipodi.platformio\packages\toolchain-xtensa32\bin\xtensa-esp32-elf-addr2line.exe: Command '['C:\Users\sblantipodi\.platformio\packages\toolchain-xtensa32\bin\xtensa-esp32-elf-addr2line.exe', '-fipC', '-e', 'C:\dev\dpsoftware\ArduinoRaspbery\PUBLIC\glow_worm_luciferin\.pio\build\glowwormluciferinfull_esp32\firmware.elf', '0x40091f01:0x3ffde840']' returned non-zero exit status 1.
    `

  12. samguyer commented on Apr 20, 2021

    @samguyer
    Contributor
  13. sblantipodi commented on Apr 20, 2021

    @sblantipodi

    Hmmm. It's hard to tell what's going on -- the exception decoder doesn't seem to be working on your executable. We have not had reports of crashes with ESP32. The timing issues usually cause occasional flashiness when the WiFi kicks in. Can you run it in a configuration where the WiFi is not on?

    not many people opens issues but if you search the web it's full of people asking for this problem :)
    https://www.google.com/search?q=esp32+fastled+core+panic%27ed&oq=esp32+fastled+core+panic%27ed&aqs=chrome..69i57j33i160l2.6663j0j7&sourceid=chrome&ie=UTF-8

    if I disable wifi all problems vanish

  14. samguyer commented on Apr 20, 2021

    @samguyer
    Contributor
  15. sblantipodi commented on Apr 21, 2021

    @sblantipodi

    Thank you for your time Samguyer, If this can help, I'm sending colors informations via WiFi, this is what causes ESP to crash randomly...

  16. 19 remaining items

  17. tomioe commented on Feb 17, 2022

    @tomioe

    Excellent thread! This is all gold... Unfortunately adding #define FASTLED_ESP32_FLASH_LOCK 1 didn't solve the issue at hand. Still getting either random crashes or just straight up freezes.

    FastLED on Core0 and WiFi on Core1. Keep getting these crashes:

    Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
    Core 0 register dump:
    PC      : 0x40081275  PS      : 0x00050034  A0      : 0x4008786c  A1      : 0x3ffbfc30
    A2      : 0x00000001  A3      : 0x01000000  A4      : 0x00000018  A5      : 0x4008c89c
    A6      : 0x3ff000dc  A7      : 0x00000001  A8      : 0x00000008  A9      : 0x00000003
    A10     : 0x00000000  A11     : 0x00000000  A12     : 0x00060023  A13     : 0x3ffce02c
    A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x00000020  EXCCAUSE: 0x00000005  
    EXCVADDR: 0x00000000  LBEG    : 0x400029ac  LEND    : 0x400029cb  LCOUNT  : 0x00000000
    Core 0 was running in ISR context:
    EPC1    : 0x40085cc8  EPC2    : 0x00000000  EPC3    : 0x40085cc8  EPC4    : 0x40081275
    
    ELF file SHA256: 0000000000000000
    
    Backtrace: 0x40081275:0x3ffbfc30 0x40087869:0x3ffbfc50 0x40085cc5:0x3ffcde30 0x40089ffd:0x3ffcde50 0x40081361:0x3ffcde90 0x400d3940:0x3ffcdeb0 0x400d350f:0x3ffcded0 0x400d13a7:0x3ffcdf20 0x4008166d:0x3ffcdf60 0x4008a1b6:0x3ffcdf90
      #0  0x40081275:0x3ffbfc30 in ESP32RMTController::interruptHandler(void*) at .pio\libdeps\atomlight-d1\FastLED\src\platforms\esp\32/clockless_rmt_esp32.cpp:548 (discriminator 4)
      #1  0x40087869:0x3ffbfc50 in _xt_medint3 at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/xtensa_vectors.S:1323
    [snip]
    

    Running on the Wemos D1 Mini (ESP32-WROOM) as well. Disabling WiFi (and in turn SPIFFS) resolves the issue, as others have noted as well.

    Update 18-02-22: Actually, adding #define FASTLED_ESP32_I2S true has improved stability. Running burn-in test now, to see if this has fixed the issue.

  18. tomioe commented on Feb 18, 2022

    @tomioe

    Just a quick follow-up on this from my side.
    The #define FASTLED_ESP32_I2S true fixed all of my issues and although there's a occasional bright flash, the ESP32 is now completely stable. Much love to Sam and the team for all of their hard work on this brilliant framework.

  19. added
    type: bug
    platform: esp32
    priority: high
    area: drivers
    status: stale
    status: triage
    on Apr 16, 2026
  20. github-actions commented on Sep 2, 2026

    @github-actions
    Contributor

    This issue was closed after 30 additional days without activity. If it is still relevant, please comment with current reproduction details or other actionable information and it can be reopened.

  21. zackees commented on Sep 3, 2026

    @zackees
    Member

    Reopening: this issue was closed automatically by a stale-bot run, not by a maintainer decision. That auto-close behavior was a mistake and has been disabled — FastLED issues will no longer be closed for inactivity. Apologies for the noise.

  22. reopened this on Sep 3, 2026
  23. removed
    status: stale
    on Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: driversplatform: esp32priority: highstatus: triagetype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions