@gloomyandy Thanks for the quick reply!
I tried running the same gcode file but with the T0 and T1 commands swapped (I used find & replace so no re-slicing). This gave the same issue with T1 losing connection part way through the skirt, but I let the print continue and T0 printed the second object fine.
Full set of M122's before and after below which I just recreated.
I should clarify that I don't get an error message in console that B21 is disconnected, just one saying that it has reconnected. I don't have any events set up, so I think this is expected.
M122 Before:
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-beta.4 (2023-06-08 23:40:14) running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: QUS4M-U096U-D65J0-40KMD-3W03Z-ZK6H6
Used output buffers: 29 of 40 (36 max)
=== RTOS ===
Static ram: 102996
Dynamic ram: 123548 of which 12 recycled
Never used RAM 15500, free system stack 192 words
Tasks: NETWORK(2,nWait,12.5%,215) HEAT(3,nWait,0.0%,358) Move(4,nWait,0.0%,358) CanReceiv(6,nWait,0.1%,662) CanSender(5,nWait,0.0%,337) CanClock(7,delaying,0.0%,351) TMC(4,nWait,0.7%,114) MAIN(1,running,85.4%,704) IDLE(0,ready,0.5%,29) AIN(4,delaying,0.8%,266), total 100.0%
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:00:51 ago, cause: power up
Last software reset at 2023-07-23 11:44, reason: User, Gcodes spinning, available RAM 11980, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00487000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU revision 3, ADC conversions started 51984, completed 51984, timed out 0, errs 0
MCU temperature: min 22.9, current 27.7, max 27.9
Supply voltage: min 24.4, current 24.6, max 24.6, under voltage events: 0, 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
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 14, reads 2700, writes 14, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 14, reads 2700, writes 14, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 2702, writes 12, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 15, reads 2698, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 14, reads 2700, writes 14, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 2023-07-23 12:52:51
Cache data hit count 94435396
Slowest loop: 5.68ms; fastest: 0.16ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 3.3ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, height map offset 0.000, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
=== DDARing 0 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Movement locks held by null, 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
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 0, axes/extruders owned 0x0000000
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 482, received 2002, lost 0, boc 0
Longest wait 3ms for reply type 6053, peak Tx sync delay 6, free buffers 18 (min 17), ts 260/259/0
Tx timeouts 0,0,0,0,0,0
=== Network ===
Slowest loop: 10.32ms; fastest: 0.00ms
Responder states: MQTT(0) HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Interface state: active
Module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
Firmware version 2.1beta4
MAC address f0:08:d1:02:ed:e4
Module reset reason: Power up, Vcc 3.36, flash size 2097152, free heap 39472
WiFi IP address 192.168.1.168
Signal strength -56dBm, channel 1, mode 802.11n, reconnections 0
Clock register 00002001
Socket states: 5 0 0 0 0 0 0 0
M122 B22 (T0) before
M122 B22
Diagnostics for board 22:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-beta.4+ (2023-06-30 15:40:06)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 3984, free system stack 142 words
Tasks: Move(3,nWait,0.0%,135) HEAT(2,nWait,0.2%,79) CanAsync(5,nWait,0.0%,54) CanRecv(3,nWait,0.0%,77) CanClock(5,nWait,0.0%,66) ACCEL(3,nWait,0.0%,53) TMC(2,nWait,3.0%,67) MAIN(1,running,91.9%,324) IDLE(0,ready,0.0%,27) AIN(2,delaying,4.8%,114), total 100.0%
Last reset 00:00:57 ago, cause: power up
Last software reset at 2023-07-21 22:45, reason: StackOverflow, available RAM 3864, slot 2
Software reset code 0x0100 ICSR 0x0000000e SP 0x20007f44 Task HEAT Freestk 3644 bad marker
Stack: 200045f8 2000462c 0001c55b 00000000 43520000 000000ab 0001b701 20003bc4 fffffffd f6bd5ddf 00000000 00000002 00000000 00000002 0001c1af 00000000 200019b4 20001958 20001a80 000226ec 20001958 200019b4 00000032 20001ad4 00005f95 00000001 20001b30
Driver 0: pos 0, 405.0 steps/mm, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 28571, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0
Moves scheduled 0, completed 0, in progress 0, hiccups 0, segs 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 0.00
Peak sync jitter -5/6, peak Rx sync delay 203, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 24.4, current 24.4, max 24.5
MCU temperature: min 27.0C, current 31.5C, max 31.5C
Last sensors broadcast 0x00000002 found 1 204 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 1133, send timeouts 0, received 731, lost 0, free buffers 18, min 18, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
Accelerometer: LIS3DH, status: 00
Inductive sensor: not found
I2C bus errors 0, naks 6, other errors 0
M122 B21 (T1) before:
M122 B21
Diagnostics for board 21:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-beta.4+ (2023-06-30 15:40:06)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 3984, free system stack 142 words
Tasks: Move(3,nWait,0.0%,135) HEAT(2,nWait,0.2%,80) CanAsync(5,nWait,0.0%,54) CanRecv(3,nWait,0.0%,77) CanClock(5,nWait,0.0%,66) ACCEL(3,nWait,0.0%,53) TMC(2,delaying,3.0%,67) MAIN(1,running,91.9%,324) IDLE(0,ready,0.0%,27) AIN(2,delaying,4.8%,114), total 100.0%
Last reset 00:00:59 ago, cause: power up
Last software reset at 2023-07-23 11:48, reason: StackOverflow, available RAM 3768, slot 2
Software reset code 0x0100 ICSR 0x0000000e SP 0x20007f44 Task HEAT Freestk 3644 bad marker
Stack: 200045f8 2000462c 0001c55b 20004810 3f06e4ad 412c0001 0001b701 20003bc4 fffffffd a5a5a5a5 00000000 00000002 00000000 00000002 0001c1af 00000000 200019b4 20001958 20001a80 000226ec 20001958 200019b4 00000032 20001ad4 00005f95 00000001 20001b30
Driver 0: pos 0, 410.0 steps/mm, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 29806, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 0
Moves scheduled 0, completed 0, in progress 0, hiccups 0, segs 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 0.00
Peak sync jitter -4/6, peak Rx sync delay 195, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 24.5, current 24.6, max 24.6
MCU temperature: min 25.5C, current 30.4C, max 30.4C
Last sensors broadcast 0x00000004 found 1 174 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 1183, send timeouts 0, received 764, lost 0, free buffers 18, min 18, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
Accelerometer: LIS3DH, status: 00
Inductive sensor: not found
I2C bus errors 0, naks 6, other errors 0
M122 After
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-beta.4 (2023-06-08 23:40:14) running on Duet 3 Mini5plus WiFi (standalone mode)
Board ID: QUS4M-U096U-D65J0-40KMD-3W03Z-ZK6H6
Used output buffers: 19 of 40 (40 max)
=== RTOS ===
Static ram: 102996
Dynamic ram: 123924 of which 12 recycled
Never used RAM 11956, free system stack 135 words
Tasks: NETWORK(2,nWait,16.0%,205) HEAT(3,nWait,0.0%,352) Move(4,nWait,0.3%,244) CanReceiv(6,nWait,0.1%,662) CanSender(5,nWait,0.0%,337) CanClock(7,delaying,0.0%,351) TMC(4,nWait,0.7%,74) MAIN(1,running,81.6%,698) IDLE(0,ready,0.4%,29) AIN(4,delaying,0.8%,266), total 100.0%
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:10:26 ago, cause: power up
Last software reset at 2023-07-23 11:44, reason: User, Gcodes spinning, available RAM 11980, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00487000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x04
Aux0 errors 0,0,0
MCU revision 3, ADC conversions started 627056, completed 627056, timed out 0, errs 0
MCU temperature: min 27.7, current 32.2, max 35.5
Supply voltage: min 24.4, current 24.6, max 24.6, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/48/48, gc cycles 0
Events: 1 queued, 1 completed
Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 29, reads 30247, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 29, reads 30246, writes 15, timeouts 0, DMA errors 0, CC errors 0
Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 15, reads 30258, writes 3, timeouts 0, DMA errors 0, CC errors 0
Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 30259, writes 3, timeouts 0, DMA errors 0, CC errors 0
Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 19, reads 30257, writes 5, timeouts 0, DMA errors 0, CC errors 0
Driver 5: not present
Driver 6: not present
Date/time: 2023-07-23 13:02:26
Cache data hit count 1060572620
Slowest loop: 1000.45ms; fastest: 0.11ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 22.5MBytes/sec
SD card longest read time 7.9ms, write time 2.1ms, max retries 0
=== Move ===
DMs created 83, segments created 13, maxWait 66135ms, bed compensation in use: mesh, height map offset 0.000, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
=== DDARing 0 ===
Scheduled moves 967, completed 967, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== DDARing 1 ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 0 is on, I-accum = 0.1
=== GCodes ===
Movement locks held by null, 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
File2 is idle in state(s) 0
Queue2 is idle in state(s) 0
Q0 segments left 0, axes/extruders owned 0x0000000
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== CAN ===
Messages queued 5739, received 18656, lost 0, boc 0
Longest wait 5ms for reply type 6024, peak Tx sync delay 199, free buffers 18 (min 17), ts 2875/2875/0
Tx timeouts 0,0,0,0,0,0
=== Network ===
Slowest loop: 214.22ms; fastest: 0.06ms
Responder states: MQTT(0) HTTP(0) HTTP(2) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Interface state: active
Module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
Firmware version 2.1beta4
MAC address f0:08:d1:02:ed:e4
Module reset reason: Power up, Vcc 2.74, flash size 2097152, free heap 37976
WiFi IP address 192.168.1.168
Signal strength -53dBm, channel 1, mode 802.11n, reconnections 0
Clock register 00002001
Socket states: 0 0 0 0 0 0 0 0
M122 B22 (T0) After:
M122 B22
Diagnostics for board 22:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-beta.4+ (2023-06-30 15:40:06)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 3768, free system stack 88 words
Tasks: Move(3,nWait,0.0%,71) HEAT(2,nWait,0.5%,37) CanAsync(5,nWait,0.0%,54) CanRecv(3,nWait,0.0%,75) CanClock(5,nWait,0.0%,66) ACCEL(3,nWait,0.0%,53) TMC(2,delaying,3.0%,57) MAIN(1,running,91.6%,324) IDLE(0,ready,0.0%,27) AIN(2,delaying,4.8%,114), total 100.0%
Last reset 00:10:20 ago, cause: power up
Last software reset at 2023-07-21 22:45, reason: StackOverflow, available RAM 3864, slot 2
Software reset code 0x0100 ICSR 0x0000000e SP 0x20007f44 Task HEAT Freestk 3644 bad marker
Stack: 200045f8 2000462c 0001c55b 00000000 43520000 000000ab 0001b701 20003bc4 fffffffd f6bd5ddf 00000000 00000002 00000000 00000002 0001c1af 00000000 200019b4 20001958 20001a80 000226ec 20001958 200019b4 00000032 20001ad4 00005f95 00000001 20001b30
Driver 0: pos 0, 405.0 steps/mm, standstill, SG min 0, read errors 0, write errors 0, ifcnt 14, reads 19625, writes 2, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 33039
Moves scheduled 319, completed 319, in progress 0, hiccups 8, segs 9, step errors 0, maxPrep 441, maxOverdue 53, maxInc 49, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 1.00
Peak sync jitter -5/7, peak Rx sync delay 216, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 24.1, current 24.5, max 24.5
MCU temperature: min 27.0C, current 37.1C, max 39.9C
Last sensors broadcast 0x00000002 found 1 190 ticks ago, 0 ordering errs, loop time 1
CAN messages queued 11320, send timeouts 0, received 6193, lost 0, free buffers 18, min 18, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 347, adv 35667/74662
Accelerometer: LIS3DH, status: 00
Inductive sensor: not found
I2C bus errors 0, naks 0, other errors 0
M122 B21 (T1) After
M122 B21
Diagnostics for board 21:
Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-beta.4+ (2023-06-30 15:40:06)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 2396, free system stack 88 words
Tasks: Move(3,nWait,0.0%,79) HEAT(2,nWait,0.1%,81) CanAsync(5,nWait,0.0%,54) CanRecv(3,nWait,0.0%,75) CanClock(5,nWait,0.0%,66) ACCEL(3,nWait,0.0%,53) TMC(2,delaying,3.0%,57) MAIN(1,running,92.0%,410) IDLE(0,ready,0.0%,27) AIN(2,delaying,4.8%,114), total 100.0%
Last reset 00:06:05 ago, cause: software
Last software reset at 2023-07-23 12:56, reason: StackOverflow, available RAM 3768, slot 0
Software reset code 0x0100 ICSR 0x0000000e SP 0x20007f44 Task HEAT Freestk 3644 bad marker
Stack: 200045f8 2000462c 0001c55b 00000000 00000002 00000066 0001b701 20003bc4 fffffffd f4a9595a 00000000 00000002 00000000 00000002 0001c1af 00000000 200019b4 20001958 20001a80 000226ec 20001958 200019b4 00000032 20001ad4 00005f95 00000001 20001b30
Driver 0: pos 0, 80.0 steps/mm, standstill, SG min 0, read errors 0, write errors 1, ifcnt 24, reads 51893, writes 10, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 6723
Moves scheduled 83, completed 83, in progress 0, hiccups 2, segs 85, step errors 0, maxPrep 356, maxOverdue 188842993, maxInc 188842993, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 0.97
Peak sync jitter -4/7, peak Rx sync delay 209, resyncs 0/0, no timer interrupt scheduled
VIN voltage: min 24.5, current 24.6, max 24.6
MCU temperature: min 33.1C, current 33.3C, max 38.1C
Last sensors broadcast 0x00000000 found 0 242 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 2954, send timeouts 0, received 2937, lost 1983, free buffers 18, min 0, error reg 0
dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 47454, adv -180786252/188917586
Accelerometer: LIS3DH, status: 00
Inductive sensor: not found
I2C bus errors 0, naks 6, other errors 0