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

    Unable to load new FW from Arduino IDE.

    Scheduled Pinned Locked Moved Arduino
    arduinoc++esp32
    4 Posts 2 Posters 6.9k Views 1 Watching
    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.
    • F Offline
      fbritop
      last edited by

      I had no trouble with previous devices from CORE2 (2 test units), I did order 20 units to proceed, but none of them work.
      I have donde even a very simple Arduino Program with no luck, also tried my original program that is working with the 2 initial units

      __
      It thorws this exception:

      ERROR A stack overflow in task IDLE1 has been detected.
      abort() was called at PC 0x40088bfc on core 1

      //#include <M5Core2.h>
      //#include <M5Unified.h>
      void setup() {
        Serial.begin(115200);
        //M5.begin();
        Serial.println("f(setup)");
      
      }
      void loop() {
        //M5.update();
      }
      

      ELF file SHA256: 0000000000000000
      Backtrace: 0x40088974:0x3ffba560 0x40088be5:0x3ffba580 0x40088bfc:0x3ffba5a0 0x4008a4de:0x3ffba5c0 0x4008be74:0x3ffba5e0 0x4008be2a:0xa5a5a5a5
      Rebooting...

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT Offline
        teastain @fbritop
        last edited by

        @fbritop I would put a delay(100); in the Loop:
        You can get a race condition where the scan time is shorter than the esptool reaction and it could be "too busy" to stop and upload.
        If this is the case it will take some finagling to reset the upload mode.
        Usually just pressing the reset key on the top side, at different times until you get in time.

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        F 2 Replies Last reply Reply Quote 0
        • F Offline
          fbritop @teastain
          last edited by

          @teastain This is not the problem. I have tried with the original code that is working on other 2 units and does not work also.

          1 Reply Last reply Reply Quote 0
          • F Offline
            fbritop @teastain
            last edited by

            @teastain This is en backtrace decoded:

            PC: 0x04d25826
            EXCVADDR: 0x04d25824

            Decoding stack results
            0x40090d71: prvIdleTask at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c line 3382
            0x4008f5b6: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

            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