🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Simple webserver working on ESP32, not on Core2

    Scheduled Pinned Locked Moved Core 2
    3 Posts 2 Posters 6.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      Leo05
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue
        last edited by

        Hello @Leo05

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

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Leo05 @felmue
          last edited by

          Hi @felmue

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

          Thank you

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post