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

    Duet3 + Pi DWC freezing

    Scheduled Pinned Locked Moved Solved
    Duet Web Control
    6
    48
    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.
    • Carloundefined
      Carlo @Carlo
      last edited by

      @Carlo
      had to split at Filaments

      {"filament":[],"fileName":null,"firstLayerHeight":0,"generatedBy":null,"height":0,"lastModified":null,"layerHeight":0,"numLayers":0,"printTime":null,"simulatedTime":null,"size":0},"filePosition":0,"firstLayerDuration":null,"lastDuration":0,"lastFileName":null,"lastFileAborted":false,"lastFileCancelled":false,"lastFileSimulated":false,"layer":null,"layerTime":null,"layers":[],"timesLeft":{"filament":null,"file":null,"layer":null},"warmUpDuration":null},"limits":{"axes":10,"axesPlusExtruders":20,"bedHeaters":12,"boards":21,"chamberHeaters":4,"drivers":26,"driversPerAxis":5,"extruders":16,"extrudersPerTool":8,"fans":16,"gpInPorts":16,"gpOutPorts":32,"heaters":32,"heatersPerTool":8,"monitorsPerHeater":3,"restorePoints":6,"sensors":56,"spindles":2,"tools":50,"trackedObjects":30,"triggers":32,"volumes":1,"workplaces":9,"zProbeProgramBytes":8,"zProbes":4},"messages":[],"move":{"axes":[{"acceleration":1000,"babystep":0,"current":1700,"drivers":["0.0"],"homed":true,"jerk":1200,"letter":"X","machinePosition":-0.012,"max":185,"maxProbed":false,"microstepping":{"interpolated":true,"value":16},"min":-185,"minProbed":false,"speed":18000,"stepsPerMm":160,"userPosition":-0.012,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]},{"acceleration":1000,"babystep":0,"current":1700,"drivers":["0.1"],"homed":true,"jerk":1200,"letter":"Y","machinePosition":0.013,"max":185,"maxProbed":false,"microstepping":{"interpolated":true,"value":16},"min":-185,"minProbed":false,"speed":18000,"stepsPerMm":160,"userPosition":0.013,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]},{"acceleration":1000,"babystep":0,"current":1700,"drivers":["0.2"],"homed":true,"jerk":1200,"letter":"Z","machinePosition":54.891,"max":420.6,"maxProbed":false,"microstepping":{"interpolated":true,"value":16},"min":-0.5,"minProbed":false,"speed":18000,"stepsPerMm":160,"userPosition":54.891,"visible":true,"workplaceOffsets":[0,0,0,0,0,0,0,0,0]}],"calibration":{"final":{"deviation":0.015,"mean":0},"initial":{"deviation":0.016,"mean":0.008},"numFactors":6},"compensation":{"fadeHeight":null,"file":null,"meshDeviation":null,"probeGrid":{"xMin":-160,"xMax":160.1,"xSpacing":20,"yMin":-160,"yMax":160.1,"ySpacing":20,"radius":165},"skew":{"tanXY":0,"tanXZ":0,"tanYZ":0},"type":"none"},"currentMove":{"acceleration":0,"deceleration":0,"laserPwm":null,"requestedSpeed":0,"topSpeed":0},"daa":{"enabled":false,"minimumAcceleration":10,"period":0},"extruders":[{"acceleration":120,"current":400,"driver":"0.3","filament":"","factor":1,"jerk":40,"microstepping":{"interpolated":false,"value":16},"nonlinear":{"a":0,"b":0,"upperLimit":0.2},"position":0,"pressureAdvance":0,"rawPosition":0,"speed":14000,"stepsPerMm":1837}],"idle":{"timeout":45,"factor":0.4},"kinematics":{"deltaRadius":231.747,"homedHeight":420.618,"printRadius":185,"towers":[{"angleCorrection":-0.126,"diagonal":440.47,"endstopAdjustment":0.212,"xPos":-200.954,"yPos":-115.431},{"angleCorrection":-0.369,"diagonal":440.47,"endstopAdjustment":-0.073,"xPos":199.949,"yPos":-117.163},{"angleCorrection":0,"diagonal":440.47,"endstopAdjustment":-0.139,"xPos":0,"yPos":231.747}],"xTilt":0,"yTilt":0,"name":"delta"},"printingAcceleration":10000,"speedFactor":1,"travelAcceleration":10000,"virtualEPos":0,"workspaceNumber":1},"network":{"hostname":"duet3","interfaces":[{"activeProtocols":[],"actualIP":"192.168.0.24","configuredIP":"192.168.0.24","firmwareVersion":null,"gateway":"192.168.0.1","mac":"DC:A6:32:A8:72:92","numReconnects":null,"signal":null,"speed":null,"subnet":"255.255.255.0","type":"wifi"}],"name":"Duet 3"},"scanner":{"progress":0,"status":"D"},"sensors":{"analog":[{"lastReading":26.8,"name":"","type":"thermistor"},{"lastReading":40.4,"name":"","type":"rtdmax31865"}],"endstops":[{"triggered":false,"type":"inputPin","probeNumber":null},{"triggered":false,"type":"inputPin","probeNumber":null},{"triggered":false,"type":"inputPin","probeNumber":null}],"filamentMonitors":[],"gpIn":[],"probes":[{"calibrationTemperature":25,"deployedByUser":false,"disablesHeaters":false,"diveHeight":5,"maxProbeCount":1,"offsets":[0,0],"recoveryTime":0.6,"speed":20,"temperatureCoefficient":0,"threshold":500,"tolerance":0.03,"travelSpeed":100,"triggerHeight":-0.1,"type":8,"value":[0]}]},"spindles":[{"active":0,"current":0,"frequency":0,"min":0,"max":10000,"tool":-1},{"active":0,"current":0,"frequency":0,"min":0,"max":10000,"tool":-1}],"state":{"atxPower":null,"beep":null,"currentTool":-1,"displayMessage":"","dsfVersion":"3.1.0","gpOut":[],"laserPwm":null,"logFile":"","messageBox":null,"machineMode":"FFF","nextTool":-1,"powerFailScript":"","previousTool":-1,"restorePoints":[{"coords":[0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1},{"coords":[0,0,0],"extruderPos":0,"feedRate":50,"ioBits":0,"laserPwm":null,"spindleSpeeds":[0,0],"toolNumber":-1}],"status":"idle","upTime":590},"tools":[{"active":[0],"axes":[[0],[1]],"extruders":[0],"fans":[2],"filamentExtruder":0,"heaters":[1],"mix":[1],"name":"Nozzle X","number":0,"offsets":[0,0,0],"offsetsProbed":0,"retraction":{"extraRestart":0,"length":2,"speed":16.7,"unretractSpeed":16.7,"zHop":0},"standby":[0],"state":"off"}],"userSessions":[{"id":1,"accessLevel":"readWrite","sessionType":"http","origin":"::ffff:192.168.0.2","originId":49744}],"userVariables":[],"volumes":[{"capacity":13498773504,"freeSpace":10214948864,"mounted":true,"name":null,"openFiles":null,"path":"/","speed":null},{"capacity":2143281152,"freeSpace":2083966976,"mounted":true,"name":null,"openFiles":null,"path":"/boot","speed":null}]},"success":true}

      1 Reply Last reply Reply Quote 0
      • Carloundefined
        Carlo @chrishamm
        last edited by Carlo

        @chrishamm said in Duet3 + Pi DWC freezing:

        Please post those outputs only after a freeze has occurred and before a (firmware) reset.

        Sorry Chris I'm not sure I made this clear it freezes every time also sometimes when it echoes to the console DWC loses connection and needs me to reload the page not restart the system also I have reinstalled a number of times with the DuetPi image on brand new Sandisk Ultra SD cards always the same problem.
        Just want to make sure I have given you as clear an understanding of the issue I'm having as my failing faculties possible can.

        Cheers
        C

        Carloundefined 1 Reply Last reply Reply Quote 0
        • Carloundefined
          Carlo @Carlo
          last edited by Carlo

          @Carlo

          To rule the Pi out I swapped out the Pi4 for Pi 3B+ but has made no difference exactly the same ?
          Thought it may help.

          chrishammundefined 1 Reply Last reply Reply Quote 0
          • chrishammundefined
            chrishamm administrators @Carlo
            last edited by

            @Carlo I tried your config.g+bed.g on my test board and I haven't been able to provoke a freeze/crash using our latest builds. Can you please do the following:

            1. Download and install this firmware build (upload on the System page, then confirm): https://chrishamm.io/Duet3Firmware_MB6HC.bin
            2. Download and install this DuetWebControl version: https://chrishamm.io/DuetWebControl-SBC.zip (upload on the System page as well)
            3. Stop DCS and DWS:
            sudo systemctl stop duetcontrolserver
            sudo systemctl stop duetwebserver
            
            1. Download+extract this ZIP file: https://chrishamm.io/DSF.zip
            2. Overwrite the files in /opt/dsf/bin
            3. Restart DWS and start DCS in debug mode:
            sudo systemctl start duetwebserver
            sudo /opt/dsf/bin/DuetControlServer -l debug -r
            

            And check if the problem persists.

            Duet software engineer

            Carloundefined 1 Reply Last reply Reply Quote 0
            • Carloundefined
              Carlo @chrishamm
              last edited by

              @chrishamm

              Hi Chris,

              All done as above however the last command returns:
              pi@duet3:~ $ sudo /opt/dsf/bin/DuetControlServer -l debug -r
              sudo: /opt/dsf/bin/DuetControlServer: command not found

              And error in browser unable to connect to duet3 DCS is not started
              I've redone it twice same result overwrote in Bin directory twice with the 10 file in the zip

              chrishammundefined 1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators @Carlo
                last edited by

                @Carlo Maybe you need to run sudo chmod +x /opt/dsf/bin/DuetControlServer if you deleted it before.

                Unfortunately I've found another issue which I am still debugging. I'll post an update here when I've fixed that.

                Duet software engineer

                Carloundefined 1 Reply Last reply Reply Quote 0
                • Carloundefined
                  Carlo @chrishamm
                  last edited by

                  @chrishamm said in Duet3 + Pi DWC freezing:

                  sudo chmod +x /opt/dsf/bin/DuetControlServer

                  That fixed it ..as in its not freezing now 👏 👍

                  Thanks Really Appreciate Your Help!

                  C

                  Carloundefined 1 Reply Last reply Reply Quote 0
                  • Carloundefined
                    Carlo @Carlo
                    last edited by

                    @Carlo
                    Sorry Chris I spoke to soon doing it is again

                    chrishammundefined 1 Reply Last reply Reply Quote 0
                    • chrishammundefined
                      chrishamm administrators @Carlo
                      last edited by

                      @Carlo I've been able to reproduce it and will come up with a fix shortly. In the meantime, reloading DWC when it freezes should solve your problem.

                      Duet software engineer

                      Carloundefined 2 Replies Last reply Reply Quote 0
                      • Carloundefined
                        Carlo @chrishamm
                        last edited by

                        @chrishamm

                        Hi Chris
                        That's great
                        I don't want it to seem I'm hassling you I'm not as the standalone works fine my issue is a when ever just thought the feedback could help in general.

                        Thanks
                        C

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

                          @Carlo said in Duet3 + Pi DWC freezing:

                          @chrishamm

                          Hi Chris
                          That's great
                          I don't want it to seem I'm hassling you I'm not as the standalone works fine my issue is a when ever just thought the feedback could help in general.

                          Thanks
                          C

                          Your feedback is indeed helpful. We are preparing a 3.1.1 release and it's good to get fixes for other significant bugs into it.

                          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
                          • Carloundefined
                            Carlo @chrishamm
                            last edited by

                            @chrishamm

                            Hi Chris,

                            It was not possible to just reload the page as gcode files would not start it would heat as expected but on initial movement would then try to home and not recognize the endstops so I installed DSF etc from a standalone raspbian install which has fixed the freezing but not the unable to print with the same issues as above also cannot use the webcam in DWC as it causes DWC to restart with out displaying error on each attempt though I can view the Pi cam from the web browser.
                            This is on 3.1.1 as per apt get.

                            Cheers
                            C

                            Carloundefined 1 Reply Last reply Reply Quote 0
                            • Carloundefined
                              Carlo @Carlo
                              last edited by

                              @Carlo

                              Hi Chris DC,

                              Any update on a fix for this minor issue ?

                              Cheers
                              C

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

                                @Carlo said in Duet3 + Pi DWC freezing:

                                this minor issue ?

                                Sorry what's the minor remaining issue in a nut shell?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Carloundefined 2 Replies Last reply Reply Quote 0
                                • Carloundefined
                                  Carlo @Phaedrux
                                  last edited by

                                  @Phaedrux

                                  That when G-code is loaded it results in unexpected movement at the start of a print like the nozzle being plowed in to the bed or homed with the carriages crashing at the end stops and without the Pi files print as expected.

                                  Cheers
                                  C

                                  1 Reply Last reply Reply Quote 0
                                  • Carloundefined
                                    Carlo @Phaedrux
                                    last edited by Carlo

                                    @Phaedrux

                                    Does this have any meaning in the issues I'm having ?
                                    7/14/2020, 2:05:13 PM Warning: Firmware halted
                                    7/14/2020, 2:05:13 PM Warning: Lost connection to Duet (Timeout while waiting for transfer ready pin)
                                    7/14/2020, 2:05:12 PM Connection to Duet established
                                    7/14/2020, 2:05:12 PM Warning: Lost connection to Duet (Timeout while waiting for transfer ready pin)

                                    Video of issue linked below

                                    https://youtu.be/29_tLbxniCM

                                    Exactly the same issue with 2off Pi4b 1off Pi3b+ at the same point always

                                    Cheers
                                    C

                                    Carloundefined 1 Reply Last reply Reply Quote 0
                                    • Carloundefined
                                      Carlo @Carlo
                                      last edited by

                                      @Carlo

                                      Works OK in stand alone

                                      https://www.youtube.com/watch?v=mCwJnyaidI4

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

                                        @Carlo Under investigation.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        Carloundefined 1 Reply Last reply Reply Quote 0
                                        • Carloundefined
                                          Carlo @Phaedrux
                                          last edited by

                                          @Phaedrux

                                          Cheers

                                          Carloundefined 1 Reply Last reply Reply Quote 0
                                          • Carloundefined
                                            Carlo @Carlo
                                            last edited by

                                            @Carlo

                                            So received my new Duet 3 yesterday so new board new cable new installation DuetPi
                                            nothing else attached same issue works perfectly in stand alone and does everything in SBC mode but print ...If I use DuetPi it will start the print then head to the endstops but wont stop at them after a few seconds but if I build PiOs install DSF etc it heads the other way and ploughs in to the bed but at the same point everytime after a few seconds to the mm?
                                            with the motors screeming and M122 shows no errors everything is peachy as far as the board is concerned ...Turns out its the purge line in my start code.. which works fine in standalone mode but not SBC SBC "worked" without it Huh? Quotes well A print
                                            Is it the spacing of the lines printing at the moment so can't retry right now but like to know how it ends.
                                            any ideas ?
                                            ; Draw arc to prime the nozzle between 6PM and 9PM on the bed edge

                                            G1 X0 Y-175 Z0.25 F6000

                                            G2 X-175 Y0 I0 J175 E30 F1500

                                            G1 X-174.52

                                            G3 X0 Y-174.52 I174.52 J0 E28 F1500

                                            Cheers
                                            C

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