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

RRF Update to 3.3 just killed my FW

Scheduled Pinned Locked Moved
General Discussion
3
46
2.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.
  • undefined
    Andy Cohen
    last edited by 31 Jan 2022, 22:43

    Tried to update from 3.0 to 3.3. It just hung. After about 20 minutes I gave up and rebooted. Now I can no longer connect to the machine via wifi, the extruder fan stays on and I can't get it to respond on the panel due at all. The update killed it.
    OK... so I will need to do a new install. HOW? I do not see new install instructions anywheres only updates.

    undefined 1 Reply Last reply 31 Jan 2022, 23:20 Reply Quote -1
    • undefined
      Phaedrux Moderator
      last edited by Phaedrux 31 Jan 2022, 22:55

      It's likely that that wifi server didn't get updated correctly.

      Try sending M997 S1 on the panel.

      Otherwise connect via USB terminal and see what you can see there with M122.

      Also, did you update your config.g to enable the paneldue itself? That must be done in RRF3.

      M575 P1 B57600 S1

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        droftarts administrators @Andy Cohen
        last edited by 31 Jan 2022, 23:20

        @andy-cohen if the firmware did update to 3.3 (connect via USB, send M115) send

        M997 S1 P”0:/sys/DuetWiFiServer.bin”

        Otherwise it will look in the /firmware folder, which doesn’t exist, and you’ll get an error message. 3.3 and later keeps firmware updates out of the sys folder.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        1 Reply Last reply Reply Quote 1
        • undefined
          Andy Cohen
          last edited by 31 Jan 2022, 23:48

          Unfortunately... nothing seems to work at all. It acts like it cannot see the SD card and the extruder fan goes on. The update looks like it killed my whole setup!
          Can't I simply take the SD card out and make changes?

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 1 Feb 2022, 00:06

            There are config changes required between 3.0 and above. Can you post your current config.g?

            You can remove the SD card from the Duet and check the config.g on your PC.

            A firmware update can't kill anything. We just need you to connect the board via USB terminal to see what is actually going on.

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 1 Feb 2022, 00:08 Reply Quote 0
            • undefined
              Andy Cohen @Phaedrux
              last edited by 1 Feb 2022, 00:08

              @phaedrux I was able top get the wifiserver running thanks to your post.
              It looks like quite a bit of the config is no longer working. Great.

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 1 Feb 2022, 00:10

                The changes between 3.0 and up are pretty minor.

                The change between RRF2 and RRF3 are more substantial. What firmware were you running before?

                You can get an example config updated for 3.3 from the config tool to compare against. https://configtool.reprapfirmware.org/Start

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • undefined
                  Andy Cohen
                  last edited by 1 Feb 2022, 00:29

                  @phaedrux I started with a late v2 and I'm lost with the new approach with the M950. Is there a web app I can use to gen the gcode?

                  undefined 1 Reply Last reply 1 Feb 2022, 00:31 Reply Quote 0
                  • undefined
                    Phaedrux Moderator @Andy Cohen
                    last edited by 1 Feb 2022, 00:31

                    @andy-cohen said in RRF Update to 3.3 just killed my FW:

                    Is there a web app I can use to gen the gcode?

                    Yes. I linked it in my last post.

                    You can get an example config updated for 3.3 from the config tool to compare against. https://configtool.reprapfirmware.org/Start

                    Here's what I normally tell people when they want to update from RRF2

                    If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them first. Reboot after each. Use M115 in the gcode console to verify the firmware has been applied.
                    https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
                    That will get your firmware and DWC up to date.

                    You can see the change logs here:
                    https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

                    For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                    https://configtool.reprapfirmware.org/Start

                    Backup your existing config files in the sys folder in case you want to switch back to RRF2. It’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

                    These documents will come in handy during the conversion.
                    https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
                    https://duet3d.dozuki.com/Wiki/Gcode

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Andy Cohen
                      last edited by Andy Cohen 2 Jan 2022, 00:47 1 Feb 2022, 00:46

                      Thanks for the help.
                      I was able to get it to kinda work. It still does not see my extruder heater, only the bed heater. This is the heater gcode in the config file I generated:

                      ; Heaters
                      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B1 S1.00 ; enable 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 B4138 ; 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

                      undefined undefined 2 Replies Last reply 1 Feb 2022, 00:49 Reply Quote 0
                      • undefined
                        Andy Cohen @Andy Cohen
                        last edited by 1 Feb 2022, 00:49

                        @andy-cohen Here's the tool def:
                        ; Tools
                        M563 P0 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

                        undefined 1 Reply Last reply 1 Feb 2022, 01:12 Reply Quote 0
                        • undefined
                          Phaedrux Moderator @Andy Cohen
                          last edited by Phaedrux 2 Jan 2022, 01:12 1 Feb 2022, 01:11

                          @andy-cohen said in RRF Update to 3.3 just killed my FW:

                          It still does not see my extruder heater, only the bed heater.

                          What does not see it?

                          Can you send M122 and M98 P"config.g" in the gcode console or USB terminal and share the results?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          undefined 1 Reply Last reply 1 Feb 2022, 01:30 Reply Quote 0
                          • undefined
                            Andy Cohen @Andy Cohen
                            last edited by 1 Feb 2022, 01:12

                            @andy-cohen Yeah... I see it... The web app did not make the P1 tool.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Andy Cohen @Phaedrux
                              last edited by 1 Feb 2022, 01:30

                              @phaedrux OK... heaters and fans seem OK.
                              Now the motors. They won't home. Comparing with my original config, I see nothing that can be incorrect. Any ideas?
                              ; Drives
                              M569 P0 S1 ; physical drive 0 goes forwards
                              M569 P1 S1 ; physical drive 1 goes forwards
                              M569 P2 S0 ; 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 X88.57 Y88.57 Z400.00 E125.459271 ; set steps per mm
                              M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
                              M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
                              M201 X1000.00 Y1000.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
                              M906 X800 Y800 Z400 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
                              M84 S30 ; Set idle timeout

                              ; Axis Limits
                              M208 X0 Y0 Z0 S1 ; set axis minima
                              M208 X300 Y195 Z210 S0 ; set axis maxima

                              ; Endstops
                              M574 X2 S0 P"xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
                              M574 Y2 S0 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
                              M574 Z1 S0 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

                              undefined 1 Reply Last reply 1 Feb 2022, 01:35 Reply Quote 0
                              • undefined
                                Phaedrux Moderator @Andy Cohen
                                last edited by 1 Feb 2022, 01:35

                                @andy-cohen said in RRF Update to 3.3 just killed my FW:

                                M574 X2 S0 P"xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
                                M574 Y2 S0 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
                                M574 Z1 S0 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

                                S0 is incorrect.

                                If the signal needs to be inverted, use S1 and add a ! to the front of the pin name.

                                M574 X2 S1 P"!xstop"

                                Z-Bot CoreXY Build | Thingiverse Profile

                                undefined 1 Reply Last reply 1 Feb 2022, 01:48 Reply Quote 0
                                • undefined
                                  Andy Cohen @Phaedrux
                                  last edited by 1 Feb 2022, 01:48

                                  @phaedrux It moves but the limit switches are ignored. When told to Home X it moves it on an angle. It's a coreXY machine so I got something wrong..
                                  Why oh WHY was soooo much changed?!?

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Phaedrux Moderator
                                    last edited by 1 Feb 2022, 02:13

                                    You'll have to share your config and homing files at this point for any meaningful feedback.

                                    Are you sure it's set to corexy kinematic?

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    undefined 1 Reply Last reply 1 Feb 2022, 02:17 Reply Quote 0
                                    • undefined
                                      Andy Cohen @Phaedrux
                                      last edited by 1 Feb 2022, 02:17

                                      @phaedrux Heck... at this point I'm not sure of anything!
                                      I also suspect the wifiserver FW needs to be updated as well as the ManelDue.

                                      ; Configuration file for Duet WiFi (firmware version 3.3)
                                      ; executed by the firmware on start-up
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jan 31 2022 16:37:49 GMT-0800 (PST)

                                      ; General preferences
                                      G90 ; send absolute coordinates...
                                      M83 ; ...but relative extruder moves
                                      M550 P"My Printer" ; set printer name

                                      ; Network
                                      M550 P"CloneDuet" ; Set machine name

                                      M552 S1 ; Enable network

                                      M586 P0 S1 ; Enable HTTP
                                      M586 P1 S0 ; Disable FTP
                                      M586 P2 S0 ; Disable Telnet

                                      M552 S1 ; enable network
                                      M586 P0 S1 ; enable HTTP
                                      M586 P1 S0 ; disable 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 S0 ; 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 X88.57 Y88.57 Z400.00 E125.459271 ; set steps per mm
                                      M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
                                      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
                                      M201 X1000.00 Y1000.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
                                      M906 X800 Y800 Z400 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
                                      M84 S30 ; Set idle timeout

                                      ; Axis Limits
                                      M208 X0 Y0 Z0 S1 ; set axis minima
                                      M208 X300 Y195 Z210 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 Z1 S1 P"!zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

                                      ; Z-Probe
                                      M558 P1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
                                      G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
                                      M557 X10:300 Y-16.0:195 S20 ; define mesh grid

                                      ; Heaters
                                      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B1 S1.00 ; enable 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 B4138 ; 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
                                      M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

                                      ; Tools
                                      M563 P0 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
                                      M563 P1 ; Define tool 1
                                      G10 P1 X35 Y0 Z0 ; Set tool 1 axis offsets
                                      G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

                                      ; Custom settings are not defined

                                      undefined 1 Reply Last reply 2 Feb 2022, 01:16 Reply Quote 0
                                      • undefined
                                        Andy Cohen
                                        last edited by 1 Feb 2022, 02:30

                                        Yeah... you were correct.
                                        There's no
                                        "M669 K1 ; switch to CoreXY mode"
                                        I added it and now it seems to work.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator
                                          last edited by 1 Feb 2022, 03:19

                                          Can you send m122 and share the results?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          undefined 1 Reply Last reply 1 Feb 2022, 03:28 Reply Quote 0
                                          3 out of 46
                                          • First post
                                            3/46
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA