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

    Firmware 2.02RC5 now available

    Scheduled Pinned Locked Moved
    Firmware installation
    14
    47
    6.8k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      I think I was just bitten by the resume bug. I was printing with some stonefil filament that is rather brittle. The filament broke midprint and I paused it so I could reload it, when pausing it dropped the print head to Z5 instead of raising it by 5, and I didn't really notice it as a problem. When I resumed the print it moved the print head diagonally back to the resume point and in the process smashed into the print popping it off the bed. No damage that I can see thankfully.

      Here's my pause and resume files just for the sake of completeness.

      ; pause.g
      ; called when a print from SD card is paused
      ;
      ; generated by RepRapFirmware Configuration Tool on Wed Feb 07 2018 13:21:45 GMT-0600 (CST)
      M83            ; relative extruder moves
      G1 E-2 F5000  ; retract 1mm of filament
      G91            ; relative positioning
      G1 Z5 F300     ; lift Z by 5mm
      G90            ; absolute positioning
      G1 X0 Y0 F6000 ; go to X=0 Y=0
      
      ; resume.g
      ; called before a print from SD card is resumed
      ;
      ; generated by RepRapFirmware Configuration Tool on Wed Feb 07 2018 13:21:45 GMT-0600 (CST)
      G1 R1 Z5 F6000 ; go to 5mm above position of the last print move
      G1 R1          ; go back to the last print move
      M83            ; relative extruder moves
      ;G1 E2 F600   ; extrude 10mm of filament
      

      Z-Bot CoreXY Build | Thingiverse Profile

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

        For now I recommend that anyone using 2.02RC5 comments out any G1 R1 command in the resume.g file.

        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
        • dc42undefined
          dc42 administrators @frafa
          last edited by dc42

          @frafa,

          I've found why it doesn't allow you to do a G30 immediately after prox and distal homing. It calculates the XY position from the homed position, then when preparing the G30 move it has to calculate prox and distal positions back from XY. Because of a slight rounding error in the round-trip calculation, it thinks the prox and/or distal position is slightly beyond the homing switch limit. So it abandons the G30 move.

          For 2.02RC6 I have saved the XY and arm positions in the position cache, so that it can bypass the calculation of XY from the arm angles. This allows G30 to be performed immediately after prox and distal homing.

          The "Add test" move you added should work around the problem. Please can you explain what you mean when you said "Print test ok but impossible to put it in the right place because no absolute movements ...".

          Alternatively you can use a regular G1 X... Y... move at that point to put the print head at a specified XY position, which is what my homing file did before I removed that command to investigate the problem with G30.

          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
          • frafaundefined
            frafa
            last edited by

            David In advance thanks for your changes in 2.02RC6 🙂

            Humm of memory ... because the test of impression I had realized it on version 2.02RC3..4 ?
            in short the impression started from my homing position,
            it was not in the right place because no absolute movements

            Scara with DuetWifi => Scarlette3D
            https://youtu.be/mBF5cO8vGhI

            1 Reply Last reply Reply Quote 0
            • 3dmntbighkerundefined
              3dmntbighker
              last edited by

              Last night my print stopped dead in it's tracks with the nozzle stopped in mid print. The DWC was apparently reset, because there was no history in the gcode console. There was no saved state file. All this sounds like it could be down to a power outage, EXCEPT that the hot end and bed were still at the temperature from the job, and M591 D0 reports the history between 64% and 95% as if the job were still in process. It's 2.0RC5 Maestro. I'm moving my UPS so I can plug the Ender into it.

              --Ideas?

              Scratch built CoreXY with Maestro
              Heavily modified Ender 3 with Maestro
              MPCNC work in progress with Duet WiFi

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

                @3dmntbighker said in Firmware 2.02RC5 now available:

                Last night my print stopped dead in it's tracks with the nozzle stopped in mid print. The DWC was apparently reset, because there was no history in the gcode console. There was no saved state file. All this sounds like it could be down to a power outage, EXCEPT that the hot end and bed were still at the temperature from the job, and M591 D0 reports the history between 64% and 95% as if the job were still in process. It's 2.0RC5 Maestro. I'm moving my UPS so I can plug the Ender into it.

                --Ideas?

                What did M122 say was the reason for the last reset?

                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

                3dmntbighkerundefined 2 Replies Last reply Reply Quote 0
                • 3dmntbighkerundefined
                  3dmntbighker @dc42
                  last edited by

                  @dc42 said in Firmware 2.02RC5 now available:

                  @3dmntbighker said in Firmware 2.02RC5 now available:

                  Last night my print stopped dead in it's tracks with the nozzle stopped in mid print. The DWC was apparently reset, because there was no history in the gcode console. There was no saved state file. All this sounds like it could be down to a power outage, EXCEPT that the hot end and bed were still at the temperature from the job, and M591 D0 reports the history between 64% and 95% as if the job were still in process. It's 2.0RC5 Maestro. I'm moving my UPS so I can plug the Ender into it.

                  --Ideas?

                  What did M122 say was the reason for the last reset?

                  I'm afraid I just turned it off and went to work. If it stores beyond that I can check when I get home.

                  Scratch built CoreXY with Maestro
                  Heavily modified Ender 3 with Maestro
                  MPCNC work in progress with Duet WiFi

                  wilrikerundefined 1 Reply Last reply Reply Quote 0
                  • 3dmntbighkerundefined
                    3dmntbighker @dc42
                    last edited by

                    @dc42 said in Firmware 2.02RC5 now available:

                    @3dmntbighker said in Firmware 2.02RC5 now available:

                    Last night my print stopped dead in it's tracks with the nozzle stopped in mid print. The DWC was apparently reset, because there was no history in the gcode console. There was no saved state file. All this sounds like it could be down to a power outage, EXCEPT that the hot end and bed were still at the temperature from the job, and M591 D0 reports the history between 64% and 95% as if the job were still in process. It's 2.0RC5 Maestro. I'm moving my UPS so I can plug the Ender into it.

                    --Ideas?

                    What did M122 say was the reason for the last reset?

                    M122
                    === Diagnostics ===
                    RepRapFirmware for Duet 2 Maestro version 2.02RC4(RTOS) running on Duet Maestro 1.0
                    Board ID: 08DAM-9F9DA-MWNS8-6JTD0-3SD6T-953AZ
                    Used output buffers: 1 of 20 (15 max)
                    === RTOS ===
                    Static ram: 21428
                    Dynamic ram: 97792 of which 0 recycled
                    Exception stack ram used: 212
                    Never used ram: 11640
                    Tasks: NETWORK(ready,456) HEAT(blocked,1260) MAIN(running,3672) IDLE(ready,200)
                    Owned mutexes:
                    === Platform ===
                    Last reset 00:00:51 ago, cause: power up
                    Last software reset at 2018-12-12 11:34, reason: User, spinning module GCodes, available RAM 11640 bytes (slot 2)
                    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0400f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                    Error status: 0
                    Free file entries: 10
                    SD card 0 detected, interface speed: 15.0MBytes/sec
                    SD card longest block write time: 0.0ms, max retries 0
                    MCU temperature: min 19.3, current 24.1, max 24.1
                    Supply voltage: min 24.2, current 24.2, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
                    Driver 0: standstill, read errors 0, write errors 0, ifcount 7, reads 2046, timeouts 0
                    Driver 1: standstill, read errors 0, write errors 0, ifcount 7, reads 2046, timeouts 0
                    Driver 2: standstill, read errors 0, write errors 0, ifcount 7, reads 2046, timeouts 0
                    Driver 3: standstill, read errors 0, write errors 0, ifcount 7, reads 2046, timeouts 0
                    Driver 4: standstill, read errors 0, write errors 0, ifcount 7, reads 2046, timeouts 0
                    Driver 5: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 2053
                    Driver 6: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 2052
                    Date/time: 2018-12-14 22:22:52
                    Slowest loop: 2.42ms; fastest: 0.10ms
                    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
                    === Move ===
                    Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
                    Scheduled moves: 0, completed moves: 0
                    Bed compensation in use: none
                    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
                    === Heat ===
                    Bed heaters = 0, chamberHeaters = -1 -1
                    Heater 1 is on, I-accum = 0.0
                    === GCodes ===
                    Segments left: 0
                    Stack records: 2 allocated, 0 in use
                    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
                    serial is idle in state(s) 0
                    aux is idle in state(s) 0
                    daemon is idle in state(s) 0
                    queue is idle in state(s) 0
                    lcd is idle in state(s) 0
                    autopause is idle in state(s) 0
                    Code queue is empty.
                    === Network ===
                    Slowest loop: 69.92ms; fastest: 0.02ms
                    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                    HTTP sessions: 1 of 8
                    Interface state 5, link 100Mbps full duplex
                    === Filament sensors ===
                    Extruder 0 sensor: position 0.00, ok, framing errors 0, parity errors 0, no calibration data

                    Scratch built CoreXY with Maestro
                    Heavily modified Ender 3 with Maestro
                    MPCNC work in progress with Duet WiFi

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

                      @3dmntbighker said in Firmware 2.02RC5 now available:

                      I'm afraid I just turned it off and went to work. If it stores beyond that I can check when I get home.

                      Sadly, it does not persist this information across (any kind of) restart.

                      But that sparked the following idea in me: what about saving the results of a M122 together with date and time (if available) to e.g. /sys/diagnostics whenever RRF does detect a power loss and is not printing at the same time (since then creating resurrect.g etc. must be a priority)?!

                      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

                      3dmntbighkerundefined 1 Reply Last reply Reply Quote 1
                      • 3dmntbighkerundefined
                        3dmntbighker @wilriker
                        last edited by

                        @wilriker said in Firmware 2.02RC5 now available:

                        @3dmntbighker said in Firmware 2.02RC5 now available:

                        I'm afraid I just turned it off and went to work. If it stores beyond that I can check when I get home.

                        Sadly, it does not persist this information across (any kind of) restart.

                        But that sparked the following idea in me: what about saving the results of a M122 together with date and time (if available) to e.g. /sys/diagnostics whenever RRF does detect a power loss and is not printing at the same time (since then creating resurrect.g etc. must be a priority)?!

                        Good idea. Especially for debugging.

                        I was getting some seriously weird behavior tonight with the candle holder I have been trying to get to print. Sliced in S3D when I started the print no heaters would activate and nothing would home. It just said "processing". At one point I got this:

                        Error: Bad command: 30.454 Y91.117 E2.8345
                        Cancelled printing file PLA/candle_tree_V2_95.gcode, print time was 0h 2m

                        That line is missing the first few characters, and it took 2 minutes to error. The file is like 35MB. Once I changed from 0.2 to 0.3 layer height the file was 26MB and suddenly everything works more or less as expected. This could be a S3D bug (4.1.1) or something with the Duet? The trouble seemed to start when I tried to add some Z lift, but that could be coincidence.

                        Scratch built CoreXY with Maestro
                        Heavily modified Ender 3 with Maestro
                        MPCNC work in progress with Duet WiFi

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

                          @3dmntbighker Have you checked the GCode file for this specific line? If it is in there then this is a S3D bug.

                          P.S.: File size should not be an issue here.

                          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

                          3dmntbighkerundefined 1 Reply Last reply Reply Quote 0
                          • 3dmntbighkerundefined
                            3dmntbighker @wilriker
                            last edited by

                            @wilriker said in Firmware 2.02RC5 now available:

                            @3dmntbighker Have you checked the GCode file for this specific line? If it is in there then this is a S3D bug.

                            P.S.: File size should not be an issue here.

                            Here is the line in question from the file:

                            G1 X130.454 Y91.117 E2.8345

                            It looks almost identical to the lines above and below. I see nothing wrong with that area of the gcode.

                            Scratch built CoreXY with Maestro
                            Heavily modified Ender 3 with Maestro
                            MPCNC work in progress with Duet WiFi

                            1 Reply Last reply Reply Quote 0
                            • 3dmntbighkerundefined
                              3dmntbighker
                              last edited by

                              I think I verified it's S3D 4.1.1. If I get a file print that doesn't even activate the heaters, I can quit/restart S3D, and re-save the file, and it prints. S3D is a bit of a disaster lately (ever?). I think I'm switching my work flow to CURA. 😞

                              Scratch built CoreXY with Maestro
                              Heavily modified Ender 3 with Maestro
                              MPCNC work in progress with Duet WiFi

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

                                @3dmntbighker This sounds a little bit to me a if you are using S3D as a print server - which is not recommended anyway.
                                But this line is totally ok. RRF complained about a line that did not start with a G or M or T. So my question was if such a (broken) line exists in the file but it does not.

                                Apart from all of that I hear a lot of complaints about S3D lately. Development has virtually ceased - probably because a lot of the developers seem to have switched to develop ideaMaker for Raise3D instead.

                                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

                                3dmntbighkerundefined 1 Reply Last reply Reply Quote 0
                                • 3dmntbighkerundefined
                                  3dmntbighker @wilriker
                                  last edited by

                                  @wilriker said in Firmware 2.02RC5 now available:

                                  @3dmntbighker This sounds a little bit to me a if you are using S3D as a print server - which is not recommended anyway.
                                  But this line is totally ok. RRF complained about a line that did not start with a G or M or T. So my question was if such a (broken) line exists in the file but it does not.

                                  Apart from all of that I hear a lot of complaints about S3D lately. Development has virtually ceased - probably because a lot of the developers seem to have switched to develop ideaMaker for Raise3D instead.

                                  Print server = NO (upload to SD and print)

                                  I opened the gcode file in BBEdit and searched for the string in the error. As I said the line in the file was completely normal. But there could be garbage elsewhere in the file that caused Duet to freak out. Quitting S3D and re-saving it after resulted in a working file.

                                  Scratch built CoreXY with Maestro
                                  Heavily modified Ender 3 with Maestro
                                  MPCNC work in progress with Duet WiFi

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