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

    PanelDueFirmware 3.2.6 released

    Scheduled Pinned Locked Moved
    PanelDue
    10
    25
    1.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.
    • wilrikerundefined
      wilriker
      last edited by wilriker

      Yet another release of PanelDueFirmware. This version fixes primarily critical memory leaks. More details see below.

      Also the binaries are now inside a ZIP file that is named as the firmware binaries used to be. Inside the ZIP file is the firmware binary with the filename PanelDueFirmware.bin - this simplifies PanelDue flashing via Duet mainboard because there is no more renaming required. The ZIP file can be uploaded directly as "System File" in DWC and will be unzipped automatically.

      Version 3.2.6

      Upgrade Notes:

      • This release is compatible with RepRapFirmware 3.2-beta1 or later. It will partially work with RepRapFirmware 3.1.1 but not with any older version.

      Limitations

      • Hardware limitations: see Release 3.2.0
      • Reprint/resimulate button on DSF setups will only work with DSF 3.2-beta5 (or RC1 whatever will be version after beta4)

      Changed:

      • Improve data structures to hold the ObjectModel data
      • Use more of the common code base from RRFLibraries to get rid of duplicate code

      Bug fixes:

      • Fix memory leaks
      • Show fan value of current tool instead of hard-coded fan with number 0

      Known Issues

      • Reprint/resimulate button is broken (again)

      Downloads and Instructions

      Binaries can be found at https://github.com/Duet3D/PanelDueFirmware/releases/tag/3.2.6
      Flashing instructions can be found at https://duet3d.dozuki.com/Wiki/PanelDue_Firmware_update

      Manuel
      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
      with probably always latest firmware/DWC (incl. betas or self-compiled)
      My Tool Collection

      A Former User? 1 Reply Last reply Reply Quote 2
      • observatoerundefined
        observatoer
        last edited by

        Get an error message from 3.4.b41 on D3 w. Pi4:

        M997 S4
        Error: M997: Invalid module number '4'

        wilrikerundefined R4ffersundefined 2 Replies Last reply Reply Quote 0
        • Lorisundefined
          Loris
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Cobaltundefined
            Cobalt
            last edited by

            Cobalt
            Cobalt 15 Dec 2020, 10:18

            hi. updated my paneldue 7 v3 to 3.2.5 after update everything works but when i turn off and on the printer it won't connect . reset not help . but when update again its works until off/on

            rrf 3.2b4.1

            now same problem with 3.2.6

            wilrikerundefined 1 Reply Last reply Reply Quote 0
            • wilrikerundefined
              wilriker
              last edited by

              Update

              I updated all binaries in the above release to 3.2.6+1 to address the following two bugs:

              • Fix reprint/resimulate button not sending the correct command (3.2.6+1)
              • Fix reprint/resimulate button not hiding when mainboard restarts (3.2.6+1)

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              1 Reply Last reply Reply Quote 0
              • wilrikerundefined
                wilriker @observatoer
                last edited by

                @observatoer said in PanelDueFirmware 3.2.6 released:

                Get an error message from 3.4.b41 on D3 w. Pi4:

                M997 S4
                Error: M997: Invalid module number '4'

                This is an issue of RRF or DSF. Can you please open a new ticket for that?

                Manuel
                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                with probably always latest firmware/DWC (incl. betas or self-compiled)
                My Tool Collection

                1 Reply Last reply Reply Quote 0
                • wilrikerundefined
                  wilriker @Cobalt
                  last edited by

                  @Cobalt said in PanelDueFirmware 3.2.6 released:

                  Cobalt
                  Cobalt 15 Dec 2020, 10:18

                  hi. updated my paneldue 7 v3 to 3.2.5 after update everything works but when i turn off and on the printer it won't connect . reset not help . but when update again its works until off/on

                  rrf 3.2b4.1

                  now same problem with 3.2.6

                  Can you please post the output of M122 as well as your config.g (and possibly macros that it calls)? I have never seen such behavior.

                  Also can you elaborate a bit on what exactly you mean by "turn off and on the printer"? Does this mean the PanelDue stays powered or will it power-cycle with the printer?

                  Have you made sure that baud rate of Duet and baud rate of PanelDue match? Possibly do a factory reset of PanelDue and set all values fresh.

                  Manuel
                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                  My Tool Collection

                  Cobaltundefined 2 Replies Last reply Reply Quote 0
                  • Cobaltundefined
                    Cobalt @wilriker
                    last edited by

                    @wilriker ```
                    code_text

                    ; executed by the firmware on start-up
                    ;
                    
                    ; General preferences
                    M80
                    G90                                                 ; send absolute coordinates...
                    M83                                                 ; ...but relative extruder moves
                    M550 P"My Printer"                                  ; set printer name
                    
                    ; Network
                    M552 S1                                             ; enable network
                    M586 P0 S1                                          ; enable HTTP
                    M586 P1 S0                                          ; disable FTP
                    M586 P2 S0                                          ; disable Telnet
                    
                    ; Drives
                    M584 X4 Y1 Z2:8:9 U7 E0:3:5:6                  ; Driver Remap
                     
                    M569 P0 S1                                 ; Drive 0 goes forwards E1
                    M569 P1 S1                                 ; Drive 1 goes forwards Y
                    M569 P2 S1                                 ; Drive 2 goes forwards Z
                    M569 P3 S0                                 ; Drive 3 goes backward E2
                    M569 P4 S1                                 ; Drive 4 goes forwards X
                    M569 P5 S1                                 ; Drive 5 goes forwards E3
                    M569 P6 S0                                 ; Drive 6 goes backward E4
                    M569 P7 S0                                 ; Drive 7 goes backward U
                    M569 P8 S1                                 ; Drive 8 goes forwards z2
                    M569 P9 S1                                 ; Drive 9 goes forwards z3
                    
                    M350 X16 U16 Y16 Z16:16:16 E16:16:16:16 I1                                                       ; Configure microstepping with interpolation
                    
                    M92 X80.00 U80.00 Y80.00 Z1600.00:1600.00:1600.00 E424:424:424:424                               ; Set steps per mm
                    
                    M566 X600.00 U600.00 Y600.00 Z24.00 E300:300:300:300                               ; Set maximum instantaneous speed changes (mm/min) Jerk
                    
                    M203 X30000.00 U30000.00 Y30000.00 Z600.00:600.00:600.00 E3600.00:3600.00:3600.00:3600.00        ; Set maximum speeds (mm/min)
                    
                    M201 X3000.00 U3000.00 Y3000.00 Z120.00:120.00:120.00 E10000.00:10000.00:10000.00:1000.00           ; Set accelerations (mm/s^2)
                    
                    M906 X1000.00 U1000.00 Y1100.00 Z1100.00:1100.00:1100.00 E1000.00:1000.00:1000.00:1000.00 I50     ; Set motor currents (mA) and motor idle factor in per cent
                    
                    ;M84 S30                                    ; Set idle timeout                                             ; Set idle timeout
                    
                    ; Axis Limits
                    M208 X-270.2 U-225 Y-175 Z0 S1              ; Set axis minima
                    M208 X225 U270.2 Y175 Z325 S0               ; Set axis maxima
                    
                    ; Endstops
                    M574 X1 S1 P"!e1stop"                                       ; configure active-low endstop for low end on X via pin E1 stop
                    M574 U2 S1 P"!duex.e4stop"                                  ; configure active-low endstop for low end on u via pin E4 stop
                    M574 Y2 S1 P"!ystop"                                        ; configure active-low endstop for high end on Y via pin Y stop
                    M574 Z1 S2                                                  ; configure Z-probe endstop for low end on Z
                    
                    Z axis Lead screw 
                    M671 X0:-320:320 Y238:-218:-218 S3
                    
                    ; Z-Probe
                    ;M558 P5 I0 R0.4 C"zprobe.in+zprobe.mod" H5 F1200              ; set Z probe type to effector and the dive height + speeds
                    ;M558 P1 I1 F400 R1 T30000 A4 S-1 B1 C"zprobe.in"              ; Analog 
                    M558 P8 I1 F400 R1 T30000 A4 S-1 B1 C"!zprobe.in+zprobe.mod"    ; Digital     (((((((((((Piezo))))))))))))
                    ;M558 P1 F300 H5 T30000 A3 S-1 C"zprobe.in+zprobe.mod"         ; IR Probe
                    G31 X0 Y0 U0 Z-0.15 P500                                       ; set Z probe trigger value, offset and trigger height
                    M557 X-225:225 Y-170:170 P3:3                                  ; define mesh grid
                    
                    ; Heaters
                    BED
                    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
                    M143 H0 S100                                                          ; set temperature limit for heater 0 to 100C                                                     
                    M140 H0                                                                ; map heated bed to heater 0
                    M307 H0 A171.3 C495.7 D0.8 S1.00 V24.2 B0                              ; disable bang-bang mode for the bed heater and set PWM limit
                    
                    HEATER 1
                    M308 S1 P"e0temp" Y"thermistor" T100000 B4618 C5.127269e-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 A397.8 C226.9 D8.1 S0.90 V24.2 B0                             ; PID
                    
                    HEATER 2
                    M308 S2 P"duex.e2temp" Y"thermistor" T100000 B4618 C5.127269e-8        ; configure sensor 2 as thermistor on pinduex.e2temp
                    M950 H2 C"duex.e2heat" T2                                              ; create nozzle heater output on duex.e2heat and map it to sensor 2
                    M143 H2 S280                                                           ; set temperature limit for heater 2 to 280C
                    M307 H2 A329.2 C199.0 D6.6 S0.90 V24.2 B0                              ; PID
                    
                    ; 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
                    
                    M950 F2 C"fan2" Q500                                ; create fan 1 on pin fan1 and set its frequency
                    M106 P2 S1 H-1 T45 X0.3                             ; set fan 2 value. Thermostatic control is turned off
                    
                    M950 F3 C"duex.fan3" Q500                           ; create fan 3 on pin duex.fan3 and set its frequency
                    M106 P3 S0 H-1                                      ; set fan 3 value. Thermostatic control is turned OFF
                    
                    M950 F4 C"duex.fan4" Q500                           ; create fan 4 on pin duex.fan3and set its frequency
                    M106 P4 S1 H2 T45                                   ; set fan 4 value. Thermostatic control is turned on
                    
                    M950 F7 C"duex.fan7" Q500                           ; create fan 7 on pin duex.fan3and set its frequency
                    M106 P7 S1 H-1 T45 x0.3                             ; set fan 7 value. Thermostatic control is turned off
                    
                    
                    ; Tools
                    
                                                       PTool number
                                                       D Extruder drive(s)
                                                       H Heater(s)
                                                       F Fan(s) 
                                             Tool 0
                    M563 P0 D0 H1 F0:1                       ; Tool 0  uses extruder 0, heater 1  fan 0 and 1 
                    G10 P0 X0 Y0 Z0 S0 R0                    ; set tool 0 offsets and temperatures
                    
                                           
                                             Tool 1
                    M563 P1 D1 H1 F0:1                       ; Tool 1  uses extruder 1, heater 1  fan 0 and 1 
                    G10 P1 X0 Y0 Z0 S0 R0                    ; set tool 0 offsets and temperatures
                    
                    
                    
                                             Tool 2 
                    M563 P2 D2 H2 X3 F3:4                    ; Tool 2  uses extruder 3 and heater 2 and maps X to U, use fan 3:4 as the print cooling fan
                    G10 P2 Y-0.1 U0 Z0 S0 R0                 ; set tool 1 offsets and temperatures 
                    
                                            Tool 3        
                    M563 P3 D3 H2 X3 F3:4                      ; Tool 3  uses extruder 3 and heater 2 and maps X to U, use fan 3:4 as the print cooling fan
                    G10 P3 Y-0.1 U0 Z0 S0 R0                   ; set tool 1 offsets and temperatures 
                    
                    
                    
                    
                                            Tool 4 copy 
                    M563 P4 D0:1:2:3 H1:2 X0:3 F1:1               ; tool 4 uses both extruders and hot end heaters, maps X to both X 
                    G10 P4 X50 Y0 U-50 S0 R0
                    M567 P4 E1:1
                    
                    M302 S120 R110 ; Allow extrusion starting from 120°C and retractions already from 110°C
                    
                    
                    
                    ; Custom settings are not configured
                    
                    ; Miscellaneous```
                    
                    
                    
                    code_text
                    M122
                    === Diagnostics ===
                    RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2-beta4.1 running on Duet WiFi 1.02 or later + DueX5
                    Board ID: 08DGM-9T6BU-FG3S8-6JTDG-3S86T-TBKZD
                    Used output buffers: 3 of 24 (15 max)
                    === RTOS ===
                    Static ram: 24188
                    Dynamic ram: 102504 of which 40 recycled
                    Never used RAM 3316, free system stack 191 words
                    Tasks: NETWORK(ready,187) HEAT(blocked,308) DUEX(blocked,35) MAIN(running,450) IDLE(ready,20)
                    Owned mutexes: WiFi(NETWORK)
                    === Platform ===
                    Last reset 00:03:15 ago, cause: power up
                    Last software reset time unknown, reason: User, GCodes spinning, available RAM 3316, slot 2
                    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
                    Error status: 0x00
                    MCU temperature: min 27.5, current 32.1, max 32.4
                    Supply voltage: min 0.1, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
                    Driver 0: position 0, standstill, SG min/max not available
                    Driver 1: position 0, standstill, SG min/max not available
                    Driver 2: position 0, standstill, SG min/max not available
                    Driver 3: position 0, standstill, SG min/max not available
                    Driver 4: position 0, standstill, SG min/max not available
                    Driver 5: position 0, standstill, SG min/max not available
                    Driver 6: position 0, standstill, SG min/max not available
                    Driver 7: position 0, standstill, SG min/max not available
                    Driver 8: position 0, standstill, SG min/max not available
                    Driver 9: position 0, standstill, SG min/max not available
                    Driver 10: position 0
                    Driver 11: position 0
                    Date/time: 2020-12-16 18:25:00
                    Cache data hit count 253203812
                    Slowest loop: 5.11ms; fastest: 0.13ms
                    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                    === Storage ===
                    Free file entries: 10
                    SD card 0 detected, interface speed: 20.0MBytes/sec
                    SD card longest read time 1.2ms, write time 0.0ms, max retries 0
                    === Move ===
                    FreeDm 169 (min 169), maxWait 0ms, bed compensation in use: none, comp offset 0.000
                    === MainDDARing ===
                    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                    === AuxDDARing ===
                    Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                    === Heat ===
                    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                    === GCodes ===
                    Segments left: 0
                    Movement lock held by null
                    HTTP is idle in state(s) 0
                    Telnet is idle in state(s) 0
                    File is idle in state(s) 0
                    USB is idle in state(s) 0
                    Aux is idle in state(s) 0
                    Trigger is idle in state(s) 0
                    Queue is idle in state(s) 0
                    LCD is idle in state(s) 0
                    Daemon is idle in state(s) 0
                    Autopause is idle in state(s) 0
                    Code queue is empty.
                    === Network ===
                    Slowest loop: 15.60ms; fastest: 0.00ms
                    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                    HTTP sessions: 1 of 8
                    - WiFi -
                    Network state is active
                    WiFi module is connected to access point 
                    Failed messages: pending 0, notready 0, noresp 0
                    WiFi firmware version 1.25beta0
                    WiFi MAC address 80:7d:3a:45:5b:22
                    WiFi Vcc 3.33, reset reason Turned on by main processor
                    WiFi flash size 4194304, free heap 26920
                    WiFi IP address 192.168.1.42
                    WiFi signal strength -62dBm, mode 802.11n, reconnections 0, sleep mode modem
                    Clock register 00002002
                    Socket states: 0 0 0 0 0 0 0 0
                    === DueX ===
                    Read count 1, 0.31 reads/min
                    
                    1 Reply Last reply Reply Quote 0
                    • Cobaltundefined
                      Cobalt @wilriker
                      last edited by

                      @wilriker
                      now added this line to config.g M575 P1 B57600 S1. but bunch of stuff popping up at start. like (tool not selected) and more. but after that works .

                      1 Reply Last reply Reply Quote 0
                      • soccerpaulundefined
                        soccerpaul
                        last edited by soccerpaul

                        Hi, I have a multi-heater tool on my printer. It displays well in web control, but on the PanelDue the second and third heaters line up with the wrong tools (EDIT: actually, after rechecking they just aren't displayed. Only the first heater is visible). I'm running version 3.2.6 of the firmware but I believe this was the case in previous versions as well.

                        wilrikerundefined 1 Reply Last reply Reply Quote 0
                        • wilrikerundefined
                          wilriker @soccerpaul
                          last edited by

                          @soccerpaul said in PanelDueFirmware 3.2.6 released:

                          Hi, I have a multi-heater tool on my printer. It displays well in web control, but on the PanelDue the second and third heaters line up with the wrong tools (EDIT: actually, after rechecking they just aren't displayed. Only the first heater is visible). I'm running version 3.2.6 of the firmware but I believe this was the case in previous versions as well.

                          Yes, that is still a limitation of PanelDueFirmware. It will only display the first heater of each tool due to space constraints. 3.2.5 added support for a heater being shared across different tools (not your setup, obviously) which was also not supported earlier but multi-heater tools are not yet supported. I have some ideas on how to solve this but it might be a few releases out until I can really get to it. But right now release-cycle is pretty quick. 😉

                          Manuel
                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                          My Tool Collection

                          1 Reply Last reply Reply Quote 0
                          • medicusdkfzundefined
                            medicusdkfz
                            last edited by

                            @Cobalt said in PanelDueFirmware 3.2.6 released:

                            M575 P1 B57600 S1

                            I got a "Error: Failed to communicate with PanelDue bootloader (no START signal received)."...

                            1 Reply Last reply Reply Quote 0
                            • medicusdkfzundefined
                              medicusdkfz
                              last edited by

                              My fault: Forget to erase and reset...

                              Everything works fine.

                              Thank you!

                              1 Reply Last reply Reply Quote 0
                              • R4ffersundefined
                                R4ffers @observatoer
                                last edited by

                                @observatoer Hi there, did you get anywhere with this? i've just got the same message on a brand new 7i.

                                Mb6hc + 3hc + 1lc on Voron V2.4, Mini 5+ exp 2+ on Vzbot 235 AWD, Duet 2 wifi on Ox CNC and Mini 5+ on Millennium Milo v1.5 mini mill.

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

                                  @R4ffers said in PanelDueFirmware 3.2.6 released:

                                  @observatoer Hi there, did you get anywhere with this? i've just got the same message on a brand new 7i.

                                  Upgrade RepRapFirmware to 3.2RC2.

                                  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

                                  R4ffersundefined 2 Replies Last reply Reply Quote 0
                                  • R4ffersundefined
                                    R4ffers @dc42
                                    last edited by

                                    @dc42 , ok will do. thanks.

                                    Mb6hc + 3hc + 1lc on Voron V2.4, Mini 5+ exp 2+ on Vzbot 235 AWD, Duet 2 wifi on Ox CNC and Mini 5+ on Millennium Milo v1.5 mini mill.

                                    1 Reply Last reply Reply Quote 0
                                    • R4ffersundefined
                                      R4ffers @dc42
                                      last edited by

                                      @dc42, Hi there i've just noticed i'm running rrf3.1.1 on duet 3 with rpi4 even though i have run the sudo apt-get update sudo apt-get upgrade

                                      Mb6hc + 3hc + 1lc on Voron V2.4, Mini 5+ exp 2+ on Vzbot 235 AWD, Duet 2 wifi on Ox CNC and Mini 5+ on Millennium Milo v1.5 mini mill.

                                      A Former User? 1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User @R4ffers
                                        last edited by A Former User

                                        @R4ffers that is the last stable version. You'll need to switch to the unstable repo to use the beta and release candidate versions.

                                        ; ref second paragraph https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Software_Installation

                                        Edit: autocarrot

                                        R4ffersundefined 2 Replies Last reply Reply Quote 0
                                        • R4ffersundefined
                                          R4ffers @A Former User
                                          last edited by

                                          @bearer , thanks for that. Do you have to remove the stable package feed first?

                                          Mb6hc + 3hc + 1lc on Voron V2.4, Mini 5+ exp 2+ on Vzbot 235 AWD, Duet 2 wifi on Ox CNC and Mini 5+ on Millennium Milo v1.5 mini mill.

                                          1 Reply Last reply Reply Quote 0
                                          • R4ffersundefined
                                            R4ffers @A Former User
                                            last edited by

                                            @bearer ,sorted now thankyou

                                            Mb6hc + 3hc + 1lc on Voron V2.4, Mini 5+ exp 2+ on Vzbot 235 AWD, Duet 2 wifi on Ox CNC and Mini 5+ on Millennium Milo v1.5 mini mill.

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