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

    Core 0 panic'ed, but reboot does not happen

    Scheduled Pinned Locked Moved M5 Stick/StickC
    5 Posts 2 Posters 7.3k 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.
    • H Offline
      heleb
      last edited by

      I get the occasional core 0 related freezes of M5 Stick C.
      Using the latest Arduino IDE with latest M5 libs.

      I did program a watchdog timer, which works, except when the core 0 error happens.

      Once the unit hangs it gets wamer than usual and consumes about 100ms. The unit is no longer visible on the network, and will not respond to button presses (except power off button)

      How can I fix this? (Stick needs to reboot on core 0 error)

      Thanks !

      ---------------------------------------- Log -----
      SSID: Jackdog-73dBm (54% )
      OFF_Display
      FreeHeap=240924
      sunnyboy
      http://sunnyboy/solar_api/v1/GetPowerFlowRealtimeData.fcgi
      Fronius:BEFORE g_ihttpFronius = http.GET()
      Fronius:AFTER g_ihttpFronius = http.GET()
      g_ihttpFronius=-1
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x40082868: 03adf784 c0079ea5 40082920
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
      Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
      Guru Meditation Er

      ----------------------------- end log--------------------------------

      H 1 Reply Last reply Reply Quote 0
      • H Offline
        heleb @heleb
        last edited by

        I set CONFIG_ESP32_PANIC_SILENT_REBOOT=y
        in file /.arduiono15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/sdkconfig

        I did get the same error again, plus some unexpected debugging output
        After all, with CONFIG_ESP32_PANIC_SILENT_REBOOT=y , I would not expect any debugging output
        By the way, the problem happens with several M5Sticks..........

        -------------------------------------Log output (same as last time)
        No/Bad response from Shelly:-1
        SSID:

        Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
        Memory dump at 0x40082868: 03adf784 c0079ea5 40082920
        Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
        Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
        Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
        Memory dump at 0x400808dc: 3f4183b4 3f418440 3f4183d0
        Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unha ndled.

        1 Reply Last reply Reply Quote 0
        • H Offline
          heleb
          last edited by

          Reduced CPU from 240MHz to 80MHz ----Problem seems to be gone

          1 Reply Last reply Reply Quote 0
          • m5stackM Offline
            m5stack
            last edited by Zontex

            We haven't encountered such situation before, trying to replicate it didn't bring any results. our all firmware is use 240MHz by default and this shouldn't cause any troubles. maybe you could check if it's related to your program or provide any details how we can try to replicate it to see what's going on?

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              heleb @m5stack
              last edited by

              @m5stack :

              So far the "80Mhz" fix is holding up since Oct-21st , running on 2 units.

              I will try a few more M5StickC running at 240Mhz (with exact same program and programmed from same IDE) and see if they again lock up after a few days.

              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