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

    Idiot's Guide To Upgrading Duet Firmware

    Scheduled Pinned Locked Moved
    Firmware installation
    6
    83
    4.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.
    • gbartschundefined
      gbartsch @Phaedrux
      last edited by

      @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

      This is where it may be easier to just use bossa to flash the 3.4.5 firmware directly, and then prepare the SD card manually with the rest of the files.

      I do have my configuration files ready to go ..

      Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

        @gbartsch said in Idiot's Guide To Upgrading Duet Firmware:

        FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.5 ELECTRONICS: Duet Ethernet 1.02 or later FIRMWARE_DATE: 2022-11-30 19:36:12<LF>ok<LF>

        Ok it looks like you're successfully running 3.4.5

        Now you'll need to place the DWC files on the SD card so that the web interface will work. While you're in there you can make sure there is a firmware folder as well. You can place your config files on the SD card in the sys folder too.

        https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/DuetWebControl-SD.zip

        Download that zip file and extract the contents into the WWW folder on the SD card. You can remove any files that exist there already.

        At that point you should be able to power up the board with the SD card inserted and the board will get a DHCP IP address. You can either check your router for the new address or use the USB terminal and send M552 for it to report the IP address it has received.

        Z-Bot CoreXY Build | Thingiverse Profile

        gbartschundefined 4 Replies Last reply Reply Quote 0
        • gbartschundefined
          gbartsch @Phaedrux
          last edited by

          @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

          Now you'll need to place the DWC files on the SD card so that the web interface will work. While you're in there you can make sure there is a firmware folder as well. You can place your config files on the SD card in the sys folder too.

          Can I do this over YAT (I have no one to help me at the moment so can't move the MicroSD card back and forth to a PC)? I'm looking for commands to use in YAT.

          Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

          1 Reply Last reply Reply Quote 0
          • gbartschundefined
            gbartsch @Phaedrux
            last edited by

            @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

            While you're in there you can make sure there is a firmware folder as well.

            There is a firmware folder:

            2.png

            Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

            1 Reply Last reply Reply Quote 0
            • gbartschundefined
              gbartsch @Phaedrux
              last edited by

              @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

              Download that zip file and extract the contents into the WWW folder on the SD card. You can remove any files that exist there already.

              Is this right?

              3.png

              Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

              1 Reply Last reply Reply Quote 0
              • gbartschundefined
                gbartsch @Phaedrux
                last edited by

                @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

                Ok it looks like you're successfully running 3.4.5

                How's this?

                1.png

                Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                  I think that's looking ok.

                  @gbartsch said in Idiot's Guide To Upgrading Duet Firmware:

                  @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

                  Now you'll need to place the DWC files on the SD card so that the web interface will work. While you're in there you can make sure there is a firmware folder as well. You can place your config files on the SD card in the sys folder too.

                  Can I do this over YAT (I have no one to help me at the moment so can't move the MicroSD card back and forth to a PC)? I'm looking for commands to use in YAT.

                  Sadly no. Must be done on a PC to copy over the files.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  gbartschundefined 1 Reply Last reply Reply Quote 0
                  • gbartschundefined
                    gbartsch @Phaedrux
                    last edited by

                    @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

                    I think that's looking ok.

                    950b3039-d2ca-4957-9925-e1fe3c281440-image.png

                    But this can't be right?

                    Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                    1 Reply Last reply Reply Quote 0
                    • gbartschundefined
                      gbartsch
                      last edited by

                      5476ae8f-3c6a-4076-9f98-61bfe08ee517-image.png 😄 😄 😄 😄

                      Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                      1 Reply Last reply Reply Quote 0
                      • gbartschundefined
                        gbartsch
                        last edited by

                        Now to see what doesn't work .. haha

                        Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                        1 Reply Last reply Reply Quote 0
                        • gbartschundefined
                          gbartsch
                          last edited by

                          Thank you so much to everyone who helped me through this upgrade; especially @Phaedrux who spent a disproportionate amount of time on my problems. You guys are awesome!

                          I've learned a lot going through this process and have lost a lot of the trepidation I felt when I used to think of making changes to the firmware. Now I have an up-to-date firmware and future upgrades should be easy.

                          I PID tuned the bed and hotend heaters (that was so easy and the Duet calibration guide is clear and very well done), adjusted the homez.g and homeall.g files a bit to make Z drop a bit after hitting the endstop (I home to the top), and I am making a few tweaks to the fans. There might be more but I did make a nice short print already.

                          Tomorrow I'll try adjusting pressure advance again and start tweaking other settings. And I'll make backups.

                          Thank you all again! I'm so happy to be back printing.

                          Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                          tasundefined 1 Reply Last reply Reply Quote 2
                          • tasundefined
                            tas @gbartsch
                            last edited by

                            @gbartsch

                            Very pleased your printer is working again.

                            Please let us know how the pressure advance is working in your other topic. Very interested to see if this upgrade fixed your issue.

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

                              🤘 Glad you got it all up and going.

                              Now that you're up and running, I would suggest uploading the 3.4.5 zip file once more in DWC. This will make sure you have all the needed files for the next update in place. These files would have been missed when doing the manual upgrade path.

                              Let us know how you get on.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              gbartschundefined 2 Replies Last reply Reply Quote 1
                              • gbartschundefined
                                gbartsch @tas
                                last edited by

                                @tas said in Idiot's Guide To Upgrading Duet Firmware:

                                Please let us know how the pressure advance is working in your other topic. Very interested to see if this upgrade fixed your issue.

                                I will soon; I'm having some success ... 👍

                                Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                                1 Reply Last reply Reply Quote 0
                                • gbartschundefined
                                  gbartsch @Phaedrux
                                  last edited by

                                  @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

                                  Now that you're up and running, I would suggest uploading the 3.4.5 zip file once more in DWC. This will make sure you have all the needed files for the next update in place. These files would have been missed when doing the manual upgrade path.

                                  Thanks! I uploaded that .zip file and everything went up but when I clicked install (I hope I was supposed to) this error appeared:

                                  2023-02-02_13h00_55.png

                                  Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                                  1 Reply Last reply Reply Quote 0
                                  • gbartschundefined
                                    gbartsch @Phaedrux
                                    last edited by

                                    @Phaedrux said in Idiot's Guide To Upgrading Duet Firmware:

                                    Glad you got it all up and going.

                                    😃 I could not have done it without you. Thank you again!!

                                    I looked at your profile and funnily enough we're almost neighbors; I live in Alberta. If you ever are in Edmonton stop by and visit.

                                    Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                    • gbartschundefined
                                      gbartsch
                                      last edited by

                                      Aside from making some adjustments to some acceleration and speed change settings I believe everything is working except the part cooling fans won't turn on automatically; I can turn them on manually in DWC.

                                      The definitions are as follows:

                                      ; Fans. The comments are mixed up I think. They dont match the definitions
                                      M950 F0 C"fan1" Q500                                  ; create fan 1 on pin fan1 and set its frequency / this is the hotend fan
                                      M106 P0 S0 H1 T45                                     ; set fan 1 value. Thermostatic control is turned on
                                      M950 F2 C"fan0" Q500                                  ; create fan 0 on pin fan0 and set its frequency
                                      M106 P2 S0 H-1                                        ; set fan 0 value. Thermostatic control is turned off
                                      

                                      I think something is mixed up.

                                      I also think the fans may be wired to wrong pins on the board but wasn't the one who set up the board and can't check on my own.

                                      The hotend fan works properly. The two part cooling fans spin as one.

                                      Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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

                                        @gbartsch said in Idiot's Guide To Upgrading Duet Firmware:

                                        I looked at your profile and funnily enough we're almost neighbors; I live in Alberta. If you ever are in Edmonton stop by and visit.

                                        Small world. I have two brothers living in Edmonton actually. I don't get down there very often anymore though.

                                        Z-Bot CoreXY Build | Thingiverse Profile

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

                                          @gbartsch said in Idiot's Guide To Upgrading Duet Firmware:

                                          The definitions are as follows:

                                          Can you post the full config.g as it is now? Would need to see the tool definition as well. Also ideally know which is connected where.

                                          @gbartsch said in Idiot's Guide To Upgrading Duet Firmware:

                                          The two part cooling fans spin as one.

                                          Are they wired together in parallel to a single header, or one to each?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          gbartschundefined 1 Reply Last reply Reply Quote 0
                                          • gbartschundefined gbartsch referenced this topic
                                          • gbartschundefined
                                            gbartsch @Phaedrux
                                            last edited by

                                            @Phaedrux I'm thinking they are wired together in parallel. I can't look but my friend who set up the machine might be able to take a look at the wiring in a little over a week. Then I could say for sure.

                                            I played with the fan definitions after looking at the old working definitions and came up with this:

                                            M950 F0 C"fan0" Q500                      ; create fan 0 on pin fan0 and set its frequency
                                            M106 P0 S0 H-1                                  ; set fan 0 value. Thermostatic control is turned off
                                            M950 F1 C"fan1" Q500                       ; create fan 1 on pin fan1 and set its frequency / hotend fan
                                            M106 P1 S1 H1 T45                            ; set fan 1 value. Thermostatic control is turned on
                                            

                                            The fans are working now but DWC looks like this ...

                                            2023-02-03_12h06_24.png

                                            Aren't Tool Fan and Fan 0 different things? 35% is the part cooling speed I set in the slicer. The hotend fan is spinning 100%.

                                            Here's my entire config.g ..

                                            ; Configuration file for Duet WiFi (firmware version 3.3)
                                            ; executed by the firmware on start-up
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sun Jan 29 2023 19:52:14 GMT-0700 (Mountain Standard Time)
                                            
                                            ; General preferences
                                            M575 P1 S1 B57600                                  ; enable support for PanelDue
                                            G90                                                ; send absolute coordinates...
                                            M83                                                ; ...but relative extruder moves
                                            M550 P"Brutus"                                     ; set printer name
                                            
                                            ; Network
                                            M552 P0.0.0.0 S1                                   ; enable network and acquire dynamic address via DHCP
                                            M586 P0 S1                                         ; enable HTTP
                                            M586 P1 S1                                         ; enable FTP
                                            M586 P2 S0                                         ; disable Telnet
                                            
                                            ; Drives
                                            M569 P0 S1                                         ; physical drive 0 goes forwards
                                            M569 P1 S1                                         ; physical drive 1 goes forwards
                                            M569 P2 S1                                         ; physical drive 2 goes forwards
                                            M569 P3 S1                                         ; physical drive 3 goes forwards
                                            M584 X0 Y1 Z2 E3                                   ; set drive mapping
                                            M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
                                            M92 X99.96 Y100.07 Z400.00 E523.52                 ; set steps per mm
                                            M566 X1000.00 Y1000.00 Z24.00 E3000.00             ; set maximum instantaneous speed changes (mm/min)
                                            M203 X30000.00 Y30000.00 Z900.00 E2700.00          ; set maximum speeds (mm/min)
                                            M201 X1000.00 Y1000.00 Z200.00 E3000.00            ; set accelerations (mm/s^2)
                                            M906 X800 Y800 Z800 E500 I30          		       ; set motor currents (mA) and motor idle factor in per cent
                                            M84 S30                                            ; Set idle timeout
                                            
                                            ; Dimensions
                                            M208 X-10 Y0 Z0 S1                                 ; set axis minima
                                            M208 X214 Y214 Z218.315 S0                         ; set axis maxima
                                            
                                            ; Endstops
                                            M574 X2 S1 P"xstop"                                ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
                                            M574 Y2 S1 P"ystop"                                ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
                                            M574 Z2 S1 P"zstop"                                ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop
                                            
                                            ; Z-Probe
                                            M558 P0 H5 F120 T6000                              ; disable Z probe but set dive height, probe speed and travel speed
                                            M557 X40:195 Y5:195 S20                            ; define mesh grid
                                            
                                            ; Heaters
                                            M308 S0 P"bedtemp" Y"thermistor" T100000 B4092        ; configure sensor 0 as thermistor on pin bedtemp
                                            M950 H0 C"bedheat" T0                                 ; create bed heater output on bedheat and map it to sensor 0
                                            M307 H0 B0 S1.00                                      ; disable bang-bang mode for the bed heater and set PWM limit
                                            M140 H0                                               ; map heated bed to heater 0
                                            M143 H0 S120                                          ; set temperature limit for heater 0 to 120C
                                            M308 S1 P"e0temp" Y"thermistor" T100000 B4267         ; configure sensor 1 as thermistor on pin e0temp
                                            M950 H1 C"e0heat" T1                                  ; create nozzle heater output on e0heat and map it to sensor 1
                                            M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
                                            M143 H1 S280                                          ; set temperature limit for heater 1 to 280C
                                            
                                            ; Fans
                                            M950 F0 C"fan0" Q500                      ; create fan 0 on pin fan0 and set its frequency
                                            M106 P0 S0 H-1                                  ; set fan 0 value. Thermostatic control is turned off
                                            M950 F1 C"fan1" Q500                       ; create fan 1 on pin fan1 and set its frequency / this is the hotend fan
                                            M106 P1 S1 H1 T45                            ; set fan 1 value. Thermostatic control is turned on
                                            
                                            
                                            ; Tools
                                            M563 P0 S"E3D-V6" D0 H1 F0                         ; define tool 0
                                            G10 P0 X0 Y0 Z0                                    ; set tool 0 axis offsets
                                            G10 P0 R0 S0                                       ; set initial tool 0 active and standby temperatures to 0C
                                            
                                            ; Custom settings
                                            M912 P0 S1.6                                       ; 2020.06.15 - Calibrate the MCU temp
                                            
                                            ; Miscellaneous
                                            M501                                               ; load saved parameters from non-volatile memory
                                            M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                                            T0                                                 ; select first tool
                                            

                                            Custom cartesian dinosaur machine; it's a tank but just works so I just keep tweaking it. / Duet Ethernet 1.02 or later / RepRapFirmware for Duet 2 WiFi/Ethernet: 3.4.5 / SuperSlicer

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