Something to avoid when you are calibrating/tweaking....
-
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?
-
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.
-
@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.
-
@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.
-
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.
-
I use easeus data recovery for sd cards and have had succesful recoverys.
PM me if you need a hand