• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    gbartsch @gbartsch
    last edited by 31 Jan 2023, 19:59

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

    Should I use your fan values or mine? I have the hotend fan and two part cooling fans (on['e' edit - Garry] on either side of the hotend).

    This is the last question I have from my config.g file (I think πŸ˜₯ ).

    I MIGHT be starting to understand this. I think these are the right fan definitions for my setup?

    I have a hotend cooling fan that should be temperature controlled and the two other are part cooling fans, which are not temperature controlled. The settings below reflect that?

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

    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

    undefined 1 Reply Last reply 31 Jan 2023, 20:25 Reply Quote 0
    • undefined
      tas
      last edited by 31 Jan 2023, 20:20

      @gbartsch For my part cooling fan I have a few extra parameters

      M106 P0 S0.0 H-1 B0.1 L0.0 X1.0
      

      B0.1 blips the fan to 100% briefly (when it is completely off) to make sure it starts turning if you request a slow speed. L 0.0 sets a lower limit to off and X1.0 sets an upper limit to 100% speed.

      For my M950 I have set Q100 as the PWM frequency for the fan. I was playing with that frequency as some of my fans were a bit noisy at Q500.

      undefined 1 Reply Last reply 31 Jan 2023, 20:55 Reply Quote 0
      • undefined
        tas @gbartsch
        last edited by 31 Jan 2023, 20:25

        @gbartsch
        It is worth mentioning (this is the idiot's guide after all) that after your upgrade all of your changes will be made through DuetWebControl (DWC). You can change config.g (or any other files whether system or jobs) on your computer and upload the new version to your Duet board via Wifi.

        You can also download system files from the Duet to your computer to back them up.

        I haven't taken the SD card out of my Duet for years now. So nice!

        undefined 1 Reply Last reply 1 Feb 2023, 21:58 Reply Quote 0
        • undefined
          gbartsch @tas
          last edited by 31 Jan 2023, 20:55

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

          For my part cooling fan I have a few extra parameters

          Awesome, thank you! Once I get this running with the basic config I'll try adding your extra parameters.

          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
          • undefined
            gbartsch @Phaedrux
            last edited by 1 Feb 2023, 02:13

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

            I would suggest that to start with you upload the 2.05 zip file to see how it goes, since it is still RRF2 it doesn't require any config file changes.

            I got it! 'One small step for man ... .'

            2023-01-31_18h28_43.png

            On to the next ..

            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
            • undefined
              gbartsch
              last edited by 1 Feb 2023, 03:21

              I started the upgrade process after successfully installing RRF 2.05 and after trying to install 3.0 got this error:

              2023-01-31_20h12_24.png

              I'm looking for this file and learning what to do with it.

              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
              • undefined
                Phaedrux Moderator
                last edited by Phaedrux 2 Jan 2023, 04:42 1 Feb 2023, 04:41

                Try uploading the zip file for 3.0 a second time. That file should be part of the zip file.

                Z-Bot CoreXY Build | Thingiverse Profile

                undefined 1 Reply Last reply 1 Feb 2023, 04:51 Reply Quote 0
                • undefined
                  gbartsch @Phaedrux
                  last edited by 1 Feb 2023, 04:51

                  @Phaedrux Thank you.

                  I tried installing 3.0 twice but got the error both times.

                  I found the file here: https://github.com/Duet3D/RepRapFirmware/releases/tag/1.21
                  ... and 3.0 is installing.

                  It's taken 1 hour so far. Is that normal?

                  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

                  undefined 1 Reply Last reply 1 Feb 2023, 04:59 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @gbartsch
                    last edited by 1 Feb 2023, 04:59

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

                    It's taken 1 hour so far. Is that normal?

                    Not exactly. Usually less than a minute. It's safe to power cycle at this point and see where it's at. You can't brick the board with a failed firmware update. Worst case it would just need to be re-flashed over USB. In this case it may have just gotten stuck after finishing.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 1 Feb 2023, 06:45 Reply Quote 0
                    • undefined
                      gbartsch @Phaedrux
                      last edited by 1 Feb 2023, 06:45

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

                      It's safe to power cycle at this point and see where it's at.

                      I did that and now the board doesn't show up. I ran an IP scan on my network and don't see it. If I can get help in the morning I'll look for a USB cable.

                      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
                      • undefined
                        Phaedrux Moderator
                        last edited by 1 Feb 2023, 06:50

                        of course this would have to be a troublesome upgrade. πŸ˜…

                        Usb cable would be the way forward. The wifi server may need to be reflashed.

                        If you can get a terminal connected send m115 to check firmware version and m122 to get more info. M997 S1 to reflash the wifi module.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 1 Feb 2023, 07:59 Reply Quote 0
                        • undefined
                          gbartsch @Phaedrux
                          last edited by 1 Feb 2023, 07:59

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

                          of course this would have to be a troublesome upgrade.

                          Yup! LOL. 😒

                          My Duet isn’t WIFI; just Ethernet.

                          Am I looking at Fallback Procedure #1?
                          https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware

                          Thank you for helping me with this.

                          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

                          undefined 1 Reply Last reply 1 Feb 2023, 08:44 Reply Quote 0
                          • undefined
                            dc42 administrators @gbartsch
                            last edited by 1 Feb 2023, 08:44

                            @gbartsch you can use fallback procedure #1 if the Duet shows up Duet electronics when you connect it to your PC. If it doesn't show up, then use fallback procedure #2 to upgrade directly to firmware 3.4.5.

                            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

                            undefined 1 Reply Last reply 1 Feb 2023, 21:48 Reply Quote 0
                            • undefined
                              gbartsch @dc42
                              last edited by 1 Feb 2023, 21:48

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

                              you can use fallback procedure #1 if the Duet shows up Duet electronics when you connect it to your PC

                              Hi. Thank you.

                              My Duet board is showing up in the Device Manager not as 'Duet 3D printer electronics' but as 'USB Serial Device (COM3)'; is that OK?

                              2023-02-01_12h08_47.png

                              When I try sending M997 S0 I get various error messages (similar to below) Maybe I'm not putting the files in the right place on the MicroSD card?

                              2023-02-01_11h54_35.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
                              • undefined
                                Phaedrux Moderator
                                last edited by 1 Feb 2023, 21:52

                                What firmware version is installed? Send M115 to check.

                                It's looking in the firmware folder. Do you have a firmware folder on the SD card?

                                This folder was introduced in firmware 3.3. Normally, when doing the zip file upload update process DWC will create the folder for you automatically. When doing it manually you'll need to do that yourself.

                                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.

                                But first need to know which firmware is currently installed.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                undefined 2 Replies Last reply 1 Feb 2023, 22:11 Reply Quote 0
                                • undefined
                                  gbartsch @tas
                                  last edited by 1 Feb 2023, 21:58

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

                                  It is worth mentioning (this is the idiot's guide after all)

                                  True it is! But the gods have seen fit to make sure I have as many problems as possible so the thread is quite comprehensive!!

                                  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
                                  • undefined
                                    gbartsch @Phaedrux
                                    last edited by 1 Feb 2023, 22:11

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

                                    What firmware version is installed? Send M115 to check.

                                    Cool; I didn't know I could .. the message returned is ..

                                    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>

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

                                    It's looking in the firmware folder. Do you have a firmware folder on the SD card?

                                    There wasn't but at one point I made one but don't remember what I put in it. I know this try doesn't have one.

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

                                    As long as I can press the Reset button that may be easiest. I may have to wait a while for a more techy person to help me if I need to fiddle with jumpers.

                                    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

                                    undefined 1 Reply Last reply 1 Feb 2023, 22:15 Reply Quote 0
                                    • undefined
                                      gbartsch @Phaedrux
                                      last edited by 1 Feb 2023, 22:13

                                      @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
                                      • undefined
                                        Phaedrux Moderator @gbartsch
                                        last edited by Phaedrux 2 Jan 2023, 22:16 1 Feb 2023, 22:15

                                        @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

                                        undefined 4 Replies Last reply 1 Feb 2023, 22:58 Reply Quote 0
                                        • undefined
                                          gbartsch @Phaedrux
                                          last edited by 1 Feb 2023, 22:58

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