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

    Duet 3 Mini 5+ VIN under-voltage issues in SBC mode

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    11
    120
    7.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.
    • Serbitarundefined
      Serbitar
      last edited by

      My M122 after the board started with VSSA faults. Machine was idle at the time.

      m122
      === Diagnostics ===
      RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2+1 (2021-04-12 08:36:30) running on Duet 3 Mini5plus WiFi (SBC mode)
      Board ID: W4ZW4-V296U-D65J0-40KM0-LR03Z-H6928
      Used output buffers: 1 of 40 (12 max)
      === RTOS ===
      Static ram: 100072
      Dynamic ram: 97524 of which 0 recycled
      Never used RAM 46108, free system stack 200 words
      Tasks: Linux(ready,149) HEAT(delaying,314) CanReceiv(notifyWait,944) CanSender(notifyWait,371) CanClock(delaying,332) TMC(notifyWait,99) MAIN(running,596) IDLE(ready,20) AIN(notifyWait,260)
      Owned mutexes: HTTP(MAIN)
      === Platform ===
      Last reset 00:28:47 ago, cause: software
      Last software reset at 2021-04-12 17:01, reason: User, GCodes spinning, available RAM 45892, slot 1
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      Aux1 errors 0,0,0
      MCU revision 3, ADC conversions started 2063042, completed 2063041, timed out 0, errs 0
      tnd=0 rnd=0 wrd=0 wtd=0 war=0
      Supply voltage: min 0.1, current 0.1, max 18.9, under voltage events: 1, over voltage events: 0, power good: no
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Driver 5: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Driver 6: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 20, reads 24, writes 9, timeouts 0, DMA errors 0
      Date/time: 2021-04-12 17:29:53
      Cache data hit count 3667011328
      Slowest loop: 2.60ms; fastest: 0.09ms
      === Storage ===
      Free file entries: 10
      SD card 0 not detected, interface speed: 0.0MBytes/sec
      SD card longest read time 0.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, chamberHeaters = -1 -1
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP* is doing "M122" 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.
      === Filament sensors ===
      Extruder 0 sensor: ok
      Extruder 1 sensor: ok
      === CAN ===
      Messages queued 15540, send timeouts 15538, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17)
      Last cancelled message type 4514 dest 127
      === SBC interface ===
      State: 4, failed transfers: 0
      Last transfer: 3ms ago
      RX/TX seq numbers: 57208/57208
      SPI underruns 0, overruns 0
      Number of disconnects: 0, IAP RAM available 0x113e8
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.3-b2
      Code buffer space: 4096
      Configured SPI speed: 2000000 Hz
      Full transfers per second: 33.13
      Codes per second: 0.04
      Maximum length of RX/TX data transfers: 2928/1088
      
      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        @serbitar, it looks like you rebooted before doing the M122. Is that correct?

        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

        Serbitarundefined 1 Reply Last reply Reply Quote 0
        • Serbitarundefined
          Serbitar @dc42
          last edited by

          @dc42 I had reset the board much earlier, around 17:00.
          At 17:24 the VSSA faults started.
          At 1729 I did m122 and then reset the board so that I could copy the result out of DWC. The m122 is from before that reset.

          1 Reply Last reply Reply Quote 0
          • M-Pixelundefined
            M-Pixel
            last edited by

            Error: VSSA fault, check thermistor wiring
            4/12/2021, 11:07:17 AM 	M122
            === Diagnostics ===
            RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2+1 (2021-04-11 10:20:02) running on Duet 3 Mini5plus Ethernet (SBC mode)
            Board ID: PG824-LA67A-G65J0-40TFS-L3D0Z-ZGG9A
            Used output buffers: 1 of 40 (12 max)
            === RTOS ===
            Static ram: 100072
            Dynamic ram: 92492 of which 0 recycled
            Never used RAM 48284, free system stack 126 words
            Tasks: Linux(ready,139) HEAT(delaying,231) CanReceiv(notifyWait,944) CanSender(notifyWait,357) CanClock(delaying,332) TMC(notifyWait,99) MAIN(running,599) IDLE(ready,20) AIN(notifyWait,260)
            Owned mutexes: HTTP(MAIN)
            === Platform ===
            Last reset 01:46:38 ago, cause: power up
            Last software reset at 2021-04-11 19:13, reason: User, none spinning, available RAM 48284, slot 0
            Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
            Error status: 0x00
            Aux0 errors 0,0,0
            Aux1 errors 0,0,0
            MCU revision 3, ADC conversions started 7620048, completed 7620047, timed out 0, errs 1
            tnd=0 rnd=0 wrd=0 wtd=1 war=1
            Supply voltage: min 0.0, current 0.1, max 24.3, under voltage events: 1, over voltage events: 0, power good: no
            Heap OK, handles allocated/used 99/1, heap memory allocated/used/recyclable 2048/12/0, gc cycles 0
            Driver 0: position 16418, ok, SG min/max 0/72, read errors 0, write errors 0, ifcnt 15, reads 20007, writes 15, timeouts 1, DMA errors 0, failedOp 0x01
            Driver 1: position 8692, ok, SG min/max 0/54, read errors 0, write errors 0, ifcnt 15, reads 19999, writes 15, timeouts 9, DMA errors 0, failedOp 0x6a
            Driver 2: position 120, standstill, SG min/max 0/352, read errors 0, write errors 0, ifcnt 15, reads 20008, writes 15, timeouts 0, DMA errors 0
            Driver 3: position 0, ok, SG min/max 0/34, read errors 0, write errors 0, ifcnt 13, reads 20001, writes 13, timeouts 9, DMA errors 0, failedOp 0x6a
            Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 11, reads 20012, writes 11, timeouts 0, DMA errors 0
            Driver 5: position 0, assumed not present
            Driver 6: position 0, assumed not present
            Date/time: 2021-04-12 19:07:16
            Cache data hit count 4294967295
            Slowest loop: 108.23ms; fastest: 0.06ms
            === Storage ===
            Free file entries: 10
            SD card 0 not detected, interface speed: 0.0MBytes/sec
            SD card longest read time 0.0ms, write time 0.0ms, max retries 0
            === Move ===
            DMs created 83, maxWait 5180087ms, bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves 623, completed moves 623, 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 doing "M122" 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.
            === CAN ===
            Messages queued 57504, send timeouts 57501, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17)
            Last cancelled message type 30 dest 127
            === SBC interface ===
            State: 4, failed transfers: 0
            Last transfer: 3ms ago
            RX/TX seq numbers: 30312/30312
            SPI underruns 0, overruns 0
            Number of disconnects: 0, IAP RAM available 0x118dc
            Buffer RX/TX: 0/0-0
            === Duet Control Server ===
            Duet Control Server v3.2.2
            Code buffer space: 4096
            Configured SPI speed: 8000000 Hz
            Full transfers per second: 5.95
            Maximum length of RX/TX data transfers: 3220/1640
            File /opt/dsf/sd/gcodes/hdd-rack-frame large left.gcode is selected, paused
            
            1 Reply Last reply Reply Quote 0
            • PaulHewundefined
              PaulHew
              last edited by

              Just had another VSSA.

              
              12/04/2021, 21:12:04 	Error: VSSA fault, check thermistor wiring
              12/04/2021, 21:12:01 	m122
              === Diagnostics ===
              RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2+1 (2021-04-12 08:36:30) running on Duet 3 Mini5plus Ethernet (SBC mode)
              Board ID: A45XG-F396U-D65J0-40KML-1F03Z-H03XP
              Used output buffers: 4 of 40 (20 max)
              === RTOS ===
              Static ram: 100072
              Dynamic ram: 91932 of which 0 recycled
              Never used RAM 51700, free system stack 172 words
              Tasks: Linux(resourceWait,127) HEAT(delaying,322) CanReceiv(notifyWait,774) CanSender(notifyWait,371) CanClock(delaying,340) TMC(notifyWait,99) MAIN(running,484) IDLE(ready,20) AIN(notifyWait,259)
              Owned mutexes: HTTP(MAIN)
              === Platform ===
              Last reset 09:07:01 ago, cause: software
              Last software reset at 2021-04-12 12:04, reason: User, GCodes spinning, available RAM 51700, slot 1
              Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
              Error status: 0x00
              Aux0 errors 0,0,0
              Aux1 errors 0,0,0
              MCU revision 3, ADC conversions started 39529293, completed 39529292, timed out 0, errs 1
              tnd=0 rnd=0 wrd=0 wtd=1 war=1
              Supply voltage: min 0.0, current 0.1, max 24.0, under voltage events: 1, over voltage events: 0, power good: no
              Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
              Driver 0: position 0, standstill, SG min/max 2/2, read errors 0, write errors 1, ifcnt 61, reads 12224, writes 11, timeouts 20730, DMA errors 0, failedOp 0x6f
              Driver 1: position 0, standstill, SG min/max 2/2, read errors 0, write errors 1, ifcnt 61, reads 32954, writes 11, timeouts 0, DMA errors 0
              Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 63, reads 32953, writes 11, timeouts 0, DMA errors 0
              Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 63, reads 32953, writes 11, timeouts 0, DMA errors 0
              Driver 4: position 0, standstill, SG min/max 2/2, read errors 0, write errors 1, ifcnt 63, reads 32954, writes 11, timeouts 0, DMA errors 0
              Driver 5: position 0, assumed not present
              Driver 6: position 0, assumed not present
              Date/time: 2021-04-12 21:12:00
              Cache data hit count 4294967295
              Slowest loop: 36.07ms; fastest: 0.10ms
              === Storage ===
              Free file entries: 10
              SD card 0 not detected, interface speed: 0.0MBytes/sec
              SD card longest read time 0.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, chamberHeaters = -1 -1
              Heater 1 is on, I-accum = 0.0
              === GCodes ===
              Segments left: 0
              Movement lock held by null
              HTTP* is doing "M122" 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.
              === CAN ===
              Messages queued 295399, send timeouts 0, received 393841, lost 0, longest wait 2ms for reply type 6049, peak Tx sync delay 384, free buffers 17 (min 16)
              === SBC interface ===
              State: 4, failed transfers: 0
              Last transfer: 4ms ago
              RX/TX seq numbers: 54864/54864
              SPI underruns 0, overruns 0
              Number of disconnects: 0, IAP RAM available 0x118a8
              Buffer RX/TX: 0/0-0
              === Duet Control Server ===
              Duet Control Server v3.2.2
              Code buffer space: 4096
              Configured SPI speed: 8000000 Hz
              Full transfers per second: 35.62
              Maximum length of RX/TX data transfers: 3268/604
              12/04/2021, 21:12:00 	Error: VSSA fault, check thermistor wiring
              
              

              RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
              Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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

                Thanks, everyone. There are two clear patterns emerging.

                I am testing a new firmware build overnight, so maybe I will have news in the morning.

                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

                lodgerundefined PaulHewundefined Fletcherundefined 3 Replies Last reply Reply Quote 1
                • lodgerundefined
                  lodger @dc42
                  last edited by

                  @dc42 Did MicroChip get back to you. Or is this all you and the teams hard work.....Just to say thank you really ..

                  Paul

                  1 Reply Last reply Reply Quote 1
                  • PaulHewundefined
                    PaulHew @dc42
                    last edited by

                    @dc42 Just out of interest, what is the critical bit in our logs that assist you DC42?

                    RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                    Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                    1 Reply Last reply Reply Quote 0
                    • PaulHewundefined
                      PaulHew
                      last edited by

                      Undervotage.... Printer was idle.

                      13/04/2021, 09:18:15 	m122
                      === Diagnostics ===
                      RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2+1 (2021-04-12 08:36:30) running on Duet 3 Mini5plus Ethernet (SBC mode)
                      Board ID: A45XG-F396U-D65J0-40KML-1F03Z-H03XP
                      Used output buffers: 1 of 40 (23 max)
                      === RTOS ===
                      Static ram: 100072
                      Dynamic ram: 91932 of which 0 recycled
                      Never used RAM 51700, free system stack 172 words
                      Tasks: Linux(resourceWait,119) HEAT(delaying,322) CanReceiv(notifyWait,774) CanSender(notifyWait,371) CanClock(delaying,340) TMC(notifyWait,99) MAIN(running,484) IDLE(ready,20) AIN(notifyWait,259)
                      Owned mutexes: HTTP(MAIN)
                      === Platform ===
                      Last reset 12:02:11 ago, cause: software
                      Last software reset at 2021-04-12 21:16, reason: User, none spinning, available RAM 51700, slot 2
                      Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
                      Error status: 0x00
                      Aux0 errors 0,0,0
                      Aux1 errors 0,0,0
                      MCU revision 3, ADC conversions started 51519632, completed 51519631, timed out 0, errs 3
                      tnd=0 rnd=0 wrd=0 wtd=3 war=3
                      Supply voltage: min 0.0, current 23.9, max 24.0, under voltage events: 1, over voltage events: 0, power good: yes
                      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                      Driver 0: position 0, standstill, SG min/max 2/2, read errors 0, write errors 1, ifcnt 82, reads 28663, writes 20, timeouts 51838, DMA errors 0, failedOp 0x6f
                      Driver 1: position 0, standstill, SG min/max 2/2, read errors 0, write errors 1, ifcnt 82, reads 14925, writes 20, timeouts 40, DMA errors 0, failedOp 0x06
                      Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 84, reads 14965, writes 20, timeouts 0, DMA errors 0
                      Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 84, reads 14963, writes 20, timeouts 0, DMA errors 0
                      Driver 4: position 0, standstill, SG min/max 2/2, read errors 0, write errors 1, ifcnt 84, reads 14965, writes 20, timeouts 0, DMA errors 0
                      Driver 5: position 0, assumed not present
                      Driver 6: position 0, assumed not present
                      Date/time: 2021-04-13 09:18:16
                      Cache data hit count 4294967295
                      Slowest loop: 63.01ms; fastest: 0.10ms
                      === Storage ===
                      Free file entries: 10
                      SD card 0 not detected, interface speed: 0.0MBytes/sec
                      SD card longest read time 0.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, chamberHeaters = -1 -1
                      Heater 1 is on, I-accum = 0.0
                      === GCodes ===
                      Segments left: 0
                      Movement lock held by null
                      HTTP* is doing "M122" 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.
                      === CAN ===
                      Messages queued 389993, send timeouts 0, received 519973, lost 0, longest wait 2ms for reply type 6049, peak Tx sync delay 500, free buffers 17 (min 16)
                      === SBC interface ===
                      State: 4, failed transfers: 0
                      Last transfer: 4ms ago
                      RX/TX seq numbers: 36429/36429
                      SPI underruns 0, overruns 0
                      Number of disconnects: 0, IAP RAM available 0x118a8
                      Buffer RX/TX: 0/0-0
                      === Duet Control Server ===
                      Duet Control Server v3.2.2
                      Code buffer space: 4096
                      Configured SPI speed: 8000000 Hz
                      Full transfers per second: 35.63
                      Maximum length of RX/TX data transfers: 3284/604
                      12/04/2021, 23:04:48 	Warning: VIN under-voltage event (0.0V)
                      

                      RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
                      Voron 2.4 disassembled..... Waiting for the RailCore Mini....

                      1 Reply Last reply Reply Quote 0
                      • Fletcherundefined
                        Fletcher @dc42
                        last edited by

                        @dc42 Another VSSA fault chain on the latest firmware:

                        4/13/2021, 7:41:44 AM 	Error: VSSA fault, check thermistor wiring
                        4/13/2021, 7:41:44 AM 	m122
                        === Diagnostics ===
                        RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2+1 (2021-04-12 08:36:30) running on Duet 3 Mini5plus Ethernet (SBC mode)
                        Board ID: FDQG2-Q296U-D65J0-40KMG-1K03Z-HXFTZ
                        Used output buffers: 1 of 40 (12 max)
                        === RTOS ===
                        Static ram: 100072
                        Dynamic ram: 91764 of which 64 recycled
                        Never used RAM 51804, free system stack 172 words
                        Tasks: Linux(ready,137) HEAT(delaying,322) CanReceiv(notifyWait,774) CanSender(notifyWait,371) CanClock(delaying,340) TMC(notifyWait,99) MAIN(running,498) IDLE(ready,20) AIN(notifyWait,260)
                        Owned mutexes: HTTP(MAIN)
                        === Platform ===
                        Last reset 23:27:06 ago, cause: software
                        Last software reset at 2021-04-12 16:13, reason: User, none spinning, available RAM 51856, slot 1
                        Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
                        Error status: 0x00
                        Aux0 errors 0,0,0
                        Aux1 errors 0,0,0
                        MCU revision 3, ADC conversions started 100481305, completed 100481304, timed out 0, errs 1
                        tnd=0 rnd=0 wrd=0 wtd=1 war=1
                        Supply voltage: min 0.0, current 0.1, max 24.4, under voltage events: 1, over voltage events: 0, power good: no
                        Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                        Driver 0: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 218, reads 4487, writes 11, timeouts 0, DMA errors 0
                        Driver 1: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 220, reads 4487, writes 11, timeouts 0, DMA errors 0
                        Driver 2: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 192, reads 4489, writes 9, timeouts 0, DMA errors 0
                        Driver 3: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 218, reads 4486, writes 11, timeouts 0, DMA errors 0
                        Driver 4: position 0, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 218, reads 4487, writes 11, timeouts 0, DMA errors 0
                        Driver 5: position 0, assumed not present
                        Driver 6: position 0, assumed not present
                        Date/time: 2021-04-13 15:41:41
                        Cache data hit count 4294967295
                        Slowest loop: 57.18ms; fastest: 0.08ms
                        === Storage ===
                        Free file entries: 10
                        SD card 0 not detected, interface speed: 0.0MBytes/sec
                        SD card longest read time 0.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, chamberHeaters = -1 -1
                        === GCodes ===
                        Segments left: 0
                        Movement lock held by null
                        HTTP* is doing "M122" 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.
                        === CAN ===
                        Messages queued 759838, send timeouts 0, received 1013078, lost 0, longest wait 2ms for reply type 6049, peak Tx sync delay 354, free buffers 17 (min 16)
                        === SBC interface ===
                        State: 4, failed transfers: 0
                        Last transfer: 4ms ago
                        RX/TX seq numbers: 14877/14877
                        SPI underruns 0, overruns 0
                        Number of disconnects: 0, IAP RAM available 0x118a8
                        Buffer RX/TX: 0/0-0
                        === Duet Control Server ===
                        Duet Control Server v3.3-b2
                        Code buffer space: 4096
                        Configured SPI speed: 8000000 Hz
                        Full transfers per second: 35.89
                        Codes per second: 0.00
                        Maximum length of RX/TX data transfers: 3044/804
                        4/13/2021, 7:41:39 AM 	Error: VSSA fault, check thermistor wiring
                        

                        It was stable for almost 24 hours, which is positive change, at least! Thank you for all the work you're putting in on this issue.

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

                          All, please try the new firmware at https://www.dropbox.com/sh/0mwfe22wepk5efh/AAB6Lp0rwBPjVK2R4SxbKhLya?dl=0. M115 reports it as 3.2beta2+2.

                          This version avoids using the ADC DMA sequencer completely, so I am hopeful that it will solve the problem. I was worried that the additional ADC interrupt load would be excessive, but with careful code optimisation I have got it down to 0.5% of total CPU 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

                          Serbitarundefined 1 Reply Last reply Reply Quote 2
                          • Serbitarundefined
                            Serbitar @dc42
                            last edited by Serbitar

                            @dc42 Looks like this version (and probably the other recent ones) breaks duetcontrolserver.

                            With 3.3b2 the logs are nice and quiet, with 3.3b2+2 the duetcontrolserver log is a fast rolling spam like this:

                            Apr 13 20:58:38 ender3 DuetControlServer[1585]: [error] Failed to merge JSON due to internal error: {"key":"","flags":"d99fn","result":{"boards":[{"mcuTemp":{},"vIn":{"current":0.4}}],"fans":[],"heat":{"heaters":[]},"inputs":[{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"},{"feedRate":50.0,"lineNumber":0,"state":"idle"}],"job":{"build":null,"duration":null,"filePosition":0,"layer":null,"layerTime":null,"pauseDuration":null,"timesLeft":{"filament":null,"file":null,"slicer":null},"warmUpDuration":null},"move":{"axes":[{"machinePosition":0,"userPosition":0},{"machinePosition":0,"userPosition":0},{"machinePosition":0,"userPosition":0}],"currentMove":{"acceleration":0,"deceleration":0,"laserPwm":null,"requestedSpeed":0,"topSpeed":0},"extruders":[],"virtualEPos":0},"sensors":{"analog":[],"endstops":[null,null,null],"filamentMonitors":[],"gpIn":[],"probes":[]},"seqs":{"boards":0,"directories":0,"fans":0,"global":0,"heat":0,"inputs":77,"job":1,"move":2,"network":2,"reply":0,"scanner":1,"sensors":0,"spindles":0,"state":0,"tools":0,"volChanges":[0,0],"volumes":0},"spindles":[{"current":0,"state":"unconfigured"},{"current":0,"state":"unconfigured"}],"state":{"atxPower":null,"currentTool":-1,"gpOut":[],"laserPwm":null,"msUpTime":101,"nextTool":-1,"previousTool":-1,"status":"off","time":"2021-04-13T20:58:38","upTime":83},"tools":[]},"next":0}
                            Apr 13 20:58:38 ender3 DuetControlServer[1585]:    System.InvalidOperationException: The requested operation requires an element of type 'Number', but the target element has type 'Array'.
                            Apr 13 20:58:38 ender3 DuetControlServer[1585]:    at System.Text.Json.JsonDocument.TryGetValue(Int32 index, Int32& value)
                            Apr 13 20:58:38 ender3 DuetControlServer[1585]:    at System.Text.Json.JsonElement.GetInt32()
                            Apr 13 20:58:38 ender3 DuetControlServer[1585]:    at DuetControlServer.Model.Updater.Run() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Model/Updater.cs:line 157
                            
                            root@ender3 ~ # dpkg -l duetcontrolserver
                            Desired=Unknown/Install/Remove/Purge/Hold
                            | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                            |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                            ||/ Name              Version      Architecture Description
                            +++-=================-============-============-============================================
                            ii  duetcontrolserver 3.3-b2       armhf        Control server application for Duet 3 series
                            
                            

                            I was hoping to do another batch of small sequential prints with the new firmware

                            1 Reply Last reply Reply Quote 0
                            • Serbitarundefined
                              Serbitar
                              last edited by

                              FIRMWARE_NAME: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.3beta2+1 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2021-04-09 14:40:21
                              

                              This is the first version that causes the DCS log spam

                              Serbitarundefined 1 Reply Last reply Reply Quote 0
                              • Serbitarundefined
                                Serbitar @Serbitar
                                last edited by

                                Actually this is a bit weird. I just went through the remaining versions in sequence and 3.3b2+2 isn't spamming the logs.

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

                                  @serbitar, I've updated the binary at https://www.dropbox.com/sh/0mwfe22wepk5efh/AAB6Lp0rwBPjVK2R4SxbKhLya?dl=0 to avoid DCS reporting those errors. The build time reported by M115 is now 21:29:10. The previous version was 18:55.

                                  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

                                  Serbitarundefined 1 Reply Last reply Reply Quote 0
                                  • Serbitarundefined
                                    Serbitar @dc42
                                    last edited by

                                    @dc42 said in Duet 3 Mini 5+ VIN under-voltage issues in SBC mode:

                                    With the 18:55 version I had a print paused over night and the printer didn't have any VSSA or VIN troubles.
                                    Print has now been resumed and will upgrade again later today after it finishes.

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

                                      Thanks. I am 99% certain that my rewrite of the ADC driver has fixed this issue, so I will mark it as solved. Feel free to revert that if the problem recurs.

                                      For others who have experienced this issue, thanks for your patience. The fix is in the Duet3Firmware_Mini5plus.uf2 file at https://www.dropbox.com/sh/0mwfe22wepk5efh/AAB6Lp0rwBPjVK2R4SxbKhLya?dl=0. The 3.3beta3 release will include this fix.

                                      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

                                      Serbitarundefined Fletcherundefined 2 Replies Last reply Reply Quote 3
                                      • Serbitarundefined
                                        Serbitar @dc42
                                        last edited by

                                        @dc42 Yep, looks good. No issues in the last 24h.
                                        Many thanks for sorting this out!

                                        1 Reply Last reply Reply Quote 1
                                        • Fletcherundefined
                                          Fletcher @dc42
                                          last edited by

                                          @dc42 Running a print successfully as we speak, after 24hr with no issues. Thank you for your work sorting this out!

                                          1 Reply Last reply Reply Quote 1
                                          • droftartsundefined
                                            droftarts administrators
                                            last edited by

                                            Many thanks to everyone who helped resolve this issue, for your patience, persistence and providing vital testing and feedback. I hope you didn’t waste too much filament!

                                            Ian

                                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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