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

    Software Reset whilst printing 3.2-1 Beta

    Scheduled Pinned Locked Moved
    Hardware dev
    4
    20
    727
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Yes, https://www.dropbox.com/s/iw2wx23ta226b3c/Duet3_SDiap_Mini5plus.bin?dl=0.

      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

      oozeBotundefined 1 Reply Last reply Reply Quote 1
      • oozeBotundefined
        oozeBot @dc42
        last edited by

        @dc42 Wil this build work on the Duet 3 (non-mini) / RPi? I've experienced the same thing several times.. Thanks

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

          @oozeBot no that build wont.

          www.duet3d.com

          1 Reply Last reply Reply Quote 1
          • jay_s_ukundefined
            jay_s_uk
            last edited by

            @dc42
            I left the printer on all night and did not have a reset.
            However, I was printing a file this morning and complete access to the SD card was lost.
            DWC reported that the file being printed was unreadable with an error code 1.
            I was then unable to home the machine etc. I also attempted to re-read the SD card using M21 but DWC reported the card as unusable.

            M21
            Error: M21: Cannot initialise SD card 0: Card is unusable
            Failed to get file list
            Target drive is unmounted
            

            After that, DWC started to complain that it couldn't write to its json file. All that was left was to reset the machine, at which point the SD card was available again.
            Below is an output from M122 when the SD card was unusable but I'm not sure it tells you much.

            m122
            === Diagnostics ===
            RepRapFirmware for Duet 3 Mini 5+ prototype v0.2 version 3.2-beta1+1 running on Duet 3 Mini5plus WiFi (standalone mode)
            Board ID: 8ULVP-1D6P9-F65J0-401FQ-2A03Z-RJW1V
            Used output buffers: 3 of 40 (14 max)
            === RTOS ===
            Static ram: 85976
            Dynamic ram: 128920 of which 692 recycled
            Exception stack ram used: 544
            Never used ram: 46012
            Tasks: NETWORK(ready,119) HEAT(blocked,302) TMC(blocked,69) MAIN(running,442) IDLE(ready,19) AIN(blocked,258)
            Owned mutexes: WiFi(NETWORK)
            === Platform ===
            Last reset 01:53:43 ago, cause: software
            Last software reset at 2020-09-30 07:13, reason: User, GCodes spinning, available RAM 46036, slot 1
            Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x04430000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
            Error status: 0x00
            Supply voltage: min 0.0, current 12.5, max 12.7, under voltage events: 0, over voltage events: 0, power good: yes
            Driver 0: position 14610, standstill, SG min/max 0/420, read errors 0, write errors 1, ifcnt 40, reads 52208, writes 26, timeouts 375, DMA errors 0, failedOp 0x71
            Driver 1: position 14041, standstill, SG min/max 0/416, read errors 0, write errors 1, ifcnt 40, reads 51579, writes 26, timeouts 1004, DMA errors 0, failedOp 0x71
            Driver 2: position 3160, standstill, SG min/max 14/216, read errors 0, write errors 1, ifcnt 40, reads 52081, writes 26, timeouts 502, DMA errors 0, failedOp 0x6f
            Driver 3: position 0, standstill, SG min/max 12/226, read errors 0, write errors 1, ifcnt 40, reads 52582, writes 26, timeouts 0, DMA errors 0
            Driver 4: position 0, standstill, SG min/max 0/456, read errors 0, write errors 1, ifcnt 32, reads 52589, writes 20, timeouts 0, DMA errors 0
            Driver 5: position 0, assumed not present
            Driver 6: position 0, assumed not present
            Driver 7: position 0, assumed not present
            Date/time: 2020-09-30 09:07:05
            Slowest loop: 1718.57ms; fastest: 0.10ms
            === Storage ===
            Free file entries: 10
            SD card 0 detected, interface speed: 22.5MBytes/sec
            SD card longest read time 9.1ms, write time 18.4ms, max retries 1
            === Move ===
            Hiccups: 0(0), FreeDm: 169, MinFreeDm: 109, MaxWait: 3701413ms
            Bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves: 15576, completed moves: 15576, StepErrors: 0, LaErrors: 0, Underruns: 0, 4  CDDA state: -1
            === AuxDDARing ===
            Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 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
            SBC is idle in state(s) 0
            Daemon is idle in state(s) 0
            Aux2 is idle in state(s) 0
            Autopause is idle in state(s) 0
            Code queue is empty.
            === Network ===
            Slowest loop: 916.52ms; 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.24
            WiFi MAC address f4:cf:a2:71:b0:50
            WiFi Vcc 3.38, reset reason Turned on by main processor
            WiFi flash size 2097152, free heap 25856
            WiFi IP address 192.168.1.27
            WiFi signal strength -85dBm, reconnections 0, sleep mode modem
            Clock register ffffffff
            Socket states: 0 0 0 0 0 0 0 0
            

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk
              last edited by

              Just had it lose the SD card whilst sat idle as well. Popping the SD card out and putting it back in give the same errors as before. M21 also doesn't work.

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                had another timeout that seemed to happen somewhere around the 45 minute mark. I will revert back to the other previous build for the moment

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                  Thanks, it looks like resetting the SDHC controller isn't enough to clear the error when it occurs.

                  To restore access to the SD card, did you need to power down, or was a software reset (or the reset button) enough?

                  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
                  • jay_s_ukundefined
                    jay_s_uk
                    last edited by

                    Using the reset button was enough. I didn't try an emergency reset

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk
                      last edited by

                      @dc42 Is there another build you would like me to try?

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk
                        last edited by

                        I've switched to SBC mode at the moment.
                        I can't have the 12864 display enabled though as it just constantly resets

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                          @jay_s_uk said in Software Reset whilst printing 3.2-1 Beta:

                          I've switched to SBC mode at the moment.
                          I can't have the 12864 display enabled though as it just constantly resets

                          If you think there is a problem with the 12864 display driver, please start a new thread about that.

                          Regarding the original problem, I have been assuming it is the internal SD card that you were referring to. Please confirm.

                          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

                          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @dc42
                            last edited by

                            @dc42 yes, it was the internal sd card with the mini 5+ in standalone.
                            The reboots were becoming quite erratic, hence the switch to SBC

                            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                            1 Reply Last reply Reply Quote 0
                            • jay_s_ukundefined
                              jay_s_uk
                              last edited by

                              @dc42 I tried the updated firmware linked to in the other thread and managed to print a file, with the machine being left on after that.
                              On the second print, the SD card was lost again and the board did not reconnect.
                              I tried connecting to it via USB but I was not getting a response so I was unable to obtain an M122 output.
                              DWC also didn't connect and I got the HTTP rejected error.
                              Here is an M122 output after repowering the machine.

                              === Diagnostics ===
                              RepRapFirmware for Duet 3 Mini 5+ prototype v0.2 version 3.2-beta2 running on Duet 3 Mini5plus WiFi (standalone mode)
                              Board ID: 8ULVP-1D6P9-F65J0-401FQ-2A03Z-RJW1V
                              Used output buffers: 3 of 40 (11 max)
                              === RTOS ===
                              Static ram: 88664
                              Dynamic ram: 131140 of which 700 recycled
                              Exception stack ram used: 224
                              Never used ram: 41416
                              Tasks: NETWORK(ready,166) HEAT(blocked,335) TMC(blocked,69) MAIN(running,431) IDLE(ready,20) AIN(blocked,267)
                              Owned mutexes:
                              === Platform ===
                              Last reset 00:00:40 ago, cause: power up
                              Last software reset at 2020-10-04 07:56, reason: StuckInSpinLoop, GCodes spinning, available RAM 40944, slot 1
                              Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0443080f BFAR 0xe000ed38 SP 0x20002634 Task NETW
                              Stack: 000304eb 0006b34e 41090000 80000000 4064d0e5 41472759 b6376c00 3331bb4c 40000000 3f317200 b5ddea0e 388ab30c bb360b06 43570000 42c8c083 00000000 00000000 00000000 00000000 60000010 00000008 00000008 200039b8 00000000 000304eb 2002a720 00000000
                              Error status: 0x00
                              Supply voltage: min 0.0, current 12.6, max 12.6, under voltage events: 0, over voltage events: 0, power good: yes
                              Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 5783, writes 11, timeouts 0, DMA errors 0
                              Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 5783, writes 11, timeouts 0, DMA errors 0
                              Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 5782, writes 11, timeouts 0, DMA errors 0
                              Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 5782, writes 11, timeouts 0, DMA errors 0
                              Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 12, reads 5782, writes 12, timeouts 0, DMA errors 0
                              Driver 5: position 0, assumed not present
                              Driver 6: position 0, assumed not present
                              Driver 7: position 0, assumed not present
                              Date/time: 2020-10-04 09:55:14
                              Slowest loop: 4.25ms; fastest: 0.11ms
                              === Storage ===
                              Free file entries: 10
                              SD card 0 detected, interface speed: 22.5MBytes/sec
                              SD card longest read time 2.3ms, write time 0.0ms, max retries 0
                              === Move ===
                              Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                              Bed compensation in use: none, comp offset 0.000
                              === MainDDARing ===
                              Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0  CDDA state: -1
                              === AuxDDARing ===
                              Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0  CDDA state: -1
                              === Heat ===
                              Bed heaters = 0 -1, chamberHeaters = -1 -1
                              Heater 1 is on, I-accum = 0.0
                              === 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
                              SBC is idle in state(s) 0
                              Daemon is idle in state(s) 0
                              Aux2 is idle in state(s) 0
                              Autopause is idle in state(s) 0
                              Code queue is empty.
                              === Network ===
                              Slowest loop: 10.81ms; 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.24
                              WiFi MAC address f4:cf:a2:71:b0:50
                              WiFi Vcc 3.38, reset reason Turned on by main processor
                              WiFi flash size 2097152, free heap 24544
                              WiFi IP address 192.168.1.56
                              WiFi signal strength -82dBm, reconnections 0, sleep mode modem
                              Clock register ffffffff
                              Socket states: 0 0 0 0 0 0 0 0
                              

                              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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