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

    How to ensure a working watchdog? Micropython UI crashes, but the rest keeps running and the other way round

    UIFlow
    1
    1
    1.2k
    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.
    • I
      insaneLX
      last edited by

      I am using micropython on a M5Stack tough. Without evidence by documentation, I assume that the UI is running in a different thread than the rest of the micropython application, because it seems that both - the application and its ui can crash individually, without tearing the other down.
      Does anybody know about this?
      The reason I am asking is because I need a reliable watchdog system which ensures that the system comes back up again if something is crashed. At the moment I only activated the watchdog in the main program and a crash in the UI function does not stop the execution.
      Any ideas how I could solve that?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post