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

did I f*ck up?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
6
25
965
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
    Queevix
    last edited by 11 May 2022, 18:18

    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?

    undefined 1 Reply Last reply 11 May 2022, 18:29 Reply Quote 0
    • undefined
      jay_s_uk @Queevix
      last edited by jay_s_uk 5 Nov 2022, 18:30 11 May 2022, 18:29

      @queevix what duet board do you have?
      Edit: just seen you have a mini 5+
      When and where did you purchase 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

      undefined 1 Reply Last reply 11 May 2022, 18:30 Reply Quote 0
      • undefined
        Queevix @jay_s_uk
        last edited by Queevix 5 Nov 2022, 18:32 11 May 2022, 18:30

        @jay_s_uk
        duet 3mini 5+wifi

        about a month ago, from reprapworld

        undefined 1 Reply Last reply 11 May 2022, 18:31 Reply Quote 0
        • undefined
          jay_s_uk @Queevix
          last edited by jay_s_uk 5 Nov 2022, 18:31 11 May 2022, 18:31

          @queevix when and where did you purchase?
          Can you also post an output of M122?

          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

          undefined 1 Reply Last reply 11 May 2022, 18:51 Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 11 May 2022, 18:34

            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?

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 11 May 2022, 18:45 Reply Quote 0
            • undefined
              Queevix @Phaedrux
              last edited by 11 May 2022, 18:45

              @phaedrux

              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

              undefined 1 Reply Last reply 11 May 2022, 18:48 Reply Quote 0
              • undefined
                Queevix @Queevix
                last edited by 11 May 2022, 18:48

                scratch that, I got on using a different port, DWC reads the sd card now

                1 Reply Last reply Reply Quote 1
                • undefined
                  Queevix @jay_s_uk
                  last edited by 11 May 2022, 18:51

                  @jay_s_uk

                  I tried to post the output of M122, but it got flagged as spam :s

                  1 Reply Last reply Reply Quote 1
                  • undefined
                    Phaedrux Moderator
                    last edited by 11 May 2022, 18:52

                    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

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 11 May 2022, 19:07 Reply Quote 0
                    • undefined
                      Queevix @Phaedrux
                      last edited by 11 May 2022, 19:07

                      @phaedrux

                      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...

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Phaedrux Moderator
                        last edited by 11 May 2022, 19:09

                        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.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 11 May 2022, 19:15 Reply Quote 0
                        • undefined
                          Queevix @Phaedrux
                          last edited by 11 May 2022, 19:15

                          @phaedrux

                          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

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Rushmere3D
                            last edited by 11 May 2022, 19:28

                            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 🤣.

                            Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

                            undefined 1 Reply Last reply 11 May 2022, 19:42 Reply Quote 0
                            • undefined
                              Queevix @Rushmere3D
                              last edited by 11 May 2022, 19:42

                              @rushmere3d

                              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.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Phaedrux Moderator
                                last edited by 11 May 2022, 23:26

                                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.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  cryptosojourn
                                  last edited by 15 May 2022, 02:53

                                  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?

                                  undefined 1 Reply Last reply 15 May 2022, 04:55 Reply Quote 0
                                  • undefined
                                    Phaedrux Moderator @cryptosojourn
                                    last edited by 15 May 2022, 04:55

                                    @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.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 1 Reply Last reply 18 May 2022, 03:59 Reply Quote 0
                                    • undefined
                                      cryptosojourn @Phaedrux
                                      last edited by 18 May 2022, 03:59

                                      @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.

                                      undefined 1 Reply Last reply 18 May 2022, 05:04 Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator @cryptosojourn
                                        last edited by 18 May 2022, 05:04

                                        @cryptosojourn Do you still have this macro?

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          GeoffVR6
                                          last edited by 19 May 2022, 04:05

                                          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.
                                          TestMacro.gif
                                          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"

                                          M3D Crane Quad Maestro, M3D Crane Dual Maestro, M3D Promega Maestro, Anet A8 Plus Mini 5+

                                          undefined 1 Reply Last reply 19 May 2022, 04:11 Reply Quote 0
                                          3 out of 25
                                          • First post
                                            3/25
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA