Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Not reading config.g on startup.

    General Discussion
    7
    39
    3169
    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.
    • Boilermaker
      Boilermaker last edited by

      Just got the duetWifi. First time user and first time 3d printer. Anyway, everything is wired up and I'm trying to go through the Get Connected guide, but when I send a M503 Command I'm getting a Configuration file not found! I hooked the ssd card up to my computer and it has the sys/config.g file in there. Any ideas?

      1 Reply Last reply Reply Quote 0
      • T3P3Tony
        T3P3Tony administrators last edited by

        Welcome

        What does the firmware report when you send M21?

        Can you copy call the contents of the SD card into a temporary folder on your computer, then format the card, the copy everything back please.

        If that does not work then if you have another <32GB uSD card you can use to test please try that.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • Boilermaker
          Boilermaker last edited by

          SENDING:M21
          Cannot initialise SD card 0: Card is unusable

          I'll try that and let you know how it goes.

          1 Reply Last reply Reply Quote 0
          • Boilermaker
            Boilermaker last edited by

            What Format should I format it to?

            1 Reply Last reply Reply Quote 0
            • T3P3Tony
              T3P3Tony administrators last edited by

              FAT

              www.duet3d.com

              1 Reply Last reply Reply Quote 0
              • T3P3Tony
                T3P3Tony administrators last edited by

                Oh wait what size card do you have? if 4GB or> then FAT32

                www.duet3d.com

                1 Reply Last reply Reply Quote 0
                • Boilermaker
                  Boilermaker last edited by

                  Ok I tried that. Still no luck. I tried a different SD card and still no luck. Its still giving me the same error.

                  1 Reply Last reply Reply Quote 0
                  • T3P3Tony
                    T3P3Tony administrators last edited by

                    Ok I think you have a faulty SD card slot. can you contact who you bought the board from and ask for a replacement under warranty referencing this forum thread.

                    www.duet3d.com

                    1 Reply Last reply Reply Quote 0
                    • Boilermaker
                      Boilermaker last edited by

                      ok. thanks. I will do that.

                      1 Reply Last reply Reply Quote 0
                      • Boilermaker
                        Boilermaker last edited by

                        So I have board number 2 now, and so far it appears I have the same issue. Refusing to believe I have two boards with this issue, I'm trying to re-flash the firmware, but so far no luck. After I re-flash it and press reset it won't connect. I'm going to try somemore tonight, but is it possible I have two boards now that won't read from the SD card? This is getting frustrating.

                        1 Reply Last reply Reply Quote 0
                        • deckingman
                          deckingman last edited by

                          @Boilermaker:

                          So I have board number 2 now, and so far it appears I have the same issue. Refusing to believe I have two boards with this issue, I'm trying to re-flash the firmware, but so far no luck. After I re-flash it and press reset it won't connect. I'm going to try somemore tonight, but is it possible I have two boards now that won't read from the SD card? This is getting frustrating.

                          Dumb question I know but your not accidentally pressing "erase" as well or instead of "reset" are you? The buttons are very close together. In any case, I don't think you need to press reset after re-flashing the firmware.

                          Ian
                          https://somei3deas.wordpress.com/
                          https://www.youtube.com/@deckingman

                          1 Reply Last reply Reply Quote 0
                          • Boilermaker
                            Boilermaker last edited by

                            @deckingman:

                            @Boilermaker:

                            So I have board number 2 now, and so far it appears I have the same issue. Refusing to believe I have two boards with this issue, I'm trying to re-flash the firmware, but so far no luck. After I re-flash it and press reset it won't connect. I'm going to try somemore tonight, but is it possible I have two boards now that won't read from the SD card? This is getting frustrating.

                            Dumb question I know but your not accidentally pressing "erase" as well or instead of "reset" are you? The buttons are very close together. In any case, I don't think you need to press reset after re-flashing the firmware.

                            No the erase button is placed back a little on this version of the board, so it would be difficult to press the erase button accidentally. I was following the wiki about pressing reset, but I'll try it tonight without pressing reset.

                            1 Reply Last reply Reply Quote 0
                            • dc42
                              dc42 administrators last edited by

                              If you have re-flashed with 1.18.1 firmware and you were previously using an older version, and you are using a Windows usb host computer, did you install the new device driver as described in the upgrade notes?

                              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

                              1 Reply Last reply Reply Quote 0
                              • Boilermaker
                                Boilermaker last edited by

                                @dc42:

                                If you have re-flashed with 1.18.1 firmware and you were previously using an older version, and you are using a Windows usb host computer, did you install the new device driver as described in the upgrade notes?

                                I think it previously already had 1.18.1 firmware, but I'm just trying anything at this point. I did install the device driver. I tried using the new Bossa on my Mac, and I've tried using the Sam-ba 2.16 on windows 10 virtual machine on my mac. On the windows machine I installed the device driver.

                                1 Reply Last reply Reply Quote 0
                                • Boilermaker
                                  Boilermaker last edited by

                                  Ok. I've tried the 1.18.1 firmware and the new 1.19 beta, and either one will not connect after I refresh. I tried it without refreshing but it won't connect that way either. Any ideas? I'm afraid I'm going to have to return this board as well.

                                  1 Reply Last reply Reply Quote 0
                                  • dc42
                                    dc42 administrators last edited by

                                    Are you able to connect via USB? If so, run M115 to confirm which firmware version you are running, because there have been big changes in the 1.19beta.

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • Boilermaker
                                      Boilermaker last edited by

                                      No I can't. The only way it lets me connect is if I erase and then reset. I can't get it to boot up with the firmware.

                                      1 Reply Last reply Reply Quote 0
                                      • Dougal1957
                                        Dougal1957 last edited by

                                        Have you checked the size of the Firmware download from github to make sure you have actually got the BIN File and not the webpage

                                        1 Reply Last reply Reply Quote 0
                                        • Boilermaker
                                          Boilermaker last edited by

                                          @Dougal1957:

                                          Have you checked the size of the Firmware download from github to make sure you have actually got the BIN File and not the webpage

                                          Yeah I checked that. I'll look again tonight, but I did look at that.

                                          1 Reply Last reply Reply Quote 0
                                          • dc42
                                            dc42 administrators last edited by

                                            Does any sort of port, or an unknown device, show up in Device Manager (if you are using Windows) when you connect the Duet via USB after flashing the new firmware?

                                            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

                                            1 Reply Last reply Reply Quote 0
                                            • Dougal1957
                                              Dougal1957 last edited by

                                              Also check that you re-named the files mind that wont matter if your loading the FW By Bossac or Samba

                                              1 Reply Last reply Reply Quote 0
                                              • Boilermaker
                                                Boilermaker last edited by

                                                @Dougal1957:

                                                Also check that you re-named the files mind that wont matter if your loading the FW By Bossac or Samba

                                                I've tried both Boassac and Samba. Neither one seems to work. I tried renaming the files before using Bossac and Samba, doesn't seem to matter.

                                                1 Reply Last reply Reply Quote 0
                                                • Boilermaker
                                                  Boilermaker last edited by

                                                  @dc42:

                                                  Does any sort of port, or an unknown device, show up in Device Manager (if you are using Windows) when you connect the Duet via USB after flashing the new firmware?

                                                  No it doesn't. The windows is a VM on my mac that I can control where the USB ports connect and as soon as I reset the connection goes away and doesn't show up on the mac or the windows.

                                                  1 Reply Last reply Reply Quote 0
                                                  • dc42
                                                    dc42 administrators last edited by

                                                    If it doesn't even show up as a COM port or unknown USB device, that suggests that the file you have flashed is not a valid firmware files for that board.

                                                    The DuetWiFiFirmware-1.18.1.bin file you downloaded should be 263Kb (268,852 bytes) long.

                                                    Also, please make sure that the M552 S1 command in config.g is commented out with a semicolon at the start of the line. WiFi firmware that doesn't match the main firmware can prevent the board running when the WiFi is enabled.

                                                    btw it's now possible to flash Duet WiFi firmware using the Bossa program from Shumatec, and there is a build of that program available for Mac.

                                                    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

                                                    1 Reply Last reply Reply Quote 0
                                                    • Boilermaker
                                                      Boilermaker last edited by

                                                      So I was finally able to get the firmware reloaded. But now I'm getting as before where it says it cannot find the config file.

                                                      M503
                                                      SENDING:M503
                                                      Configuration file not found!
                                                      M21
                                                      SENDING:M21
                                                      Cannot initialise SD card 0: Card is unusable

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