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

    Sd card disk Image

    Scheduled Pinned Locked Moved
    Firmware installation
    8
    15
    5.9k
    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.
    • FrcWifiDuetundefined
      FrcWifiDuet
      last edited by FrcWifiDuet

      Hi, I have a duetWifi with firmware 1.21, I just broke my SD card and I'm trying to re-install. Upon succeeding I just want to comment that it's complicated for no reason. Could you please provide a disk-image version for each release version of the firmware.

      Etcher is a free multi-platform tool that can be use for the task...

      1 Reply Last reply Reply Quote 3
      • Jacotheronundefined
        Jacotheron
        last edited by

        Basically the SD Card contains the following:

        • "gcodes" - folder that contains all the gcode files that you upload as jobs. By default this folder is empty.
        • "macros" - folder that will contain macros you define yourself. While a few macros come as stock, they are dummy and factory test macros used to verify that the board is working correctly. If you would like these, I can supply them to you, but frankly it is not useful for actual use.
        • "sys" - the default contents of this folder is once again tests values, which produce errors when running. You get your own files from the configuration tool, and it is a very good idea to regularly backup these files (in case of corrupted SD card). The contents of your config.g file can be adapted quite a lot and regularly as you need (solving issues and making sure it works better than before and remains updated with new firmware).
        • "www" - folder containing the relevant version of Duet Web Control. The correct version can be downloaded from the firmware releases page: https://github.com/dc42/RepRapFirmware/releases

        As you can see, it is not very useful to supply the sd card contents, and with the details above, it is simple to re-create the folder structure, and with the sys folder backups, you should easily be able to get back on your feet.

        FrcWifiDuetundefined 1 Reply Last reply Reply Quote 1
        • tekkydaveundefined
          tekkydave
          last edited by

          Every time I make a change to a config file I download all the files in /sys as a zip to my PC and archive it away. I also give each version a number - I'm currently on V17.
          Spot the ex-developer/DBA ☺

          ~ tekkydave ~
          D-Bot: 300x300mm | Duet WiFi + Duex2 | 3 independent z motors | X,Y & Z linear rails | E3D Titan Aero + V6 | Precision Piezo z-probe
          FreeCAD, PrusaSlicer

          FrcWifiDuetundefined 1 Reply Last reply Reply Quote 2
          • FrcWifiDuetundefined
            FrcWifiDuet @Jacotheron
            last edited by

            @jacotheron
            Yes easy if you done it once, but easy to forget something for example in your last link on the last candidate version 2.02 RC2 where is the iap4e.bin file oups? Ok maybe in the last real release 2.0.1 not there ok it's 2.0 release. Having a complete package and version stamped packet is less prone to error .

            The process is not complex but not user friendly, took me 30 minutes instead of 5.

            1 Reply Last reply Reply Quote 0
            • FrcWifiDuetundefined
              FrcWifiDuet @tekkydave
              last edited by FrcWifiDuet

              @tekkydave
              Thanks Yes I've many backup of my config file, just arguing that a 3 steps process Download image, burn image, replace config files is simpler that a 10 steps one...

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

                There's also this.

                https://duet3d.dozuki.com/Wiki/Firmware_Overview#Section_SD_card_structure

                And the folder structure as shipped from the factory:
                https://github.com/T3P3/Duet/tree/master/Duet2/SD Card Contents

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 1
                • Danalundefined
                  Danal
                  last edited by Danal

                  Actually, I agree that a complete image for each MAJOR release would be a wonderful thing for the community. I'm never 101% confident that I have the right things on an SD, because tidbits of information, like which iap... or the exact name of the firmware file, or similar are spread all over the place. The forum, the wiki, release notes, maybe other places.

                  An image would solve all of that.

                  Along with that, I'd like to see a /sys and /usr (user) directory, separate. Names should make it self-evident what goes where.

                  This would require a very small change to RepRap firmware, and a somewhat larger change to DWC. In fact, it would be nice if DWC had a "file browser", instead of hard-coded assumptions about what uploads where, what can/can't be edited, etc. This might make many things simpler in the long run.

                  Installing a new release could become:

                  1. Download/burn new physical SD with release that you want.

                  2. Click the button in DWC that says "Copy /usr to new SD"

                  3. Move the SD from computer to printer, boot printer, and look! The DWC copy operation put a "one time".g file somewhere on the SD that contains the "load firmware" M-Codes. From a user perspective that boot takes a little longer... and "just works".

                  Very, very simple for a printer user/operator. A few changes to RepRap and DWC that only have to be done once, and a small effort to produce the image each time (that could easily be scripted).

                  Delta / Kossel printer fanatic

                  Phaedruxundefined FrcWifiDuetundefined 2 Replies Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @Danal
                    last edited by

                    @danal I kinda wish that the DWC had an auto updater function like octoprint. It should notify the user that a new version is available, and auto download the needed files when the user says update. It could give a warning about what is changing and then proceed to update. It could even create a backup first and have a function to revert.

                    Or perhaps have a single zip file package that contains all the latest versions and installs whatever is out of date.

                    The image is good idea, but wouldn't it depend on what version of the firmware is currently installed on the board?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Danalundefined 1 Reply Last reply Reply Quote 0
                    • Danalundefined
                      Danal @Phaedrux
                      last edited by

                      @phaedrux said in Sd card disk Image:

                      The image is good idea, but wouldn't it depend on what version of the firmware is currently installed on the board?

                      Given the sequence: "build entirely new", "overlay user files like config.g, override, macros", "boot and update flash-on-card", then no, it really should not depend on what was there before... any /sys file incompatibilities would be auto-resolved by the fact it is a "complete, new, image".

                      With one caveat: Any necessary release-to-release config incompatibilities.

                      Release to release config changes will always be a thing... not really any (reasonable) way around that.

                      Delta / Kossel printer fanatic

                      1 Reply Last reply Reply Quote 1
                      • FrcWifiDuetundefined
                        FrcWifiDuet @Danal
                        last edited by FrcWifiDuet

                        @danal said in Sd card disk Image:

                        Actually, I agree that a complete image for each MAJOR release would be a wonderful thing for the community. I'm never 101% confident that I have the right things on an SD, because tidbits of information, like which iap... or the exact name of the firmware file, or similar are spread all over the place. The forum, the wiki, release notes, maybe other places.

                        Thanks you totally get my point...

                        @danal said in Sd card disk Image:

                        With one caveat: Any necessary release-to-release config incompatibilities.

                        Yes that's life, if you upgrade from a much lower version you must be willing to put the effort.

                        1 Reply Last reply Reply Quote 1
                        • garlicbreadundefined
                          garlicbread
                          last edited by

                          Just to add to this there's also this as a starting point
                          https://github.com/T3P3/Duet/tree/master/Duet2/SD Card Contents

                          Although Im guessing it's probably best to make sure the www directory and the sys/DuetWiFiServer.bin file matches that of the firmware version reported with M115

                          so for example for the www directory

                          for 2.02
                          https://github.com/dc42/RepRapFirmware/tree/2.02/SD-image/www

                          for 1.21
                          https://github.com/dc42/RepRapFirmware/tree/1.21/SD-image/www

                          for the wifi bin, that can be sourced from the releases page
                          https://github.com/dc42/RepRapFirmware/releases

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

                            The SD card image in the RepRapFirmware github repo is very out of date. Use the one in the T3P3 repo instead.

                            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

                            garlicbreadundefined 1 Reply Last reply Reply Quote 0
                            • garlicbreadundefined
                              garlicbread @dc42
                              last edited by garlicbread

                              @dc42 That's okay for the latest version of the firmware, but if you've got an older version of the firmware installed, doesn't the web interface need to match?

                              There doesn't seem to be any tags on the T3P3 one

                              aha I just realised it's in DuetWebControl-1.21.1.zip

                              1 Reply Last reply Reply Quote 0
                              • Phil Maddoxundefined
                                Phil Maddox
                                last edited by

                                yeah tags would be useful
                                The whole firmware update procedure is just a mine field of mismatches

                                dc42undefined 1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @Phil Maddox
                                  last edited by dc42

                                  @phil-maddox said in Sd card disk Image:

                                  yeah tags would be useful
                                  The whole firmware update procedure is just a mine field of mismatches

                                  The standard firmware update procedure since version 2.02 is to upload ONE ZIP FILE to your Duet. That zip file contains the main firmware, the WiFi firmware (if needed), and DWC.

                                  If you wait until several major releases go past and then upgrade piecemeal, then of course you may get mismatches.

                                  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
                                  • First post
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA