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

    Duet2 Wifi Update worked - for a short while

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    24
    863
    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.
    • Vetiundefined
      Veti
      last edited by Veti

      post the config.g from the sd card

      also you could redo the steps from
      https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7

      1 Reply Last reply Reply Quote 0
      • peterfrostaundefined
        peterfrosta
        last edited by

        this is last online generated config.
        after first test i added the wifi ssid and pw (line 14) and after second test i comment out the network acivation commands (line 17-20).

        ; Configuration file for Duet WiFi (firmware version 3)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool v3.2.0 on Thu Dec 31 2020 14:52:53 GMT+0100 (Mitteleuropäische Normalzeit)
        
        ; General preferences
        G90                                                    ; send absolute coordinates...
        M83                                                    ; ...but relative extruder moves
        M550 P"Tronxy"                                         ; set printer name
        M669 K1                                                ; select CoreXY mode
        
        
        ;deactivate network for usb connection test
        ;M587 S"ssid" P"pw"
        
        ; Network
        ;M551 P"7373"                                           ; set password
        ;M552 S1                                                ; enable network
        ;M586 P0 S1                                             ; enable HTTP
        ;M586 P1 S1                                             ; enable FTP
        M586 P2 S1                                             ; enable Telnet
        
        
        
        
        ; Drives
        M569 P0 S0                                             ; physical drive 0 goes backwards
        M569 P1 S0                                             ; physical drive 1 goes backwards
        M569 P2 S1                                             ; physical drive 2 goes forwards
        M569 P3 S0                                             ; physical drive 3 goes backwards
        M584 X0 Y1 Z2 E3                                       ; set drive mapping
        M350 X128 Y128 Z32 E32 I0                              ; configure microstepping without interpolation
        M92 X80.00 Y80.00 Z400.00 E420.00                      ; set steps per mm
        M566 X1500.00 Y1500.00 Z180.00 E348.00                 ; set maximum instantaneous speed changes (mm/min)
        M203 X6000.00 Y6000.00 Z180.00 E1200.00                ; set maximum speeds (mm/min)
        M201 X1500.00 Y1500.00 Z200.00 E250.00                 ; set accelerations (mm/s^2)
        M906 X800 Y800 Z800 E800 I35                           ; 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 X400 Y400 Z400 S0                                 ; set axis maxima
        
        ; Endstops
        M574 X1 S1 P"!xstop"                                   ; configure active-high endstop for low end on X via pin !xstop
        M574 Y1 S1 P"!ystop"                                   ; configure active-high endstop for low end on Y via pin !ystop
        M574 Z1 S2                                             ; configure Z-probe endstop for low end on Z
        
        ; Z-Probe
        M558 P1 C"zprobe.in+zprobe.mod" H5 F120 T18000         ; set Z probe type to unmodulated and the dive height + speeds
        G31 P500 X-30 Y0 Z2.62                                 ; set Z probe trigger value, offset and trigger height
        M556 S50 X0 Y0 Z0                                      ; set orthogonal axis compensation parameters
        M557 X52:350 Y30:350 S20                               ; define mesh grid
        
        ; Heaters
        M308 S0 P"bedtemp" Y"thermistor" T102400 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 B0 S1.00                                       ; disable 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 B4725 C7.06e-8 ; 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" Q400                                   ; 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 H-1                                         ; set fan 1 value. Thermostatic control is turned off
        
        ; Tools
        M563 P0 S"HotEnd1" D0 H1 F0:1                          ; 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
        
        ; Custom settings
        ;Tappering
        ;M376 H10			                                           ; Bettkompensation läuft über 10mm Linear aus
        
        
        ; Miscellaneous
        M575 P1 S1 B57600                                      ; enable support for PanelDue
        M501                                                   ; load saved parameters from non-volatile memory
        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"     ; set voltage thresholds and actions to run on power loss
        
        

        i could also offer my former config file.

        i saw your link. since i got no reaction on pc site when plugging in the duet2wifi via usb, i stop very early in this documentation.

        Vetiundefined 1 Reply Last reply Reply Quote 0
        • Vetiundefined
          Veti
          last edited by

          @peterfrosta said in Duet2 Wifi Update worked - for a short while:

          ;M552 S1 ; enable network

          with this commented out you disabled networking
          this was certainly not generated by the configurator.

          you can pull out the sd card and edit the files on a computer

          M350 X128 Y128 Z32 E32 I0 ; configure microstepping without interpolation

          you are overloding the cpu.
          its advised to stay with x16 and interpolation

          M308 S0 P"bedtemp" Y"thermistor" T102400 B4138 ; configure sensor 0 as thermistor on pin bedtemp

          this is incorrect. find the correct values in your thermistor documentation.

          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti @peterfrosta
            last edited by

            @peterfrosta said in Duet2 Wifi Update worked - for a short while:

            i saw your link. since i got no reaction on pc site when plugging in the duet2wifi via usb, i stop very early in this documentation.

            try a different usb cable. a lot of cables will not work.

            peterfrostaundefined 1 Reply Last reply Reply Quote 0
            • peterfrostaundefined
              peterfrosta @Veti
              last edited by

              @Veti

              @Veti said in Duet2 Wifi Update worked - for a short while:

              with this commented out you disabled networking
              this was certainly not generated by the configurator.

              i explained in the post with the config why i have add this.

              @Veti said in Duet2 Wifi Update worked - for a short while:

              you are overloding the cpu.
              its advised to stay with x16 and interpolation

              i didnt understand what u explain. i thought the M308 parameter ist default.

              @Veti said in Duet2 Wifi Update worked - for a short while:

              try a different usb cable. a lot of cables will not work.
              but the sd card reader works with this cable?! i give it a try.

              i tried to reset the hole firmware (https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3)
              I placed the Erase Jumper but the Diag LED keeps shining 😞

              Vetiundefined 1 Reply Last reply Reply Quote 0
              • peterfrostaundefined
                peterfrosta
                last edited by

                this is the config that runs until i updated yesterday

                ; Configuration file for Duet WiFi (firmware version 3)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool v2.1.8 on Fri Jan 17 2020 14:46:51 GMT+0100 (Mitteleuropäische Normalzeit)
                
                ; General preferences
                G90                                                    ; send absolute coordinates...
                M83                                                    ; ...but relative extruder moves
                M550 P"Tronxy"                                         ; set printer name
                
                M667 S1                                                ; select CoreXY mode
                
                ; Network
                M552 S1                                                ; enable network
                M586 P0 S1                                             ; enable HTTP
                M586 P1 S1                                             ; enable FTP
                M586 P2 S1                                             ; enable Telnet
                
                ; Drives
                M569 P0 S0                                             ; physical drive 0 goes backwards
                M569 P1 S0                                             ; physical drive 1 goes backwards
                M569 P2 S1                                             ; physical drive 2 goes forwards	Z1
                M569 P3 S0                                             ; physical drive 3 goes backwards	
                M569 P4 S1                                             ; physical drive 3 goes forwards	Z2
                
                ; DUAL Z
                M584 X0 Y1 Z2:4 E3                                       ; set drive mapping ;M584 X0 Y1 Z2 E3
                M671 X-90:490 Y200:200 S4 							; leadscrews at left (connected to Z) and right (connected to E1) of X axis
                
                
                M350 X64 Y64 Z64 E64 I1                                ; configure microstepping with interpolation
                ;M92 X323.835 Y320 Z1606.522 E1582      			; set steps per mm
                M92 X322.381 Y320.320 Z1606.522 E1582      			; set steps per mm
                
                ;M566 X1500.00 Y1500.00 Z180.00 E348.00                 ; set maximum instantaneous speed changes (mm/min)
                ;M203 X24000.00 Y24000.00 Z1980.00 E9000.00             ; set maximum speeds (mm/min)
                ;M201 X1500.00 Y1500.00 Z200.00 E1000.00                ; set accelerations (mm/s^2)
                
                
                ;M566 X1200.00 Y1200.00 Z50.00 E200.00                 ; set maximum instantaneous speed changes (mm/min)
                ;M203 X18000.00 Y18000.00 Z1980.00 E9000.00             ; set maximum speeds (mm/min)
                ;M201 X1500.00 Y1500.00 Z100.00 E5000.00                ; set accelerations (mm/s^2)
                
                
                M201 X2500 Y2500 Z800 E3000						; set accelerations (mm/s^2)
                M203 X24000 Y24000 Z2500 E6000						; set maximum speeds (mm/min)
                M566 X650 Y550 Z200 E1000							; Jerk (mm/min)
                M572 D0 S0.1
                
                
                
                
                M906 X1100 Y1100 Z1000 E1200 I35                       ; set motor currents (mA) and motor idle factor in per cent
                M84 S30                                                ; Set idle timeout
                
                ; Axis Limits
                M208 X-7 Y-14 Z0 S1                                       ; set axis minima
                M208 X400 Y360 Z390 S0                                 ; set axis maxima
                
                ; Endstops
                M574 X1 S1 P"!xstop"                                    ; configure active-low endstop for low end on X via pin xstop
                M574 Y1 S1 P"!ystop"                                    ; configure active-low endstop for low end on Y via pin ystop
                M574 Z1 S2                                             ; configure Z-probe endstop for low end on Z
                
                ; Filament sensor
                M591 P1 C"e0_stop" S1	;
                
                ; Z-Probe
                
                M558 P8 C"zprobe.in+zprobe.mod" H2 F2000 T12000 S0.04 I1         ; set Z probe type to unmodulated and the dive height + speeds
                G31 P500 X-30 Y5                                   ; set Z probe trigger value, offset and trigger height  Z WERT in homeZ.conf
                ;M556 S50 X0 Y0 Z0                                      ; set orthogonal axis compensation parameters
                ;M557 X52:350 Y30:350 S20                               ; define mesh grid
                
                ; Heaters
                M308 S0 P"bedtemp" Y"thermistor" T102400 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
                M143 H0 S120                                           ; set temperature limit for heater 0 to 120C
                M307 H0 B0 S1.00                                       ; disable bang-bang mode for the bed heater and set PWM limit
                M307 H0 A106.4 C953.3 D2.2 V24.1
                M140 S65 R40;
                
                M140 H0						       ; map heated bed to heater 0
                
                M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; 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
                M143 H1 S280                                           ; set temperature limit for heater 1 to 280C
                M307 H1 B0 S1.00                                       ; disable bang-bang mode for heater  and set PWM limit
                M307 H1 A1170.9 C396.6 D5.8 V24.1	
                
                ; Fans
                M950 F0 C"fan0" Q400                                   ; 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:1                                     ; define tool 0
                G10 P0 X0 Y0 Z0                                        ; set tool 0 axis offsets
                G10 P0 R180 S200                                           ; set initial tool 0 active and standby temperatures to 0C
                
                ; Custom settings
                ;Tappering
                M376 H10			                                            ; Bettkompensation läuft über 10mm Linear aus
                
                
                M501;
                
                1 Reply Last reply Reply Quote 0
                • Vetiundefined
                  Veti @peterfrosta
                  last edited by

                  @peterfrosta said in Duet2 Wifi Update worked - for a short while:

                  i tried to reset the hole firmware (https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3)
                  I placed the Erase Jumper but the Diag LED keeps shining

                  that erased the firmware. no config will bring back the duet.
                  you need to flash it via bossa. that is now the only way

                  M350 X64 Y64 Z64 E64 I1 ; configure microstepping with interpolation

                  the duet wifi can not do interpolation at x64 only x16

                  i thought the M308 parameter ist default.

                  default does not mean its correct

                  peterfrostaundefined 1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    You'll need to follow this to flash the 3.1.1 firmware on the board again.

                    https://github.com/Duet3D/RepRapFirmware/releases/tag/3.1.1

                    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3

                    On your SD card you'll need the folder structure described here: https://duet3d.dozuki.com/Wiki/SD_Card#Section_Creating_the_file_structure

                    For the /www folder use the contents of the DuetWebControl zip file from the 3.1.1 release.

                    For the /sys folder use the config files you got from the config tool.

                    For future reference, to update the firmware to a major version all you need to do is upload a single zip file in the web interface. Don't extract it first. Just upload it to the system tab in DWC.
                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

                    Z-Bot CoreXY Build | Thingiverse Profile

                    peterfrostaundefined 1 Reply Last reply Reply Quote 0
                    • peterfrostaundefined
                      peterfrosta @Veti
                      last edited by

                      @Veti said in Duet2 Wifi Update worked - for a short while:

                      the duet wifi can not do interpolation at x64 only x16

                      good to know!

                      @Veti said in Duet2 Wifi Update worked - for a short while:

                      default does not mean its correct

                      that'S right but why default value do overload my machine? why do you know that happend?

                      Vetiundefined 1 Reply Last reply Reply Quote 0
                      • peterfrostaundefined
                        peterfrosta @Phaedrux
                        last edited by

                        @Phaedrux said in Duet2 Wifi Update worked - for a short while:

                        You'll need to follow this to flash the 3.1.1 firmware on the board again.

                        @peterfrosta said in Duet2 Wifi Update worked - for a short while:

                        i tried to reset the hole firmware (https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Fallback_procedure_Num_3)
                        I placed the Erase Jumper but the Diag LED keeps shining

                        i get no usb connection and eraseing firmware seems not working (Diag LED stay on)

                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                        • Vetiundefined
                          Veti @peterfrosta
                          last edited by

                          @peterfrosta said in Duet2 Wifi Update worked - for a short while:

                          that'S right but why default value do overload my machine? why do you know that happend?

                          you jumped the comments. the overloading is in regards to the microstepping.

                          a wrong beta value for the thermistor will result in an incorrect temperature reported.

                          peterfrostaundefined 1 Reply Last reply Reply Quote 0
                          • peterfrostaundefined
                            peterfrosta @Veti
                            last edited by

                            @Veti ok thx.

                            Any idea how to get a connection between duet and pc or how i got the firmware deleted??

                            1 Reply Last reply Reply Quote 0
                            • Vetiundefined
                              Veti
                              last edited by

                              try different usb cables and different usb ports until you get a connection

                              peterfrostaundefined 1 Reply Last reply Reply Quote 0
                              • Phil Maddoxundefined
                                Phil Maddox
                                last edited by

                                One thing i noticed in your picture is the connector for the paneldue on the Duet wifi On my board the green cable is nearest the wifi module. of course this also depends how the plug is populated at the panel due end as well. It may be worth investigating to double check the connections are correct.
                                Good luck
                                duet wifi panel due connect.jpg

                                peterfrostaundefined 1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @peterfrosta
                                  last edited by

                                  @peterfrosta said in Duet2 Wifi Update worked - for a short while:

                                  i get no usb connection and eraseing firmware seems not working (Diag LED stay on)

                                  Does anything show up in device manager? Does the computer make a new device connected chime?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  peterfrostaundefined 1 Reply Last reply Reply Quote 0
                                  • peterfrostaundefined
                                    peterfrosta @Phaedrux
                                    last edited by

                                    @Phaedrux no, nothing. no sound, no icon in the device manager.
                                    in former times it worked well.

                                    in the meanwhile i could borrow one new duet2wifi from a friend. this connect immediately by usb.

                                    i am allowed to use it for the next weeks.
                                    I think my duet is broken but maybe still in warrenty.
                                    I will contect duet3d.

                                    1 Reply Last reply Reply Quote 0
                                    • peterfrostaundefined
                                      peterfrosta @Veti
                                      last edited by peterfrosta

                                      @Veti said in Duet2 Wifi Update worked - for a short while:

                                      try different usb cables and different usb ports until you get a connection

                                      i did. tried different usb cables and different usb ports until you get a connection
                                      i tried a lot cable and all cable worked with USB-Stick and with the new (borrowed) Duet2Wifi.
                                      In former times some of this cable worked with my "broken" Duet2Wifi.

                                      peterfrostaundefined 1 Reply Last reply Reply Quote 0
                                      • peterfrostaundefined
                                        peterfrosta @Phil Maddox
                                        last edited by

                                        @Phil-Maddox sharp view 😉

                                        the panel has always worked well and i cant plug it the wrong way.

                                        1 Reply Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator
                                          last edited by

                                          When and where did you purchase the Duet?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          peterfrostaundefined 1 Reply Last reply Reply Quote 0
                                          • peterfrostaundefined
                                            peterfrosta @Phaedrux
                                            last edited by

                                            @Phaedrux directly from duet3d on 5th November 2019

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA