Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Unsolved Reset at reason: Stuck In Spin Loop

    Using Duet Controllers
    3
    5
    198
    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.
    • Aitor
      Aitor last edited by

      Good morning,

      I have a machine that is constantly rebooting, sometimes just uploading files to the microSD card.

      I have done M122 and this is the result:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later
      Board ID: 08DGM-917NK-F23T0-6JTDJ-3S46L-TDADD
      Used output buffers: 3 of 24 (23 max)
      === RTOS ===
      Static ram: 23876
      Dynamic ram: 75504 of which 0 recycled
      Never used RAM 12180, free system stack 184 words
      Tasks: NETWORK(ready,14.1%,247) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,364) MAIN(running,85.7%,442) IDLE(ready,0.1%,29), total 100.0%
      Owned mutexes: WiFi(NETWORK)
      === Platform ===
      Last reset 00:47:50 ago, cause: software
      Last software reset at 2021-11-03 12:05, reason: StuckInSpinLoop, GCodes spinning, available RAM 12180, slot 0
      Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x2000232c Task MAIN Freestk 764 ok
      Stack: 0042ae6f 004545d8 610f0000 3e7dff00 40dd4c00 369dc3a0 3edbc06f 3331bb4c 40000000 b5ddd98d 388ab355 bb360b61 3e2aaaab 3f800000 3f800000 4205adc8 4354c416 3e7dff00 3e7dff00 60000010 00000000 00000000 0042ae6f 00000001 00006240 00000000 20000c60
      Error status: 0x00
      Aux0 errors 0,0,0
      Step timer max interval 0
      MCU temperature: min 37.2, current 39.3, max 39.9
      Supply voltage: min 23.9, current 24.1, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 99/6, heap memory allocated/used/recyclable 2048/62/0, gc cycles 0
      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
      Driver 6: position 0
      Driver 7: position 0
      Driver 8: position 0
      Driver 9: position 0
      Driver 10: position 0
      Driver 11: position 0
      Date/time: 2021-11-03 12:54:02
      Cache data hit count 4294967295
      Slowest loop: 212.43ms; 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: 20.0MBytes/sec
      SD card longest read time 52.5ms, write time 78.7ms, max retries 3
      === 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 -1 -1, chamberHeaters = -1 -1 -1 -1
      Heater 0 is on, I-accum = 0.0
      Heater 1 is on, I-accum = 0.5
      === 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: 195.38ms; 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.26
      WiFi MAC address 84:0d:8e:b3:06:d4
      WiFi Vcc 3.38, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 24392
      WiFi IP address 192.168.1.230
      WiFi signal strength -53dBm, mode 802.11n, reconnections 0, sleep mode modem
      Clock register 00002002
      Socket states: 0 0 0 0 0 0 0 0
      

      Can you guide me to what might be going on or what to look for?

      Previously I was working with version 3.1.1 on this machine and the same thing happened to me.

      I'm checking the wiring for shorts or shunts, but so far I haven't found anything.

      The configuration of this machine is identical to others that work perfectly.

      Thank you, best regards

      gloomyandy T3P3Tony 2 Replies Last reply Reply Quote 0
      • gloomyandy
        gloomyandy @Aitor last edited by

        @aitor said in Reset at reason: Stuck In Spin Loop:

        SD card longest read time 52.5ms, write time 78.7ms, max retries 3

        Might be worth trying a different SD card. You shouldn't really be getting retries.

        1 Reply Last reply Reply Quote 0
        • T3P3Tony
          T3P3Tony administrators @Aitor last edited by

          @aitor thats a good spot by @gloomyandy if you could try a know good SD card to rule that our.

          www.duet3d.com

          Aitor 1 Reply Last reply Reply Quote 0
          • Aitor
            Aitor @T3P3Tony last edited by

            Morning @t3p3tony and @gloomyandy

            Ok, I'll try it today and let you know

            Thanks

            Aitor 1 Reply Last reply Reply Quote 0
            • Aitor
              Aitor @Aitor last edited by

              Good morning @t3p3tony and @gloomyandy

              I changed the SD card and the same thing happened, this time it did reboot during a print once.

              Maybe something else happened as it says that it was restarted 95h ago but the printing stopped.

              I have activated an M929 eventlog to see if it gives me more information.

              This was the result of M122:

              16/11/2021 15:15:32 M122
              === Diagnostics ===
              RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later
              Board ID: 08DGM-917NK-F23T0-6JTDJ-3S46L-TDADD
              Used output buffers: 3 of 24 (24 max)
              === RTOS ===
              Static ram: 23876
              Dynamic ram: 75504 of which 0 recycled
              Never used RAM 12180, free system stack 168 words
              Tasks: NETWORK(ready,14.1%,217) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,364) MAIN(running,85.8%,461) IDLE(ready,0.0%,29), total 100.0%
              Owned mutexes:
              === Platform ===
              Last reset 95:21:31 ago, cause: software
              Last software reset at 2021-11-12 15:53, reason: StuckInSpinLoop, GCodes spinning, available RAM 11972, slot 1
              Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x200032b4 Task NETW Freestk 403 ok
              Stack: 0042ae6f 004545fc 410f0000 3e800000 412586e8 42263771 3edbc06f 3331bb4c 40000000 b5ddd98d 388ab355 bb360b61 3e2aaaab 3f800000 00000000 40951efe 457f5a39 7f7fffff 3e800000 80000010 00000000 00000000 0042ae6f 00000001 0025bc42 00000000 20000818
              Error status: 0x00
              Aux0 errors 0,0,0
              Step timer max interval 0
              MCU temperature: min 35.1, current 35.6, max 35.6
              Supply voltage: min 24.2, current 24.3, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
              Heap OK, handles allocated/used 99/6, heap memory allocated/used/recyclable 2048/62/0, gc cycles 0
              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
              Driver 6: position 0
              Driver 7: position 0
              Driver 8: position 0
              Driver 9: position 0
              Driver 10: position 0
              Driver 11: position 0
              Date/time: 2021-11-16 15:15:13
              Cache data hit count 4294967295
              Slowest loop: 3.60ms; 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: 20.0MBytes/sec
              SD card longest read time 1.0ms, 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 -1 -1, chamberHeaters = -1 -1 -1 -1
              Heater 1 is on, I-accum = 0.4
              === 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: 201.69ms; fastest: 0.08ms
              Responder states: HTTP(2) 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 1
                WiFi firmware version 1.26
                WiFi MAC address 84:0d:8e:b3:06:d4
                WiFi Vcc 3.38, reset reason Turned on by main processor
                WiFi flash size 4194304, free heap 24632
                WiFi IP address 192.168.1.230
                WiFi signal strength -51dBm, mode 802.11n, reconnections 0, sleep mode modem
                Clock register 00002002
                Socket states: 4 0 0 0 0 0 0 0
              1 Reply Last reply Reply Quote 0
              • Topic has been marked as a question  Phaedrux Phaedrux 
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA