• 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 @Phaedrux
    last edited by 29 Jan 2023, 08:35

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

    Here's an updated config set that should serve you well. The config tool caught most things from your previous config, but either you had made manual changes along the way, or it didn't catch everything.

    Thank you for modifying the file; I'm eager to look through it. I don't seem to see it though?

    I had indeed made changes to the original file.

    My machine uses an endstop for homing (at the top) so I'm not sure why the Configuration Tool didn't define one. I'm going to assume that is very important and will need to be resolved before trying to do the upgrade.

    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 29 Jan 2023, 18:40

      So no probe at all? Your old config does appear to have a bltouch defined.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 29 Jan 2023, 19:20 Reply Quote 0
      • undefined
        gbartsch @Phaedrux
        last edited by 29 Jan 2023, 19:20

        @Phaedrux When my friend set up this extruder and installed the Duet board on my machine he installed the BLTouch. It worked and I ran a few bed mesh probing routines and saw the bed diagram but I never used ABL (I just tram the bed manually and am happy with that). Once a print failed and the BLTouch pin broke off when it dragged over the broken part so it's useless ATM and I don't want to use it going forward regardless. When someone can help me I want to remove it entirely.

        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 30 Jan 2023, 03:27

          I thought of a way to generate a pristine set of config files. I opened the RepRapFirmware Configuration Tool in two browsers on two separate PCs.

          On PC1 I ran the Configuration Tool based on the current machine's config.g file and on PC2 I ran the Configuration Tool from a clear start.

          I copied values from each page using settings from the current machine's and added their values to the Configuration Tool on PC2. I had to add a few things to PC2's config files, as well as delete some. I'm betting I achieved a clean set of config files. I altered the homing files too based on the current machine.

          Here are the two config.g files:

          CURRENT
          config.g

          PRISTINE
          config.g

          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 30 Jan 2023, 03:47

            Here is the config set I made for you based on what I understand of your printer and your existing configuration.

            config.zip.TXT

            You can remove the .TXT extension and it will be a zip file you can upload to your printer after updating the firmware.

            And here are the relevant individual files.

            homez.g homey.g homex.g homeall.g config.g

            Give that a look over and see if I've missed anything.

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined undefined 3 Replies Last reply 30 Jan 2023, 03:51 Reply Quote 0
            • undefined
              gbartsch
              last edited by 30 Jan 2023, 03:49

              Aside from the firmware switching method you described in my pressure advance thread (https://forum.duet3d.com/topic/30990/can-t-run-pressure-advance-g-code/16) is the easiest way to ensure I can restore the printer to a working state to simply put aside a MicroSD card with all the working files on it, and do the upgrade on a different card (after copying the working files onto it)? I'm assuming that putting that original card back in the Duet would restore the machine to a working state if something went wrong with the upgrade?

              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 30 Jan 2023, 03:51

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

                Here is the config set I made for you based on what I understand of your printer and your existing configuration.

                Thank you! I'll look through these.

                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 30 Jan 2023, 03:53

                  No the firmware is flashed to the Duet board itself. The SD card only has the configuration.

                  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.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 1 Feb 2023, 02:13 Reply Quote 0
                  • undefined
                    gbartsch @Phaedrux
                    last edited by gbartsch 30 Jan 2023, 04:27

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

                    Here is the config set I made for you based on what I understand of your printer and your existing configuration.

                    Fabulous! Thank you! Aside from a few settings most of the settings in the config.g file I made match yours. Where I knew I could, I moved your settings to my config.g file.

                    There are a few differences and I don't understand which to use. I've included the two files.

                    1. Should I disable bang-bang for the heater bed? I'm assuming yes as it is the old method?

                    2. Should I use your sensor values or mine? I'm going to run the Configuration Tool again inputting my thermistor values to see what numbers are generated.

                    3. Should I use your fan values or mine? I have the hotend fan and two part cooling fans (on on either side of the hotend).

                    4. And I've defined a second tool; is that another hotend? I have only one and wasn't sure what I was doing when I ran to the Configuration Tool so probably should not have added a second.

                    Crikey, I think we're almost there!!

                    [I'll look at the homing files soon.]

                    1675050410916-config.g

                    config.g

                    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 undefined 2 Replies Last reply 31 Jan 2023, 14:08 Reply Quote 0
                    • undefined
                      gbartsch
                      last edited by 31 Jan 2023, 03:24

                      My thermistor is here:

                      2023-01-30_20h10_34.png

                      So I entered 4267 in the Configuration Tool:

                      2023-01-30_20h19_34.png

                      And the result was:

                      M308 S1 P"e0temp" Y"thermistor" T100000 B4267  ; configure sensor 1 as thermistor on pin e0temp
                      

                      So I think that's the proper hotend thermistor definition?

                      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 31 Jan 2023, 03:58

                        That looks correct. I thought I matched your thermistors from your config, but I think I did that manually, and then actually went back and regenerated the files but maybe didn't update the configurator with them.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 31 Jan 2023, 18:51 Reply Quote 0
                        • undefined
                          o_lampe @Phaedrux
                          last edited by 31 Jan 2023, 09:19

                          @Phaedrux
                          [OT] It's forbidden to upload .zip files for good reason. But when It's sooo easy to trick the upload manager, it's kinda useless, don't you think?

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            tas @gbartsch
                            last edited by 31 Jan 2023, 14:08

                            @gbartsch Do not use bang-bang. It can cause artifacts in your prints. Follow the guide for auto tuning here

                            https://docs.duet3d.com/User_manual/Connecting_hardware/Heaters_tuning

                            At the end of tuning it will give you the full M307 command for your bed heater. Copy that over your existing M307 in config.g.

                            undefined 1 Reply Last reply 31 Jan 2023, 18:49 Reply Quote 1
                            • undefined
                              gbartsch @tas
                              last edited by 31 Jan 2023, 18:49

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

                              Do not use bang-bang. It can cause artifacts in your prints. Follow the guide for auto tuning here

                              Thanks! I'm so looking forward to this firmware upgrade. It will really help to have it current.

                              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 31 Jan 2023, 18:51

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

                                That looks correct. I thought I matched your thermistors from your config, but I think I did that manually, and then actually went back and regenerated the files but maybe didn't update the configurator with them.

                                Thank you! Almost there ..

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