Hello! I am working on a project with 2560 pixels running on Artnet over

@Stef_Weicks can you send me the serial output of the old version ?

@Yves_BAZIN
ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_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:956
load:0x40078000,len:0
load:0x40078000,len:13076
entry 0x40078a58
Connecting 6
.6
.6
.6
.6
.6
.6
.
WiFi connected.
IP address:
192.168.1.101
Starting Artnet nbNeededUniverses:16

@Stef_Weicks
and now excute the new program and give me the serial output

@Yves_BAZIN
Connecting 6
.6
.6
.6
.6
.6
.6
.
WiFi connected.
IP address:
192.168.1.101
Starting Artnet nbNeededUniverses:16
Ready to record…
Recording has started
Guru Meditation Error: Core 0 panic’ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered (FastLEDshowTask)
Register dump:
PC : 0x400872e3 PS : 0x00060836 A0 : 0x40087108 A1 : 0x3ffcdf80
A2 : 0x3ffc1070 A3 : 0x00000000 A4 : 0x3ffe4490 A5 : 0x00000140
A6 : 0x00040000 A7 : 0x3ff65000 A8 : 0x00000001 A9 : 0x00000010
A10 : 0x00000050 A11 : 0x00040000 A12 : 0x400817a5 A13 : 0xff000000
A14 : 0x00000010 A15 : 0xffffffff SAR : 0x0000001b EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace: 0x400872e3:0x3ffcdf80 0x40087105:0x3ffce060 0x400d33db:0x3ffce080 0x400d34e0:0x3ffce0a0 0x400d35c9:0x3ffce0d0 0x400d78be:0x3ffce110 0x400d7be1:0x3ffce130 0x400d8191:0x3ffce150 0x400d834a:0x3ffce170 0x400d9575:0x3ffce190 0x400da58f:0x3ffce1d0 0x400daf2e:0x3ffce200 0x4000bd83:0x3ffce220 0x4000117d:0x3ffce240 0x40058af1:0x3ffce260 0x400dc570:0x3ffce290 0x400dc5b9:0x3ffce2d0 0x400d276a:0x3ffce2f0 0x4012c389:0x3ffce310 0x400d1651:0x3ffce330

Rebooting…

@Stef_Weicks OK it seems the write function has hard time running on the second core
let’s try that
line 102
xTaskCreatePinnedToCore(FastLEDshowTask2, “FastLEDshowTask2”, 1000, NULL,3, &FastLEDshowTaskHandle2, FASTLED_SHOW_CORE);

replace 1000 per 3000
not sure it will do the trick

@Stef_Weicks can I ask you when do you install your version of the esp32 binary for arduino

so now its working … recording and playing back but there is no change …@Yves_BAZIN
missing/deleted image from Google+

@Stef_Weicks thank you for the video !!!
try this

i removed the parrallel charging/displaying

ok… can´t find the failure
error: ‘FastLEDshowTask2’ was not declared in this scope

xTaskCreatePinnedToCore(FastLEDshowTask2, "FastLEDshowTask2", 1000, NULL,3, &FastLEDshowTaskHandle2, FASTLED_SHOW_CORE);

@Yves_BAZIN

@Yves_BAZIN oh … i found :smiley:

void FastLEDshowTask(void *pvParameters)

the 2 was missing-> void FastLEDshowTask2(void *pvParameters)

@Stef_Weicks you can comment the the function fastledshow322()

@Stef_Weicks sorry you also need to add

xTaskCreatePinnedToCore(FastLEDshowTask, "FastLEDshowTask", 1000, NULL,3, &FastLEDshowTaskHandle, FASTLED_SHOW_CORE);

And remove the other line and remove the function fastedshow322()

@Yves_BAZIN i tried it with your last changes … but there are no improvements… still jerking animations … hm :confused:

@Stef_Weicks can you record for a bit longer and see if the issue happens at the same frame.

@Stef_Weicks could you please publish on gist the versions of your programs save and read. with all the modifications I asked you to do i would like to check

i uploaded saving version:

and the reading version:

@Yves_BAZIN ok now i did a video comparison about the jerks in the animations with two different recordings. i don’t know whether it is at the same position

missing/deleted image from Google+

@Stef_Weicks try this for the recording

otherwise for the recording you could do it using serial.(less risk of loosing frame than through the wi-fi)
let me know

@Yves_BAZIN thank you for all your help!
somehow I can not imagine that wifi is the blame. At the direct connection jinx to the controller the animations are working completely smoothly.

I tried the original version for the ESP8266, which is also working without jerks?!

i can try it later with a serial connection… maybe you are right!
here the problem for me is, how to setup this in jinx… there i would need a special output option (Gladiator or direct pushing to the comport) …

@Stef_Weicks on the esp8266 did you have also 16universes on one board ? Because it’s like it is skipping frames from time to time. I will have a closer look at my code and try to debug to see where the issue could be.
When i say WiFi it’s because the universes needs to be treated and the time of the treatment could make a difference
While I am speaking a think of something
Could you comment the line artnet.resetsync() ?
And let me know in the save program ?