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

    Firmware 1.20 released

    Scheduled Pinned Locked Moved
    Firmware installation
    20
    89
    14.2k
    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.
    • deckingmanundefined
      deckingman
      last edited by

      @abitidi:

      I just want to report that the github link on this wiki page is broken. https://duet3d.com/wiki/Updating_main_firmware

      Works for me. Maybe it got fixed between your post and mine?

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

      1 Reply Last reply Reply Quote 0
      • abitidiundefined
        abitidi
        last edited by

        @deckingman:

        Works for me. Maybe it got fixed between your post and mine?

        Weird…I still get a 404 when I try the link.

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

          I just tried it again (using the link in deckingman's post above) and it works for me.

          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
          • Dougal1957undefined
            Dougal1957
            last edited by

            it also works for me with no issues (From the OP's original link)

            1 Reply Last reply Reply Quote 0
            • rar26undefined
              rar26
              last edited by

              do i have to redo my config file after the update?

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

                @rar26:

                do i have to redo my config file after the update?

                Read the upgrade notes to see whether you need to make any changes.

                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
                • Mikeundefined
                  Mike
                  last edited by

                  Both of my Duets stopped printing any G-code file with brackets in it's name after 1.20 update. The files upload fine,it's just that the subsequent M32 command fails with "Gcode file not found". Same files worked fine in 1.19 and before, so it's probably something that was changed with 1.20.

                  Edit: Rechecked, it's definitely the firmware - already uploaded file prints on 1.19.2, gives error with 1.20 or later. Web interface version had no effect on the outcome.

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

                    It's because standard GCode uses brackets to enclose comments, therefore anything enclosed in brackets is stripped out. Workaround is to use double quotes around the filename in the GCode command. The beta PanelDue firmware already does this, and DWC will do so soon.

                    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
                    • Thomllamaundefined
                      Thomllama
                      last edited by

                      so, upgraded to 1.2 with help from here (thanks a bunch! :). ) everything seemed fine, but now getting an "error G28 failed to home" with X and Y end stops. Z seems to work fine. thing is it visually/mechanically seems to be homing fine. Setup on a CoreXY. here is a video if it helps figure what I'm doing wrong. what settings and such should I be looking at/for? Supposedly it was a beta version of the firmware issue and was fixed? but I never used a beta version.. just upgraded from 1.18 to 1.2

                      https://youtu.be/2oJRdR2xxqQ

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

                        Is is definitely moving as far as the X and Y homing switches when you try to home all, or when you try to home just X or just Y? The movement in your video looks very short.

                        Please share your config.g and homing files.

                        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
                        • Thomllamaundefined
                          Thomllama
                          last edited by

                          I haven't tried to home all as the Y end stop isn't mounted yet so I trip it by hand myself. reason I didn't show it. 😉 I saw the write up on the "home all" for CoreXY which is easy enough .. Short movements was just because I didn't want to waste peoples time watching it slide across, so I was just starting them rather close. - Config -g -

                          [c]; Configuration file for Duet WiFi (firmware version 1.17)
                          ; executed by the firmware on start-up
                          ;
                          ; generated by RepRapFirmware Configuration Tool on Mon Oct 16 2017 05:23:05 GMT-0400 (EDT)

                          ; General preferences
                          M111 S0 ; Debugging off
                          G21 ; Work in millimetres
                          G90 ; Send absolute coordinates…
                          M83 ; ...but relative extruder moves
                          M555 P2 ; Set firmware compatibility to look like Marlin
                          M208 X0 Y0 Z0 S1 ; Set axis minima
                          M208 X350 Y350 Z350 S0 ; Set axis maxima
                          M667 S1 ; switch to CoreXY mode
                          ; Endstops
                          M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches

                          ; Drives
                          M569 P0 S1 ; Drive 0 goes backwards (X axis)
                          M569 P1 S0 ; Drive 1 goes forwards (Y Axis)
                          M569 P2 S0 ; Drive 2 goes forwards (Z Axis)
                          M569 P3 S0 ; Drive 3 goes forwards (Extruder)
                          M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                          M92 X160 Y160 Z400 E97 ; Set steps per mm
                          M566 X700 Y700 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
                          M203 X6000 Y6000 Z400 E1200 ; Set maximum speeds (mm/min)
                          M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
                          M906 X900 Y900 Z900 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                          M84 S30 ; Set idle timeout

                          ; Heaters
                          M143 S245 ; Set maximum heater temperature to 245C
                          M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                          M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                          M307 H1 A737.5 C231 D5.5 B0
                          M307 H0 A166.3 C515.3 D2.5 B0

                          ; Tools
                          M563 P0 D0 H1 ; 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

                          ; Network
                          M550 PLlama CoreXY ; Set machine name
                          M552 S1 ; Enable network
                          M587 SXXXX P######## ; Configure access point. You can delete this line once connected
                          M586 P0 S1 ; Enable HTTP
                          M586 P1 S0 ; Disable FTP
                          M586 P2 S0 ; Disable Telnet

                          ; Fans
                          M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                          M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
                          M106 P2 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

                          ; custom tune Duet CPU temp
                          M912 P0 S-5.7

                          ; Custom settings are not configured[/c]

                          1 Reply Last reply Reply Quote 0
                          • Thomllamaundefined
                            Thomllama
                            last edited by

                            home X, Y and Z

                            [c]
                            ; homex.g
                            ; called to home the X axis
                            ;
                            ; generated by RepRapFirmware Configuration Tool on Mon Oct 16 2017 05:23:05 GMT-0400 (EDT)

                            ; Lift Z relative to current position
                            G91
                            G1 Z5 F6000
                            G90

                            ; Move quickly to X axis endstop and stop there (first pass)
                            G1 X-400 F1800 S1

                            ; Go back a few mm
                            G91
                            G1 X5 F6000
                            G90

                            ; Move slowly to X axis endstop once more (second pass)
                            G1 X-235 F360 S1
                            M84

                            –-------------------------------------------
                            ; homey.g
                            ; called to home the Y axis
                            ;
                            ; generated by RepRapFirmware Configuration Tool on Mon Oct 16 2017 05:23:05 GMT-0400 (EDT)

                            ; Lift Z relative to current position
                            G91
                            G1 Z5 F6000
                            G90

                            ; Move quickly to Y axis endstop and stop there (first pass)
                            G1 Y-400 F1800 S1

                            ; Go back a few mm
                            G91
                            G1 Y5 F6000
                            G90

                            ; Move slowly to X axis endstop once more (second pass)
                            G1 Y-215 F360 S1
                            M84


                            ; homez.g
                            ; called to home the Z axis
                            ;
                            G91 ; relative mode
                            G1 Z4 F200 ; raise head 4mm to ensure it is above the switch trigger height
                            G90 ; back to absolute mode
                            G91 ; relative mode
                            G1 Z-400 S1 F250 ; move Z down until the switch triggers
                            G1 Z4 F200 ; raise head 4mm to ensure it is above the switch trigger height
                            G1 Z-200 S1 F50 ; move Z down until the switch triggers
                            G90 ; back to absolute mode
                            G92 Z0.15 ; tell the firmware that we are at Z=0.15mm
                            [/c]

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

                              Something very strange going on here. How did you get the situation where Z was homed but X and Y were not? The reason I ask is that you can't home Z unless X and Y have already been homed. At least that's how it is and how it has always been on my CoreXY.

                              Edit. I think I know why. You have M84 at the end of all you homing files. This cuts the power to the motors and resets the state to be not homed (because without idle hold, they could easily be moved). Take out those M84 commands.

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

                              1 Reply Last reply Reply Quote 0
                              • Thomllamaundefined
                                Thomllama
                                last edited by

                                @deckingman:

                                Something very strange going on here. How did you get the situation where Z was homed but X and Y were not? The reason I ask is that you can't home Z unless X and Y have already been homed. At least that's how it is and how it has always been on my CoreXY.

                                ummm not a clue.. just hit the home Z.. there shouldn't be any reason you can't home Z pretty much any time you want… at least none I can think of.

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

                                  @Thomllama:

                                  @deckingman:

                                  Something very strange going on here. How did you get the situation where Z was homed but X and Y were not? The reason I ask is that you can't home Z unless X and Y have already been homed. At least that's how it is and how it has always been on my CoreXY.

                                  ummm not a clue.. just hit the home Z.. there shouldn't be any reason you can't home Z pretty much any time you want… at least none I can think of.

                                  Just edited my post - read it again.

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

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

                                    @Thomllama:

                                    @deckingman:

                                    Something very strange going on here. How did you get the situation where Z was homed but X and Y were not? The reason I ask is that you can't home Z unless X and Y have already been homed. At least that's how it is and how it has always been on my CoreXY.

                                    ummm not a clue.. just hit the home Z.. there shouldn't be any reason you can't home Z pretty much any time you want… at least none I can think of.

                                    Odd. Perhaps it depends on what type of Z homing switch you have configured. I use the nozzle to probe the bed so my Z homing files move the head to the centre of the bed. Maybe that;s why DWC won't let me home Z without first having homed X and Y.

                                    Anyway, it's you M84 commands that are resetting all the homing status (including Z because it cuts power to all motors). So take them out.

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

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

                                      @deckingman:

                                      Edit. I think I know why. You have M84 at the end of all you homing files. This cuts the power to the motors and resets the state to be not homed (because without idle hold, they could easily be moved). Take out those M84 commands.

                                      Good catch! He doesn't have M84 at the end of homez.g, which is why Z is remaining homed.

                                      The motor currents are reduced to the idle value after 30 seconds of printer inactivity. By default this is 30% of normal, which on most non-delta printers is sufficient to hold position. Whereas M84 cuts the current completely, so the motors are flagged as not homed because it is quite likely that they will not be in the same position when you apply power again.

                                      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
                                      • Thomllamaundefined
                                        Thomllama
                                        last edited by

                                        @deckingman:

                                        @Thomllama:

                                        @deckingman:

                                        Something very strange going on here. How did you get the situation where Z was homed but X and Y were not? The reason I ask is that you can't home Z unless X and Y have already been homed. At least that's how it is and how it has always been on my CoreXY.

                                        ummm not a clue.. just hit the home Z.. there shouldn't be any reason you can't home Z pretty much any time you want… at least none I can think of.

                                        Odd. Perhaps it depends on what type of Z homing switch you have configured. I use the nozzle to probe the bed so my Z homing files move the head to the centre of the bed. Maybe that;s why DWC won't let me home Z without first having homed X and Y.

                                        Anyway, it's you M84 commands that are resetting all the homing status (including Z because it cuts power to all motors). So take them out.

                                        @dc42:

                                        @deckingman:

                                        Edit. I think I know why. You have M84 at the end of all you homing files. This cuts the power to the motors and resets the state to be not homed (because without idle hold, they could easily be moved). Take out those M84 commands.

                                        Good catch! He doesn't have M84 at the end of homez.g, which is why Z is remaining homed.

                                        The motor currents are reduced to the idle value after 30 seconds of printer inactivity. By default this is 30% of normal, which on most non-delta printers is sufficient to hold position. Whereas M84 cuts the current completely, so the motors are flagged as not homed because it is quite likely that they will not be in the same position when you apply power again.

                                        Sweet!! man you guys are awesome!!! I'll check it out in a bit!! Thanks. 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • Thomllamaundefined
                                          Thomllama
                                          last edited by

                                          That worked!!!!!! thanks a bunch again guys!!! 🙂 (printing up a few more mounts/parts today on the old i3 clone, hoping tomorrow to be doing test cube prints on this Core XY at the latest 🙂 )

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

                                            @dc42:

                                            @Captain_sq:

                                            I'm not sure wich number you're after so I copied the entire response:
                                            …
                                            17:34:17.154 : Last reset 00:07:46 ago, cause: power up
                                            17:34:17.154 : Last software reset time unknown, reason: Stuck in spin loop, spinning module Network, available RAM 8620 bytes (slot 2)
                                            17:34:17.154 : Software reset code 0x2041 HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0440f80f, BFAR 0xe000ed38, SP 0x20087e6c
                                            17:34:17.155 : Stack: 000bfb1f 01c8a8c0 fffffff9 00ffffff 20087ebc 20070fe8 01c8a8c0 20087ebc 000a6221 000a6220 21000000 20087ea0 2007a938 00000000 2007376c 200737a8 20087ebc 0000012c 2007aea8 75207369 01c8a8c0 2007376c 000a5b1d 2001376c
                                            ...

                                            Thanks, that should help me to track the problem down.

                                            I have taken a look at your stack trace, but unfortunately you appear to be using an older build of 1.20.1RC for the Duet 06/085 than the one I have symbols for.

                                            Please can you try the version of RepRapFirmware.bin at https://www.dropbox.com/s/ozuw60nflckpq6c/RepRapFirmware.bin?dl=0. Assuming it keeps restarting in the same way when the Ethernet cable is connected, after letting it do that a couple of times please remove the Ethernet cable, then send M122 via USB and post the output from it here. Also please post your config.g file.

                                            PS - I think the problem may be occurring in the DHCP code. If you are setting the IP address in M552 to zero in order to use DHCP, please try setting a static IP address and see if that resolves the problem.

                                            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