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.
    • Queevixundefined
      Queevix
      last edited by

      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?

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Queevix
        last edited by jay_s_uk

        @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

        Queevixundefined 1 Reply Last reply Reply Quote 0
        • Queevixundefined
          Queevix @jay_s_uk
          last edited by Queevix

          @jay_s_uk
          duet 3mini 5+wifi

          about a month ago, from reprapworld

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Queevix
            last edited by jay_s_uk

            @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

            Queevixundefined 1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              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

              Queevixundefined 1 Reply Last reply Reply Quote 0
              • Queevixundefined
                Queevix @Phaedrux
                last edited by

                @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

                Queevixundefined 1 Reply Last reply Reply Quote 0
                • Queevixundefined
                  Queevix @Queevix
                  last edited by

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

                  1 Reply Last reply Reply Quote 1
                  • Queevixundefined
                    Queevix @jay_s_uk
                    last edited by

                    @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
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      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

                      Queevixundefined 1 Reply Last reply Reply Quote 0
                      • Queevixundefined
                        Queevix @Phaedrux
                        last edited by

                        @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
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          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

                          Queevixundefined 1 Reply Last reply Reply Quote 0
                          • Queevixundefined
                            Queevix @Phaedrux
                            last edited by

                            @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
                            • Rushmere3Dundefined
                              Rushmere3D
                              last edited by

                              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

                              Queevixundefined 1 Reply Last reply Reply Quote 0
                              • Queevixundefined
                                Queevix @Rushmere3D
                                last edited by

                                @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
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  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
                                  • cryptosojournundefined
                                    cryptosojourn
                                    last edited by

                                    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?

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator @cryptosojourn
                                      last edited by

                                      @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

                                      cryptosojournundefined 1 Reply Last reply Reply Quote 0
                                      • cryptosojournundefined
                                        cryptosojourn @Phaedrux
                                        last edited by

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

                                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @cryptosojourn
                                          last edited by

                                          @cryptosojourn Do you still have this macro?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • GeoffVR6undefined
                                            GeoffVR6
                                            last edited by

                                            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+

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