did I f*ck up?
-
So, this looks bad...
In the process of configuring my paneldue, I discovered a file in the macros folder of my duet, which I figured I didn't need. It was named something like test2something, I don't quite remember.
Afterwards, the DWC seemed unable to connect to the duet.With the power off, I managed to connect with the USB cable, but the config.g file seemed to be gone.
Now, even this is impossible. DWC is unable to connect in any way with the usb cable I can still connect via YAT though.
So is there any way to recover my work and/or my duet mini?
-
@queevix what duet board do you have?
Edit: just seen you have a mini 5+
When and where did you purchase it? -
@jay_s_uk
duet 3mini 5+wifiabout a month ago, from reprapworld
-
@queevix when and where did you purchase?
Can you also post an output of M122? -
Is the sd card readable in a PC?
Is it just config.g that is missing?
Is the WWW folder still present and populated?
If you replace the config.g with a new one from the configurator does it work again? -
Is the sd card readable in a PC?
Yes
Is it just config.g that is missing?
I think so at least
Is the WWW folder still present and populated?
Yes
If you replace the config.g with a new one from the configurator does it work again?
Well, I put in the original config.g file, and replaced the sd card, but am now unable to connect either via YAT or DWC -
scratch that, I got on using a different port, DWC reads the sd card now
-
I tried to post the output of M122, but it got flagged as spam :s
-
Well if you're able to connect to DWC now the M122 is less relevant.
If this is a new board you may want to do a firmware update.
Upload this zip file as is to the system tab in DWC.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.0/Duet2and3Firmware-3.4.0.zip
-
Okay, everything seems to be more or less back to normal. I guess I lost all the edits I previously did to my config file?
Also, any idea what went wrong? I have not seen this strange macro reappear... -
I suspect the macro thing was just a red herring.
Keep a backup of your config.g it's good practice.
If you happen to notice the config.g go missing again please let us know.
-
Keep a backup of your config.g it's good practice.
I think I will
Thanks a lot again by the way, I don't know who you are, but I know I'd be lost without your help, the support from this forum continues to amaze me.
Greets!
Alexander -
Isn't this something that's come up before? The macro is left over duet in-house testing and it removes the config as part of a procedure before being packed for sale? Or I'm just making that up completely .
-
I don't know about that, but I'm pretty sure the macro wasn't there yesterday. Could be wrong, maybe I just didnt notice it.
-
New boards shouldn't have test macros anymore as far as I know. If there was a macro, it shouldn't have done anything like deleting the config.g.
-
I'm suffering same thing. I'm just getting to the end of commissioning. I sent a G0E1 to move the extruder. I got a warning that no tool selected. Then lost web connection and now cannot connect with serial either. Config.g and anything that looks like a backup is missing except the config.json. Firmware was updated earlier today. After placing a new config.g file on the SD card, still cannot connect. I'm assuming next step is try to reinstall the firmware to the SD?
-
@cryptosojourn said in did I f*ck up?:
I'm suffering same thing. I'm just getting to the end of commissioning. I sent a G0E1 to move the extruder. I got a warning that no tool selected. Then lost web connection and now cannot connect with serial either. Config.g and anything that looks like a backup is missing except the config.json. Firmware was updated earlier today. After placing a new config.g file on the SD card, still cannot connect. I'm assuming next step is try to reinstall the firmware to the SD?
It would be best to start a new thread for your issue. Please include as much information as you can. What type of board it is, when you got it, things you've tried etc.
-
@phaedrux I'm pretty sure I'm a victim of the macro mentioned in this thread. The first line deletes the config.g file followed by 4 or 5 other deleting and copying type operations. I'm calling it a smoking gun. That evening it was a [insert explicative here] smoking gun. I recreated the file and put a new copy of firmware on the SD card and got going again.
-
@cryptosojourn Do you still have this macro?
-
I just picked up a Duet 3 Mini 5+ last week. It had the macro on it and of course I clicked it by accident. I had to redo all my setup from the previous day.
I commented out the macro after it bit me once. I got through all that and am running my first test print now.```
;test completed macro for mini 5+ v1.0 testing
;M30 "0:/sys/config.g"
;M30 "0:/sys/config.g.bak"
;M471 S"0:/sys/config_default.g" T"0:/sys/config.g" D1
;M30 "0:/macros/SETNETWORK14"
;M30 "0:/macros/SETNETWORK24"
;echo "Test macros deleted - restart"