Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    All All SD card data lost after web estop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    11
    345
    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.
    • mikeabuilderundefined
      mikeabuilder
      last edited by

      Running Duet2, RRF 3.3, Web interface that came with 3.3.

      Working on our printer design and were were doing some z-probe testing with a recently installed BLTouch sensor. We made a dumb offset setting and on a subsequent mesh bed measurement run, the first probe point was about to probe completely off the bed. The probe had deployed and before we crashed, I clicked the Emergency Stop button on the web interface. All good so far.

      After AC cycling to restart (I think this is the right recovery action), there was no response on teh web interface. Looked at the board, not enough LEDs lit. We pulled the SD card and looked at it on a Windows machine. There were no files on the SD, no file system, no partitions.

      Any thoughts? We've recovered most of our work, so not a big loss, but seems like something that would not be expected from an Emergency stop.

      jay_s_ukundefined o_lampeundefined fcwiltundefined 3 Replies Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @mikeabuilder
        last edited by

        @mikeabuilder what board?
        When and where did you buy it?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • mikeabuilderundefined
          mikeabuilder
          last edited by

          The board is a Duet2 - clone. Purchased recently from Amazon. I understand that clone is synonymous with "Good Luck". The SD card is also a low cost off-brand card. Another good luck product. Just thought this might be something of interest to Due team, despite the supplier.

          1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @mikeabuilder
            last edited by

            @mikeabuilder said in All All SD card data lost after web estop:

            The probe had deployed and before we crashed, I clicked the Emergency Stop button on the web interface.

            I wonder if the deployed probe acted like a ignition coil and sent a spark all over the board when you hit the Estop?

            1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @mikeabuilder
              last edited by fcwilt

              @mikeabuilder said in All All SD card data lost after web estop:

              Running Duet2, RRF 3.3, Web interface that came with 3.3.

              After AC cycling to restart (I think this is the right recovery action),

              Just FYI, after clicking on the Emergency Stop button the printer should re-boot on it's own and return you to the Duet Web Control interface.

              You should not have to cycle power.

              Frederick

              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

              1 Reply Last reply Reply Quote 0
              • mikeabuilderundefined
                mikeabuilder
                last edited by

                @fcwilt - I was not aware the board should reboot on it's own. This was one of my first estop trials. The board seemed to be off and I AC cycled. Possibly I interrupted the boot sequence during a risky window of time. But I'm at a loss for a period of time during boot that an AC loss would result in the loss of the file system on an SD card. The power would need to go out just when the SDcard file allocation table was being written. Seems like a very small window of opportunity.

                Reminds me of when I worked making PC and server motherboards. We had an AC cycle test with a remote AC cycler (arduino or equivalent). It would apply AC, wait a random (but recorded) amount of time, then turn AC on again and wait for the verified completion of a full boot cycle. That was a single test run. We'd let the thing run for thousands of boots looking for random timing issues.

                fcwiltundefined 1 Reply Last reply Reply Quote 1
                • fcwiltundefined
                  fcwilt @mikeabuilder
                  last edited by

                  @mikeabuilder

                  I enable FTP on my Duets which allows me to easily access all the files on the SD card and keep backups.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  mikeabuilderundefined 1 Reply Last reply Reply Quote 0
                  • mikeabuilderundefined
                    mikeabuilder @fcwilt
                    last edited by

                    @fcwilt, we've been keeping our code in a github repo. But we got sloppy a week ago and will need to recreate a few recent changes. This event also taught me that we need to put more than just the gcode directories in our repo. All the fw files and web interface needs to be included too.

                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @mikeabuilder
                      last edited by

                      @mikeabuilder said in All All SD card data lost after web estop:

                      @fcwilt, we've been keeping our code in a github repo. But we got sloppy a week ago and will need to recreate a few recent changes. This event also taught me that we need to put more than just the gcode directories in our repo. All the fw files and web interface needs to be included too.

                      All of those files are accessible via FTP if desired.

                      Frederick

                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                      mikeabuilderundefined 1 Reply Last reply Reply Quote 0
                      • mikeabuilderundefined
                        mikeabuilder @fcwilt
                        last edited by

                        @fcwilt - Am I correct in understanding that none of the files on the SD card are ever changed by the fw (other than during an migration to a new version, and log files)? I've been operating on this idea and so would only need to make a backup copy of those files once, after a fw update.

                        All the other files (primarily in the sys, macros, gcode, and filaments directories) are files I'm responsible for and my process for those has been to edit on a networked computer and download to the Duet board. I try to be disciplined and "never" edit a file via the Duet web interface to avoid the possibility of losing changes (like I just did).

                        I guess I'm asking if it's important to periodically make backups of the files I'm not responsible for because they might have changed?

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @mikeabuilder
                          last edited by

                          @mikeabuilder said in All All SD card data lost after web estop:

                          none of the files on the SD card are ever changed by the fw

                          there are some files which are changed:
                          config-override.g <- every time you send M500
                          heighmap.csv <- every time you probe the bed and save the height map
                          *.json within the /sys directory <- various DWC and plugin settings that can change

                          The firmware binaries and other /sys macros are not changed by the printer. and in the case of the /www directory and firmware binaries, those are on github to download again.

                          www.duet3d.com

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