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

    Firmware 1.20 released

    Scheduled Pinned Locked Moved
    Firmware installation
    20
    89
    14.0k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Thanks! I have reproduced the step errors, both on the bench and in the simulator. I have located the reason for the vast majority of the step errors, and fixed it. The step errors are benign and should not affect print quality. I am still getting a small number of step errors reported with a different cause, and I will investigate those today.

      I already found another bug that needs to be fixed in 1.20 (also present in 1.19) concerning filament sensor support, so I am planning a 1.20.1 release, which will also have the fixes for the step error reports.

      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

        OK then, I just today fired up my Duet Wifi on my CoreXY after many months of idle. Was mounted for a short time on m old i3 clone just for kicks. anyway, it's still running 1.8. what do I have to do to update? just get all those files? upload to SD card and then run the update like is in the Docs for 1.9? Honestly I tried the 1.9 update back then and it failed miserably. had to re set to 1.8.

        Do want to update as right now the wifi won't connect every time I reboot or just fire it up for the day. I have to go and kick my computer's Wifi over the the Duet. do the 192.1.1…. then the window pops up asking for the wifi info.. select network and type in password and reboot and then it'll work,... till I have to reboot again and I'll have to go through the whole process once more. Ugg. anyway, it's late and I'm off to bed.. hoping tomorrow to be a bit better a day for it 😉

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

          One way is to upload the new DuetWiFiFirmware.bin and DuetWiFiServer.bin files WITHOUT installing them (or copy them to the SD card on a PC). Also comment out the M552 S1 command in config.g. Then connect via USB and send M997 S0 to update the main firmware. You can watch the progress on PanelDue if you have one. After a minute you should be able to reconnect via USB, then send M997 S1 to update the WiFi firmware. Then follow the "getting connected" instructions for firmware 1.19 and later on the wiki.

          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
          • vhowardundefined
            vhoward
            last edited by

            I upgraded from 1.19 to 1.20. Now my BL Touch does not work correctly. It self tests fine, but when I home z, the probe does deploy, but now my printer tries to drive the nozzle through the heat bed. It does not stop.

            If I down grade to 1.19 on the firmware, do I need to downgrade the wifi server also?

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

              @dc42:

              One way is to upload the new DuetWiFiFirmware.bin and DuetWiFiServer.bin files WITHOUT installing them (or copy them to the SD card on a PC). Also comment out the M552 S1 command in config.g. Then connect via USB and send M997 S0 to update the main firmware. You can watch the progress on PanelDue if you have one. After a minute you should be able to reconnect via USB, then send M997 S1 to update the WiFi firmware. Then follow the "getting connected" instructions for firmware 1.19 and later on the wiki.

              did exactly that.. Uploaded and told it not to install. Turned off the wifi, disconnected everything and brought over to computer -
              plugged into USB, connect with Printrun(pronto face) type in M997 S0,.. keep getting errors.. Remove SD card and plug in direct to computer.. Can't drag and drop the file won't let me. ?? now what?

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

                I seriously think my WiFi module is bad. this thing has been nothing but issues, drops connection. won't reconnect 1/2 the time with out a complete power down and restart and then I always had to go in and reconfigure the network info. Every single time. did everything you stated above ad it won't work. Now I can't even get the wifi to turn back on under 1.8. 😕

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

                  M552 S1
                  SENDING:M552 S1
                  WiFi module started
                  Error: Failed to initialise WiFi module, code -10
                  [ERROR] Error: Failed to initialise WiFi module, code -10

                  or,…

                  M552 S0
                  SENDING:M552 S0
                  WiFi module started
                  Error: Failed to initialise WiFi module, code -10
                  [ERROR] Error: Failed to initialise WiFi module, code -10

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

                    That error usually means that the main firmware and wifi firmware are out of step, i.e. one is pre-1.19 and the other is 1.19 or later. So use M115 to check that your main firmware is version 1.20; then use your PC to put a fresh copy of DuetWiFiServer.bin from the 1.20 release area of github into /sys on the SD card; put it in the Duet, start the Duet, connect via USB, and send M997 S1 to install it. If/when it reports success, try M552 S1 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

                      seems to be working. 🙂 thanks… so far anyway!! AWESOme!

                      Connecting...
                      Printer is now online.

                      m115
                      SENDING:M115
                      FIRMWARE_NAME: RepRapFirmware for Duet WiFi FIRMWARE_VERSION: 1.20 ELECTRONICS: Duet WiFi 1.0 FIRMWARE_DATE: 2017-12-23
                      Disconnected.
                      Connecting...
                      Printer is now online.
                      M997 S1
                      SENDING:M997 S1
                      Trying to connect at 230400 baud:
                      success
                      Erasing 4096 bytes...
                      Erasing 233472 bytes...
                      Uploading file...
                      5% complete
                      10% complete
                      15% complete
                      20% complete
                      25% complete
                      30% complete
                      35% complete
                      40% complete
                      45% complete
                      50% complete
                      55% complete
                      60% complete
                      65% complete
                      70% complete
                      75% complete
                      80% complete
                      85% complete
                      90% complete
                      95% complete
                      Upload successful
                      M552 S1
                      SENDING:M552 S1
                      WiFi module started
                      Wifi module is connected to access point ####, IP address #######

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

                        so it is working… I recorded this so I could show it if it didn't work and see if I was doing something wrong or it was omething that you guys could see I was missing, or what ever... anyway.. I'll post it for kicks. 🙂
                        https://youtu.be/ICiRkWutB2U

                        1 Reply Last reply Reply Quote 0
                        • Captain_squndefined
                          Captain_sq
                          last edited by

                          I had problems installing newer versions than 1.19 on my Duet 0.6 - it would not run.

                          Can I use the 1.20 on this old board or is the board limited to 1.19?

                          Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


                          Embedded systems designer, RC Pilot, maker and Gadget-o-holic

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

                            Yes there is a build of 1.20 for the Duet 0.6 and 0.8.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

                            1 Reply Last reply Reply Quote 0
                            • Captain_squndefined
                              Captain_sq
                              last edited by

                              Great! Thanks.

                              Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


                              Embedded systems designer, RC Pilot, maker and Gadget-o-holic

                              1 Reply Last reply Reply Quote 0
                              • Captain_squndefined
                                Captain_sq
                                last edited by

                                I'm still having problems I'm afraid. Cannot connect to my Duet 0.6 after upgrade to 1.20.1 (RepRapFirmware.bin). I can see that it boots up and runs for about 25 secs, then both ethernet connecor LEDs go out for 3-4 seconds and pattern repeats over an over.

                                I've installed manually the DuetWebControl associated with this firmware release.

                                Any ideas?

                                Regards /Thom

                                Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


                                Embedded systems designer, RC Pilot, maker and Gadget-o-holic

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

                                  I tested 1.20 on a Duet 0.8.5 but not on a 0.6. You could try putting a minimal config.g file on the SD card, with the network parameters and not much else in it.

                                  Version 1.19.2 was tested on a Duet 0.6.

                                  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
                                  • Captain_squndefined
                                    Captain_sq
                                    last edited by

                                    This is my current config.g

                                    [c]
                                    ; Configuration file for Duet 0.6 (firmware version 1.17 to 1.19)
                                    ; executed by the firmware on start-up
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool on Fri Nov 17 2017 18:51:38 GMT+0100 (Västeuropa, normaltid)

                                    ; General preferences
                                    M111 S0 ; Debugging off
                                    G21 ; Work in millimetres
                                    G90 ; Send absolute coordinates…
                                    M83 ; ...but relative extruder moves
                                    M555 P1 ; Set firmware compatibility to look like RepRapFirmare

                                    ;Delta parameters
                                    M665 L190.000 R90 H236.8 B72.0 ; Set delta radius, diagonal rod length, printable radius and homed height
                                    M666 X0 Y0 Z0 ; Endstops
                                    M208 Z-0.5 S1 ; Set minimum Z

                                    ; Endstops
                                    M574 X2 Y2 Z2 S1 ; Set active high endstops
                                    M558 P4 X0 Y0 Z0 H4 F120 T8000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
                                    G31 P600 X0 Y0 Z-0.10 ; Set Z probe trigger value, offset and trigger height
                                    M557 R78 S20 ; Bed mesh

                                    ; Drives
                                    M569 P0 S1 ; Drive 0 goes forwards
                                    M569 P1 S1 ; Drive 1 goes forwards
                                    M569 P2 S1 ; Drive 2 goes forwards
                                    M569 P3 S1 ; Drive 3 goes forwards
                                    M92 X100 Y100 Z100 E141.8 ; Set steps per mm
                                    M566 X1200 Y1200 Z1200 E1500 ; Set maximum instantaneous speed changes (mm/min)
                                    M203 X18000 Y18000 Z18000 E12000 ; Set maximum speeds (mm/min)
                                    M201 X2200 Y2200 Z2200 E2000 ; Set accelerations (mm/s^2)
                                    M906 X960 Y960 Z960 E1600 I60 ; Set motor currents (mA) and motor idle factor in per cent
                                    M84 S30 ; Set idle timeout

                                    ; Heaters
                                    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
                                    M305 P0 T100000 B3950 C0 R1000 H10 ; Set thermistor + ADC parameters for heater 0
                                    M143 H0 S130 ; Set temperature limit for heater 0 (bed) to 130C
                                    M305 P1 T100000 B4267 C0 R1000 H10 ; Set thermistor + ADC parameters for heater 1
                                    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

                                    ; 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 PMy Mini Kossel ; Set machine name
                                    M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
                                    M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
                                    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

                                    ; Read in calibration override settings
                                    M501
                                    G29 S1 ; Read in bed height correction map

                                    ; Miscellaneous
                                    T0 ; Select first tool
                                    [/c]

                                    I'm going to try the network parameters only and then if I manage to connect to it, I'll uncomment paragraphs
                                    step by step.

                                    /Thom

                                    Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


                                    Embedded systems designer, RC Pilot, maker and Gadget-o-holic

                                    1 Reply Last reply Reply Quote 0
                                    • Teilchenundefined
                                      Teilchen
                                      last edited by

                                      @Captain_sq:

                                      I'm still having problems I'm afraid. Cannot connect to my Duet 0.6 after upgrade to 1.20.1 (RepRapFirmware.bin). I can see that it boots up and runs for about 25 secs, then both ethernet connecor LEDs go out for 3-4 seconds and pattern repeats over an over.

                                      I've installed manually the DuetWebControl associated with this firmware release.

                                      Any ideas?

                                      Regards /Thom

                                      This sounds exactly like my problem with 0.85 too.
                                      I did not think about simplifying the config.g, since this is not an option to my opinion, but I am curious to see the results. I am still on 1.18.1 because of that. The 1.19 does run, but it is very unstable, and the 1.20 will not start up at all with my config.

                                      1 Reply Last reply Reply Quote 0
                                      • Captain_squndefined
                                        Captain_sq
                                        last edited by

                                        I'm able to make connection via the USB port using Repetier-Host V2.05. A short clip from the serial log:

                                        [c]22:27:09.813 : RepRapFirmware for Duet is up and running.
                                        22:27:09.816 : N10 M111 S686
                                        22:27:09.816 : FIRMWARE_NAME: RepRapFirmware for Duet FIRMWARE_VERSION: 1.20.1RC2 ELECTRONICS: Duet 0.6 FIRMWARE_DATE: 2018-01-01
                                        22:27:09.816 : N11 T0
                                        10
                                        22:27:09.847 : X:0.000 Y:0.000 Z:0.000 E0:0.0 E1:0.0 E2:0.0 E3:0.0 E4:0.0 E5:0.0 Count 0 0 0 User 0.0 0.0 0.0
                                        22:27:09.847 : serial: T0
                                        22:27:09.847 : serial: M20
                                        22:27:09.847 : Begin file list
                                        22:27:09.849 : Enclosures
                                        22:27:09.849 : Kossel
                                        22:27:09.849 : Art
                                        22:27:09.849 : Supports and mounts
                                        22:27:09.849 : X5S
                                        22:27:09.849 : Couplings
                                        22:27:09.849 : MK PLA L015 N035 (Noraft) PrtAlignmentModel.gcode
                                        22:27:09.849 : Diverse
                                        22:27:09.849 : Gee(i3)
                                        22:27:09.849 : Alu profile 20x20
                                        22:27:09.852 : End file list
                                        22:27:09.852 : serial: M80
                                        22:27:09.852 : serial: M105
                                        22:27:09.853 : serial: M111 S6
                                        22:27:09.853 : serial: T0
                                        22:27:12.803 : N12 M10520
                                        22:27:12.805 : serial: M105
                                        22:27:15.863 : N13 M105
                                        21
                                        22:27:15.864 : serial: M105
                                        22:27:18.929 : N14 M10518
                                        22:27:18.930 : serial: M105
                                        22:27:21.989 : N15 M105
                                        19
                                        22:27:21.990 : serial: M105
                                        22:27:25.048 : N16 M10516
                                        22:27:25.049 : serial: M105
                                        22:27:28.114 : N17 M105
                                        17
                                        22:27:28.114 : serial: M105
                                        22:27:31.174 : N18 M10530
                                        22:27:31.175 : serial: M105
                                        22:27:34.240 : N19 M105
                                        31
                                        22:27:34.241 : serial: M105
                                        22:27:37.300 : N20 M10521
                                        22:27:37.301 : serial: M105
                                        22:27:40.367 : N21 M105
                                        20
                                        22:27:40.368 : serial: M105
                                        22:27:43.426 : N22 M10523
                                        22:27:43.428 : serial: M105
                                        22:27:46.492 : N23 M105
                                        22
                                        22:27:46.493 : serial: M105
                                        22:27:49.552 : N24 M105*17
                                        22:27:49.553 : serial: M105
                                        [/c]

                                        However, if I connect the Ethernet cable, Repetier-Host gets disconnected and the Reboot pattern starts to run again. The current config.g:

                                        [c]
                                        ; Configuration file for Duet 0.6 (firmware version 1.17 to 1.19)
                                        ; executed by the firmware on start-up
                                        ;
                                        ; generated by RepRapFirmware Configuration Tool on Fri Nov 17 2017 18:51:38 GMT+0100 (Västeuropa, normaltid)

                                        ; General preferences
                                        ;M111 S0 ; Debugging off
                                        G21 ; Work in millimetres
                                        G90 ; Send absolute coordinates…
                                        ;M83 ; ...but relative extruder moves
                                        ;M555 P1 ; Set firmware compatibility to look like RepRapFirmare

                                        ;Delta parameters
                                        ;M665 L190.000 R90 H236.8 B72.0 ; Set delta radius, diagonal rod length, printable radius and homed height
                                        ;M666 X0 Y0 Z0 ; Endstops
                                        ;M208 Z-0.5 S1 ; Set minimum Z

                                        ; Endstops
                                        ;M574 X2 Y2 Z2 S1 ; Set active high endstops
                                        ;M558 P4 X0 Y0 Z0 H4 F120 T8000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
                                        ;G31 P600 X0 Y0 Z-0.10 ; Set Z probe trigger value, offset and trigger height
                                        ;M557 R78 S20 ; Bed mesh

                                        ; Drives
                                        ;569 P0 S1 ; Drive 0 goes forwards
                                        ;569 P1 S1 ; Drive 1 goes forwards
                                        ;M569 P2 S1 ; Drive 2 goes forwards
                                        ;M569 P3 S1 ; Drive 3 goes forwards
                                        ;M92 X100 Y100 Z100 E141.8 ; Set steps per mm
                                        ;M566 X1200 Y1200 Z1200 E1500 ; Set maximum instantaneous speed changes (mm/min)
                                        ;M203 X18000 Y18000 Z18000 E12000 ; Set maximum speeds (mm/min)
                                        ;M201 X2200 Y2200 Z2200 E2000 ; Set accelerations (mm/s^2)
                                        ;M906 X960 Y960 Z960 E1600 I60 ; Set motor currents (mA) and motor idle factor in per cent
                                        ;M84 S30 ; Set idle timeout

                                        ; Heaters
                                        ;M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
                                        ;M305 P0 T100000 B3950 C0 R1000 H10 ; Set thermistor + ADC parameters for heater 0
                                        ;M143 H0 S130 ; Set temperature limit for heater 0 (bed) to 130C
                                        ;M305 P1 T100000 B4267 C0 R1000 H10 ; Set thermistor + ADC parameters for heater 1
                                        ;M143 H1 S280 ; Set temperature limit for heater 1 to 280C

                                        ; 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 PMy Mini Kossel ; Set machine name
                                        M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
                                        M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
                                        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

                                        ; Read in calibration override settings
                                        ;M501
                                        ;G29 S1 ; Read in bed height correction map

                                        ; Miscellaneous
                                        ;T0 ; Select first tool
                                        [/c]

                                        Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


                                        Embedded systems designer, RC Pilot, maker and Gadget-o-holic

                                        1 Reply Last reply Reply Quote 0
                                        • Captain_squndefined
                                          Captain_sq
                                          last edited by

                                          As I work with embedded systems myself I see the typical symptoms of a stack crash. While watching the output from the serial line I could observe some kind of "hartbeat" messages from classes running inside the Duet. All seems normal until I plug the ethernet cable in. Then everything just stops.

                                          Custom made Kossel Mini - Duet WiFi / Modded Tronxy X5S - Duet WiFi / Prusa i3 MKIII


                                          Embedded systems designer, RC Pilot, maker and Gadget-o-holic

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

                                            If you run M122 from USB, how much free memory does it report?

                                            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