Unable to get DMX working

Hi, what is the correct way of enabling the DMX functions.
I have tried to un comment the" //#define WLED_ENABLE_DMX" line in wled.h and changed the ledpin to other than 2 (32) in NpbWrapper.h.
I am using arduino and ESP32 dev board.
I am able to compile successful without DMX.
with DMX enabled i end up in an endless reboot loop and get the following serial debug message:
ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_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:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:9720
ho 0 tail 12 room 4
load:0x40080400,len:6352
entry 0x400806b8
Ada
Guru Meditation Error: Core 1 panic’ed (Interrupt wdt timeout on CPU1)
Core 1 register dump:
PC : 0x4008738b PS : 0x00050034 A0 : 0x4000bff0 A1 : 0x3ffbe7d0
A2 : 0x00000000 A3 : 0x00000009 A4 : 0x00000016 A5 : 0x3ffbe7a0
A6 : 0x00000004 A7 : 0x00000003 A8 : 0x00000001 A9 : 0x4008eb74
A10 : 0x00000004 A11 : 0x3ffb942c A12 : 0x0000abab A13 : 0x3ffbe790
A14 : 0x3ffbe7d8 A15 : 0x00000001 SAR : 0x00000018 EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x4000c349 LEND : 0x4000c36b LCOUNT : 0xffffffff
Core 1 was running in ISR context:
EPC1 : 0x4000bff0 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x4008738b

Backtrace: 0x4008738b:0x3ffbe7d0 0x4000bfed:0x3ffb1d80 0x4008d57d:0x3ffb1d90 0x40106df2:0x3ffb1db0 0x40106e45:0x3ffb1df0 0x40102dd3:0x3ffb1e20 0x40102ef3:0x3ffb1e40 0x40103361:0x3ffb1e60 0x40101160:0x3ffb1ea0 0x400f3584:0x3ffb1ee0 0x400e03ad:0x3ffb1f10 0x400e92c3:0x3ffb1f30 0x400ea876:0x3ffb1f90 0x4010286f:0x3ffb1fb0 0x4008c411:0x3ffb1fd0

Core 0 register dump:
PC : 0x40082096 PS : 0x00060a34 A0 : 0x80082f76 A1 : 0x3ffb4660
A2 : 0x08562125 A3 : 0x00000000 A4 : 0x00000005 A5 : 0x00000020
A6 : 0x00000020 A7 : 0x00000000 A8 : 0x3ffcbbb8 A9 : 0x00000000
A10 : 0x00000000 A11 : 0x00000004 A12 : 0x00000050 A13 : 0x08000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000000b EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x400029ac LEND : 0x400029cb LCOUNT : 0x00000000

Backtrace: 0x40082096:0x3ffb4660 0x40082f73:0x3ffb4680 0x40081913:0x3ffb46a0 0x400e8979:0x3ffb46c0 0x4008c411:0x3ffb46f0

what am i doing wrong?

1 Like