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

Something to avoid when you are calibrating/tweaking....

Scheduled Pinned Locked Moved
Tuning and tweaking
4
6
649
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.
  • undefined
    NoSkillzEngineer
    last edited by 20 Apr 2019, 13:51

    If you modify the "machine_bedmesh.g" file....while the bed mesh is actively running...you are gunna have a really bad day.

    I am using an sd card config structure similar to this:

    https://github.com/PrintM3D/Promega/tree/devel/SD Card Structure/Compound/sys

    because I am doing a friend a favor and I am trying to make it kind of idiot-proof, which could allow me to do it for other people as well, locally, nothing crazy.

    I noticed while the bed mesh was running that the X and Y values could be extended because I would rather the bed mesh be too tight and stay on the bed than too large and have to jump for the power switch and then re-home it and whatnot.

    Just a word of caution, if you tweak the bed mesh....while the bedmesh is running.....the machine will error out and the DWC will lose connection with the duet because your microSD card was just wiped clean....or corrupted. I should have known not to edit the file while it was running, I just thought "I'll make the change now so I don't forget."

    ......bad idea.....

    Just....wait until it is done doing whatever it is that it is doing before editing...learn from my mistake haha

    Luckily, I posted my config files just last night so all I lost was this morning's tweaking....but that was the last hour or two of fiddling, tweaking, calibrating, modifying config, and measuring and....yeah.

    UGHHHHH!!!!!!

    I am using a different microSD card in case there is a way to still recover any of the data that was or might still be on it. I know enough to just sub it out and seek help if I want any chance of recovering the data.

    Can we make the DWC, or chrome, or the computer, or memory, or another file or something hold edits to files until after the machine is done with whatever it is doing so something like this doesn't happen to anyone in the future? This was kinda sh*tty that this happened, luckily I beta test a bunch of stuff and tune and tweak and modify all my stuff, so I usually have backups on backups on backups. This happening to me isn't nearly as devastating as it happening to someone that doesn't have a backup at all.

    Anyone know how I can recover my data so I don't have to redo the last hour and a half of tweaking and tuning based off of my memory? Windows says the sd has zero space free out of zero potential space, so that is helpful....not. Haven't tried seeing if a linux distro will read it yet. Any suggestions?

    undefined 1 Reply Last reply 21 Apr 2019, 09:06 Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 20 Apr 2019, 16:35

      In a past life I had to occasionally to some data recovery attempts on failed drives and sd cards, etc. There are lots of software options out there now, a google search for file recovery will give you loads to choose from. It's hard to say if you'd be able to recover anything in this case, but you can try. There's a big difference between accidentally deleting something and a damaging failure like this.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 20 Apr 2019, 17:10 Reply Quote 0
      • undefined
        NoSkillzEngineer @Phaedrux
        last edited by 20 Apr 2019, 17:10

        @phaedrux said in Something to avoid when you are calibrating/tweaking....:

        In a past life I had to occasionally to some data recovery attempts on failed drives and sd cards, etc. There are lots of software options out there now, a google search for file recovery will give you loads to choose from. It's hard to say if you'd be able to recover anything in this case, but you can try. There's a big difference between accidentally deleting something and a damaging failure like this.

        Yeah....I suspect the worst for the sd card, it's the cheap one that comes with it. Luckily it didn't happen to one of my more expensive A1 or A2 32gb+ (god forbid my 128gb!) cards. It is not a gigantic loss for me, sh*tty that I have to redo this morning's work but not terribly inconvenient. I edited the backups I have with what I could remember off the top of my head, that alone was at least 45 minutes of troubleshooting this morning, prob take me another hour or so.

        I am curious how to prevent this issue from happening to anyone else though, I am fortunate I have a backup from like 5 or 6 hours prior to fall back on, not everyone will.

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators @NoSkillzEngineer
          last edited by 21 Apr 2019, 09:06

          @noskillzengineer said in Something to avoid when you are calibrating/tweaking....:

          Can we make the DWC, or chrome, or the computer, or memory, or another file or something hold edits to files until after the machine is done with whatever it is doing so something like this doesn't happen to anyone in the future?

          I will look into this. Recent firmware versions already prevent a file being deleted while it is open, but I will look at extending that to prevent writing to files that are open for another purpose too.

          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

          undefined 1 Reply Last reply 22 Apr 2019, 02:35 Reply Quote 1
          • undefined
            NoSkillzEngineer @dc42
            last edited by 22 Apr 2019, 02:35

            @dc42

            Yeah, I am on

            Firmware Version: 2.03beta1 (2019-02-03b3)

            Which I know isn't your latest release, it is my fault it happened, I just think that it is easy enough to do without thinking about it and it could be devastating to someone else. I'll probably update it tonight or tomorrow. I was going to do it before I give it to the lady, but if there are bug fixes in general then it is worth it for me to just upgrade. I have been bit lazy recently haha. Thank you.

            1 Reply Last reply Reply Quote 0
            • undefined
              PaulHew
              last edited by 22 Apr 2019, 10:53

              I use easeus data recovery for sd cards and have had succesful recoverys.
              PM me if you need a hand

              RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
              Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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