Simple webserver working on ESP32, not on Core2



  • I have a simple code that draw data from a csv file on a webpage.

    The server used is ESPasyncwebserver.

    Loading this code on ESP32 alone is working fine, but when loading on M5core2, it crash every time I try to load the webpage...

    Any idea where this problem comes from?

    Here is the watchdog error :

    ERROR: Too many messages queued
    46;2;97
    ERROR: Too many messages queued
    47;92;71
    ERROR: Too many messages queued
    48;3;45
    ERROR: Too many messages queued
    49;13;6
    E (15487) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
    E (15487) task_wdt: - async_tcp (CPU 0/1)
    E (15487) task_wdt: Tasks currently running:
    E (15487) task_wdt: CPU 0: IDLE0
    E (15487) task_wdt: CPU 1: loopTask
    E (15487) task_wdt: Aborting.
    abort() was called at PC 0x40148a20 on core 0

    ELF file SHA256: 0000000000000000

    Backtrace: 0x400886dc:0x3ffbfa30 0x40088959:0x3ffbfa50 0x40148a20:0x3ffbfa70 0x40086e6d:0x3ffbfa90 0x4017aecf:0x3ffbc280 0x4014a31b:0x3ffbc2a0 0x4008b119:0x3ffbc2c0 0x4008996a:0x3ffbc2e0



  • Hello @Leo05

    does the simple server example also crash? If not, the issue probably is related to the csv file reading?

    Thanks
    Felix



  • Hi @felmue

    No, the example server works fine. You are right, it was probably an issue with csv reading.

    Thank you