Random board resets



  • Anyone any ideas why suddenly i'm getting random board resets.
    Nothing has been changed physically on board and not upgraded firmware. Was previously running without issues.
    Running RRF 3.1.1 on duet3 with SBC.

    Here's M122:
    Dynamic ram: 163620 of which 44 recycled
    Exception stack ram used: 544
    Never used ram: 74404
    Tasks: NETWORK(ready,1972) HEAT(blocked,1188) CanReceiv(suspended,3820) CanSender(suspended,1420) CanClock(blocked,1436) TMC(blocked,68) MAIN(running,2672) IDLE(ready,76)
    Owned mutexes:
    === Platform ===
    Last reset 00:10:26 ago, cause: power up
    Last software reset at 2020-11-11 16:08, reason: User, spinning module LinuxInterface, available RAM 74404 bytes (slot 3)
    Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
    Error status: 0
    MCU temperature: min 30.4, current 30.6, max 30.8
    Supply voltage: min 11.8, current 11.9, max 11.9, under voltage events: 0, over voltage events: 0, power good: yes
    12V rail voltage: min 11.1, current 11.1, max 11.2, under voltage events: 0
    Driver 0: standstill, reads 2570, writes 2 timeouts 0, SG min/max not available
    Driver 1: standstill, reads 2570, writes 2 timeouts 0, SG min/max not available
    Driver 2: standstill, reads 2570, writes 2 timeouts 0, SG min/max not available
    Driver 3: standstill, reads 2570, writes 2 timeouts 0, SG min/max not available
    Driver 4: standstill, reads 2570, writes 2 timeouts 0, SG min/max not available
    Driver 5: standstill, reads 2569, writes 2 timeouts 0, SG min/max not available
    Date/time: 2020-11-11 16:21:56
    Slowest loop: 4.21ms; fastest: 0.21ms
    === Storage ===
    Free file entries: 10
    SD card 0 not detected, interface speed: 37.5MBytes/sec
    SD card longest read time 0.0ms, write time 0.0ms, max retries 0
    === Move ===
    Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, MaxWait: 0ms
    Bed compensation in use: mesh, comp offset 0.000
    === MainDDARing ===
    Scheduled moves: 2490, completed moves: 2490, 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 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
    === GCodes ===
    Segments left: 0
    Movement lock held by null
    HTTP* is ready with "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.
    === Network ===
    Slowest loop: 0.47ms; fastest: 0.01ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
    HTTP sessions: 0 of 8

    • Ethernet -
      State: disabled
      Error counts: 0 0 0 0 0
      Socket states: 0 0 0 0 0 0 0 0
      === CAN ===
      Messages sent 215, longest wait 0ms for type 0
      === Linux interface ===
      State: 0, failed transfers: 133
      Last transfer: 16ms ago
      RX/TX seq numbers: 19918/19921
      SPI underruns 378, overruns 138
      Number of disconnects: 0
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.1.1
      Code buffer space: 4096
      Configured SPI speed: 8000000 Hz
      Full transfers per second: 33.01
      11/11/2020, 16:24:48 m122
      Error: Operation failed (Reason: A task was canceled.)
      11/11/2020, 16:24:28 Warning: Controller has been reset
      11/11/2020, 16:23:55 m122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode)
      Board ID: 08DJM-956L2-G43S4-6J1F8-3SD6P-9V5QF
      Used output buffers: 1 of 40 (10 max)
      === RTOS ===
      Static ram: 154604
      Dynamic ram: 163620 of which 44 recycled
      Exception stack ram used: 544
      Never used ram: 74404
      Tasks: NETWORK(ready,1972) HEAT(blocked,1188) CanReceiv(suspended,3820) CanSender(suspended,1420) CanClock(blocked,1436) TMC(blocked,68) MAIN(running,2672) IDLE(ready,76)
      Owned mutexes:
      === Platform ===
      Last reset 00:09:32 ago, cause: power up
      Last software reset at 2020-11-11 16:08, reason: User, spinning module LinuxInterface, available RAM 74404 bytes (slot 3)
      Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
      Error status: 0
      MCU temperature: min 24.2, current 30.6, max 30.7
      Supply voltage: min 11.7, current 11.9, max 12.0, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 11.0, current 11.1, max 11.2, under voltage events: 0
      Driver 0: standstill, reads 29922, writes 29 timeouts 0, SG min/max 0/985
      Driver 1: standstill, reads 29923, writes 29 timeouts 0, SG min/max 0/1023
      Driver 2: standstill, reads 29923, writes 29 timeouts 0, SG min/max 0/1023
      Driver 3: standstill, reads 29924, writes 29 timeouts 0, SG min/max 0/1023
      Driver 4: standstill, reads 29924, writes 29 timeouts 0, SG min/max 0/1023
      Driver 5: standstill, reads 29937, writes 17 timeouts 0, SG min/max 0/416
      Date/time: 2020-11-11 16:21:02
      Slowest loop: 5.07ms; fastest: 0.14ms
      === Storage ===
      Free file entries: 10
      SD card 0 not detected, interface speed: 37.5MBytes/sec
      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
      === Move ===
      Hiccups: 0(0), FreeDm: 375, MinFreeDm: 319, MaxWait: 173709ms
      Bed compensation in use: mesh, comp offset 0.000
      === MainDDARing ===
      Scheduled moves: 2490, completed moves: 2490, 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 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP* is ready with "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.
      === Network ===
      Slowest loop: 0.95ms; fastest: 0.01ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
      HTTP sessions: 0 of 8
    • Ethernet -
      State: disabled
      Error counts: 0 0 0 0 0
      Socket states: 0 0 0 0 0 0 0 0
      === CAN ===
      Messages sent 2230, longest wait 0ms for type 0
      === Linux interface ===
      State: 0, failed transfers: 117
      Last transfer: 17ms ago
      RX/TX seq numbers: 18141/18143
      SPI underruns 341, overruns 120
      Number of disconnects: 0
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.1.1
      Code buffer space: 4096
      Configured SPI speed: 8000000 Hz
      Full transfers per second: 30.20
      11/11/2020, 16:23:23 Cancelled printing file 0:/gcodes/2020_CableClip_100.gcode, print time was 0h 5m
      11/11/2020, 16:23:22 Warning: Controller has been reset
      11/11/2020, 16:18:16 M32 "0:/gcodes/2020_CableClip_100.gcode"
      File 0:/gcodes/2020_CableClip_100.gcode selected for printing
      11/11/2020, 16:18:06 Height map loaded from file heightmap.csv
      11/11/2020, 16:18:06 Leadscrew adjustments made: -0.002 -0.004 0.008, points used 3, (mean, deviation) before (-0.000, 0.004) after (0.000, 0.000)
      11/11/2020, 16:18:06 Repeating calibration because deviation is too high 0.017mm
      11/11/2020, 16:18:06 Leadscrew adjustments made: 0.013 0.022 -0.029, points used 3, (mean, deviation) before (0.006, 0.017) after (-0.000, 0.000)
      11/11/2020, 16:18:06 Repeating calibration because deviation is too high 0.022mm
      11/11/2020, 16:18:06 Leadscrew adjustments made: 0.159 0.157 0.219, points used 3, (mean, deviation) before (0.173, 0.022) after (0.000, 0.000)
      11/11/2020, 16:14:58 Connection established

    The first reset was during mid-print, the rest occured within seconds of each other with the printer idle.

    Thanks in advance.


  • administrators

    We've seen this type of problem occasionally with Duet + SBC using the 3.1.1 firmware bundle. There have been major changes to the SBC interface in release 3.2beta3 to address this type of issue. Please try the 3.2beta3.1 release, which we expect to make available tomorrow.



  • Ok thanks for the info.
    Will try when available.


Log in to reply