Skip to content

Unhandled exception running the example #2

@arpadgabor

Description

@arpadgabor

Hello, I'm trying to run the example you provided but I'm getting and "Unhandled exception" error on boot.

I (239) cpu_start: App cpu up.
I (258) heap_init: Initializing. RAM available for dynamic allocation:
I (264) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (270) heap_init: At 3FFB2C58 len 0002D3A8 (180 KiB): DRAM
I (277) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (283) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (290) heap_init: At 4008B9AC len 00014654 (81 KiB): IRAM
I (296) cpu_start: Pro cpu start user code
I (314) spi_flash: detected chip: generic
I (315) spi_flash: flash io: dio
W (315) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (325) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400d7c39  PS      : 0x00060d33  A0      : 0x800d3660  A1      : 0x3ffb7670  
0x400d7c39: rmt_rx_stop at /home/arpad/esp/esp-mdf/esp-idf/components/driver/rmt.c:249 (discriminator 2)

A2      : 0x00000000  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x3ffb6962  
A6      : 0x00000003  A7      : 0x00000000  A8      : 0x3ffb2ba4  A9      : 0x00000000  
A10     : 0x00000000  A11     : 0x00000001  A12     : 0x3ffb6954  A13     : 0x00000001  
A14     : 0x3ffb34d4  A15     : 0x00000000  SAR     : 0x00000010  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0xffffffff  

Backtrace:0x400d7c36:0x3ffb7670 0x400d365d:0x3ffb76a0 0x400d2ebc:0x3ffb76f0 0x40088ef9:0x3ffb7710
0x400d7c36: rmt_rx_stop at /home/arpad/esp/esp-mdf/esp-idf/components/driver/rmt.c:249 (discriminator 2)

0x400d365d: ESP32RMTChannel::ConfigureForWS2812x() at /home/arpad/dev/byte-home/devices/build/../components/ws2812b/ESP32RMTChannel.cpp:168

0x400d2ebc: DisplayTask at /home/arpad/dev/byte-home/devices/build/../main/main.cpp:122

0x40088ef9: vPortTaskWrapper at /home/arpad/esp/esp-mdf/esp-idf/components/freertos/xtensa/port.c:143



ELF file SHA256: 5c5929ac88ee28f2

Rebooting...

The line it points to in main.cpp is 56 in your example, and in ESP32RMTChannel.cpp it's 168.

I'm not sure what's the problem exactly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions