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

    Duet 2 Maestro occasionally stops mid print

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    18
    865
    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.
    • Infinitysnekundefined
      Infinitysnek
      last edited by

      Im on 3.2.2 now and it suddenly stopped again. This time not during a print but during the auto bed leveling. Does that rule out the sd card causing issues?

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 Maestro version 3.2.2 running on Duet Maestro 1.0
      Board ID: 08DJM-956DU-LLMS4-7JTD6-3SS6L-KVLUR
      Used output buffers: 1 of 24 (10 max)
      === RTOS ===
      Static ram: 22284
      Dynamic ram: 73128 of which 24 recycled
      Never used RAM 19396, free system stack 206 words
      Tasks: NETWORK(ready,206) HEAT(blocked,341) TMC(blocked,117) MAIN(running,478) IDLE(ready,21)
      Owned mutexes:
      === Platform ===
      Last reset 00:15:27 ago, cause: software
      Last software reset at 2021-02-15 17:22, reason: StuckInSpinLoop, GCodes spinning, available RAM 18992, slot 0
      Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0000080f BFAR 0xe000ed38 SP 0x200042cc Task MAIN Freestk 754 ok
      Stack: 0041e60b 00455812 610b0000 00000000 00000000 20002858 00000001 00000001 00000014 7f61294e 20000c68 00000001 00000000 00000001 20000c68 00000028 7f62712c 200028cc 0041e9f1 00000001 00000000 00004184 0041f171 20000c68 00000001 7f5e9f7b 00f07fff
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU temperature: min 19.4, current 20.0, max 21.0
      Supply voltage: min 0.0, current 24.4, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: position 0, standstill, read errors 0, write errors 1, ifcnt 23, reads 23427, writes 8, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, read errors 0, write errors 1, ifcnt 23, reads 23427, writes 8, timeouts 0, DMA errors 0
      Driver 2: position 0, standstill, read errors 0, write errors 1, ifcnt 25, reads 23427, writes 8, timeouts 0, DMA errors 0
      Driver 3: position 0, standstill, read errors 0, write errors 1, ifcnt 22, reads 23427, writes 8, timeouts 0, DMA errors 0
      Driver 4: position 0, standstill, read errors 0, write errors 1, ifcnt 13, reads 23429, writes 6, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-02-15 17:38:44
      Slowest loop: 72.61ms; fastest: 0.17ms
      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: 15.0MBytes/sec
      SD card longest read time 1.4ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, 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, chamberHeaters = -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: 6.40ms; fastest: 0.02ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
      HTTP sessions: 1 of 8
      Interface state active, link 100Mbps full duplex
      
      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @dc42 can you have a look at the stacktrace?

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

          Can you post your full config.g and the results of M98 P"config.g" ?

          And maybe a sample gcode file that has caused the crash?

          Z-Bot CoreXY Build | Thingiverse Profile

          Vetiundefined Infinitysnekundefined 2 Replies Last reply Reply Quote 0
          • Vetiundefined
            Veti @Phaedrux
            last edited by

            @Phaedrux
            the config is above

            Phaedruxundefined 1 Reply Last reply Reply Quote 0
            • Infinitysnekundefined
              Infinitysnek @Phaedrux
              last edited by

              @Phaedrux

              Would the gcode be helpful? It doesn't consistently happen even with running the same file again. The last one happend during a mesh level command

              M98 P"config.g"
              HTTP is enabled on port 80
              FTP is disabled
              TELNET is disabled
              Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 463C
              
              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @Veti
                last edited by

                @Veti said in Duet 2 Maestro occasionally stops mid print:

                @Phaedrux
                the config is above

                Ah yes, missed the link.

                @Infinitysnek said in Duet 2 Maestro occasionally stops mid print:

                Would the gcode be helpful? It doesn't consistently happen even with running the same file again. The last one happend during a mesh level command

                In that case, probably not.

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  In all three M122 reports that you provided, the microcontroller was stuck waiting for an SD command to complete. So I have these suggestions:

                  • Replace the SD card
                  • Firmware 3.2.x reads the SD card more often than older firmware because it supports the daemon.g process. If you are not using daemon.g, create a daemon.g file in /sys containing this single command:
                  G4 S100000
                  

                  That will put the daemon task to sleep for almost a month at a time.

                  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

                  Infinitysnekundefined 1 Reply Last reply Reply Quote 0
                  • Infinitysnekundefined
                    Infinitysnek @dc42
                    last edited by

                    @dc42 Thank you for looking in to this.
                    I made the daemon.g file, does that run automatically on startup or do I need to do something once a month?
                    I'll wait for a new SD card to arrive tomorrow.

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

                      The daemon.g file runs automatically at startup, so just having the file present is sufficient to put it to sleep.

                      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
                        last edited by

                        PS - are you running your prints from the internal SD card in the Duet, or are you using an external SD card socket?

                        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

                        Infinitysnekundefined 1 Reply Last reply Reply Quote 0
                        • Infinitysnekundefined
                          Infinitysnek @dc42
                          last edited by

                          @dc42 All from the internal SD card. I upload everything via the web interface. I don't have an external SD card socket.

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