Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Auto-save M122 on power-down

    Firmware wishlist
    2
    3
    267
    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.
    • wilriker
      wilriker Moderator last edited by wilriker

      Background

      The idea for this sparked in this thread.

      The Duet is capable of detection a power-down. Often times here it is requested to provide the output of M122 after an unexpected reboot so the error can be better analyzed. More often than not users have already power-cycled their Duet and so this information is lost.

      Request

      To save this information across a restart it could be possible to have RRF write the result of M122 together with a timestamp (whatever is available here) on power-down/power-loss to e.g. /sys/diagnostics unless it was printing at this time since everything configured with M911 clearly has to take precedence then.

      Manuel
      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
      with probably always latest firmware/DWC (incl. betas or self-compiled)
      My Tool Collection

      1 Reply Last reply Reply Quote 2
      • dc42
        dc42 administrators last edited by

        There might be enough time to do that. It wouldn't help if the user had restarted using Emergency Stop or M999 or the reset button.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        wilriker 1 Reply Last reply Reply Quote 0
        • wilriker
          wilriker Moderator @dc42 last edited by

          @dc42 Yes, there still are cases, where this won't work, but at least it will cover some more bases than now. 🙂

          Manuel
          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
          with probably always latest firmware/DWC (incl. betas or self-compiled)
          My Tool Collection

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA