I just upgraded the printer to a RPI5 with a clean install...still the same error
@jay_s_uk said in [3.6.0-rc.2] Code 3 move error:
@MaxGyver can you also, just for completeness, provide the M122 output from your connected toolboard etc?
Sure, here are the diagnostics of all boards including the mainboard:
M122 B0
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.6.0-rc.2 (2025-03-31 12:17:13) running on Duet 3 MB6HC v1.01 (SBC mode)
Board ID: 0JD2M-999AL-D25S4-7J1D2-3SJ6K-T51V3
Used output buffers: 1 of 40 (18 max)
=== RTOS ===
Static ram: 137420
Dynamic ram: 98632 of which 0 recycled
Never used RAM 106540, free system stack 132 words
Tasks: LASER(5,nWait 7,0.0%,167) SBC(2,nWait 7,0.9%,825) HEAT(3,nWait 6,0.0%,367) TMC(4,nWait 6,3.1%,375) CanReceiv(6,nWait 1,0.1%,782) CanSender(5,nWait 7,0.0%,329) CanClock(7,delaying,0.0%,350) MAIN(1,running,95.6%,500) IDLE(0,ready,0.4%,29) USBD(3,blocked,0.0%,149), total 100.0%
Owned mutexes: HTTP(MAIN)
=== Platform ===
Last reset 00:18:15 ago, cause: software
Last software reset at 2025-04-01 16:42, reason: User, Gcodes spinning, available RAM 96348, slot 2
Software reset code 0x6003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
=== Storage ===
Free file entries: 20
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 ===
Segments created 61, maxWait 260198ms, bed comp in use: mesh, height map offset 0.000, hiccups added 0/0 (0.00/12.06ms), max steps late 0, ebfmin 0.00, ebfmax 0.00
Pos req/act/dcf: 74103.00/69052/0.53 48913.00/48970/-0.49 902.00/900/0.64
No step interrupt scheduled
Driver 0: standstill, SG min n/a, mspos 8, reads 28346, writes 11 timeouts 0
Driver 1: standstill, SG min n/a, mspos 8, reads 28346, writes 11 timeouts 0
Driver 2: standstill, SG min n/a, mspos 8, reads 28346, writes 11 timeouts 0
Driver 3: standstill, SG min n/a, mspos 8, reads 28346, writes 11 timeouts 0
Driver 4: standstill, SG min n/a, mspos 8, reads 28346, writes 11 timeouts 0
Driver 5: standstill, SG min n/a, mspos 8, reads 28346, writes 11 timeouts 0
Phase step loop runtime (us): min=0, max=30, frequency (Hz): min=1102, max=9868
=== DDARing 0 ===
Scheduled moves 181, completed 176, LaErrors 0, Underruns [0, 0, 0]
Segments left 1, axes/extruders owned 0x80000007, drives owned 0x80000007
Code queue is empty
=== DDARing 1 ===
Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
Segments left 0, axes/extruders owned 0x00000000, drives owned 0x00000000
Code queue is empty
=== Heat ===
Bed heaters -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1 -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Movement locks held by null, null
HTTP* is doing "M122 B0" in state(s) 0
Telnet is idle in state(s) 0
File* is idle in state(s) 3
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
=== Filament sensors ===
Driver 31: no filament
=== CAN ===
Messages queued 5971, received 71111, lost 0, ignored 0, errs 0, boc 0
Longest wait 9ms for reply type 6024, peak Tx sync delay 372, free buffers 50 (min 46), ts 5193/5192/0
Tx timeouts 0,0,0,0,0,0
=== SBC interface ===
Transfer state: 5, failed transfers: 0, checksum errors: 0
RX/TX seq numbers: 42674/42674
SPI underruns 0, overruns 0
State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x27a7c
Buffer RX/TX: 776/2296-0, open files: 0
=== Duet Control Server ===
Duet Control Server version 3.6.0-rc.2 (2025-03-31 10:53:52, 64-bit)
HTTP+Executed:
> Executing M122
File 0:/gcodes/LARGE SOFIA LAMPSHADE.gcode is selected, processing
File:
Buffered code: G1 X559.936 Y489.031 E95.74515
Buffered code: G1 X562.242 Y489.426 E97.48178
Buffered code: G1 X564.283 Y490.57 E99.21853
Buffered code: G1 X565.909 Y492.472 E101.07594
Buffered code: G1 X626.069 Y596.422 E190.22657
Buffered code: G1 X626.881 Y598.616 E191.96309
Buffered code: G1 X626.911 Y600.956 E193.70017
Buffered code: G1 X626.077 Y603.314 E195.55672
Buffered code: G1 X566.134 Y707.39 E284.70781
Buffered code: G1 X564.639 Y709.19 E286.44466
Buffered code: G1 X562.628 Y710.386 E288.18143
Buffered code: G1 X560.168 Y710.843 E290.03869
Buffered code: G1 X440.064 Y710.969 E379.18981
Buffered code: G1 X437.758 Y710.574 E380.92644
Buffered code: G1 X435.717 Y709.43 E382.66319
Buffered code: G1 X434.091 Y707.528 E384.5206
Buffered code: G1 X373.931 Y603.578 E473.67123
Buffered code: G1 X373.119 Y601.384 E475.40775
Buffered code: G1 X373.089 Y599.044 E477.14483
Buffered code: G1 X373.923 Y596.686 E479.00138
Buffered code: G1 X433.866 Y492.61 E568.15247
Buffered code: G1 X435.074 Y491.156 E569.55563
Buffered code: G1 E566.55563 F6000
Buffered code: G92 E0
Buffered code: G1 Z2 F18000
Buffered code: G92 E0
Buffered code: G1 X488.207 Y581.793
Buffered code: G1 Z1
Buffered code: G1 E3 F6000
Buffered code: G1 F3360.595
Buffered codes: 1344 bytes total
Code buffer space: 1800
Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0
Full transfers per second: 39.19, max time between full transfers: 40.8ms, max pin wait times: 38.7ms/0.5ms
Codes per second: 0.21
Maximum length of RX/TX data transfers: 5240/1072
M122 B1
Diagnostics for board 1:
Duet EXP3HC rev 1.01 or earlier firmware version 3.6.0-rc.2 (2025-03-31 12:21:29)
Bootloader ID: not available
All averaging filters OK
Never used RAM 168744, free system stack 182 words
Tasks: Move(3,nWait 7,0.0%,134) TMC(2,nWait 6,7.3%,95) HEAT(2,nWait 6,0.1%,110) CanAsync(5,nWait 4,0.0%,66) CanRecv(3,nWait 1,0.0%,73) CanClock(5,nWait 1,0.0%,63) MAIN(1,running,91.5%,295) IDLE(0,ready,0.0%,39) AIN(2,delaying,1.1%,261), total 100.0%
Owned mutexes:
Last reset 00:12:31 ago, cause: software
Last software reset at 2023-05-24 22:19, reason: StackOverflow, available RAM 158036, slot 1
Software reset code 0x0100 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0048180e BFAR 0xe000ed38 SP 0x2002ffbc Task HEAT Freestk 44648 ok
Stack: 200045c0 200045f4 00026599 00000000 20003c94 000000fa 00025c45 200047cc 20003c94 00000000 00f00000 e000e000 c0000000 00000006 00025d81 00025b00 21000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
Moves scheduled 5, hiccups 0 (0.00/12.06ms), segs 18, step errors 0 (types 0x0), maxLate 0 maxPrep 53, ebfmin 0.00 max 0.00
Peak sync jitter -7/5, peak Rx sync delay 212, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 4167254009 ticks, disabled
VIN voltage: min 22.7, current 24.0, max 24.0
V12 voltage: min 12.3, current 12.3, max 12.3
MCU temperature: min 28.1C, current 30.4C, max 30.8C
Driver 0: pos 10497, 490.0 steps/mm, standstill, SG min 0, mspos 1016, reads 21243, writes 19 timeouts 0
Driver 1: pos 0, 80.0 steps/mm, standstill, SG min n/a, mspos 8, reads 21251, writes 11 timeouts 0
Driver 2: pos 0, 80.0 steps/mm, standstill, SG min n/a, mspos 8, reads 21252, writes 11 timeouts 0
Last sensors broadcast 0x00000007 found 3 27 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 15645, send timeouts 0, received 6770, lost 0, ignored 0, errs 0, boc 0, free buffers 38, min 38, error reg 0
dup 0, oos 0/0/0/0, rxMotionDelay 293, adv 35729/37075
=== Filament sensors ===
Interrupt 5726621 to 0us, poll 1 to 254us
Driver 0: ok
M122 B2
Diagnostics for board 2:
Duet EXP3HC rev 1.01 or earlier firmware version 3.6.0-rc.2 (2025-03-31 12:21:29)
Bootloader ID: not available
All averaging filters OK
Never used RAM 169692, free system stack 202 words
Tasks: Move(3,nWait 7,0.0%,176) TMC(2,nWait 6,7.1%,95) HEAT(2,nWait 6,0.1%,117) CanAsync(5,nWait 4,0.0%,70) CanRecv(3,nWait 1,0.0%,73) CanClock(5,nWait 1,0.0%,63) MAIN(1,running,91.7%,321) IDLE(0,ready,0.0%,39) AIN(2,delaying,1.1%,261), total 100.0%
Owned mutexes:
Last reset 00:15:46 ago, cause: software
Last software reset data not available
Moves scheduled 0, hiccups 0 (0.00/12.06ms), segs 0, step errors 0 (types 0x0), maxLate 0 maxPrep 0, ebfmin 0.00 max 0.00
Peak sync jitter -6/5, peak Rx sync delay 213, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 3584711043 ticks, disabled
VIN voltage: min 23.8, current 23.9, max 23.9
V12 voltage: min 12.2, current 12.2, max 12.2
MCU temperature: min 29.9C, current 30.4C, max 30.6C
Driver 0: pos 0, 80.0 steps/mm, standstill, SG min n/a, mspos 8, reads 59275, writes 11 timeouts 0
Driver 1: pos 0, 80.0 steps/mm, standstill, SG min n/a, mspos 8, reads 59275, writes 11 timeouts 0
Driver 2: pos 0, 80.0 steps/mm, standstill, SG min n/a, mspos 8, reads 59276, writes 11 timeouts 0
Last sensors broadcast 0x00000038 found 3 11 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 18822, send timeouts 0, received 8247, lost 0, ignored 0, errs 0, boc 0, free buffers 38, min 38, error reg 0
dup 0, oos 0/0/0/0, rxMotionDelay 0
M122 B123
Diagnostics for board 123:
Duet EXP1XD firmware version 3.6.0-rc.2 (2025-03-31 12:21:12)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 9016, free system stack 75 words
Tasks: Move(3,nWait 7,0.0%,92) HEAT(2,nWait 6,0.1%,124) CanAsync(5,nWait 4,0.0%,58) CanRecv(3,nWait 1,0.0%,70) CanClock(5,nWait 1,0.0%,58) MAIN(1,running,64.9%,420) IDLE(0,ready,0.0%,40) AIN(2,nWait 2,34.9%,112), total 100.0%
Owned mutexes:
Last reset 00:14:27 ago, cause: software
Last software reset at 2024-10-09 17:58, reason: OutOfMemory, available RAM 8, slot 0
Software reset code 0x01c0 ICSR 0x00000000 SP 0x20004c98 Task Move Freestk 96 ok
Stack: 20004ef8 00005a4b 00000000 36532722 00029e30 0000797b 00000000 000064ad 20007160 00000000 2fd75a5f b9b6dd11 fffffffd 00000496 b9b6ddaa 20004fe8 2000193f 20004d74 00029e30 20004a4c 20004990 bfa4c566 20004fe8 00000784 36532e2f 00006ab7 bf2a04ab
Moves scheduled 29, hiccups 5 (0.25/12.06ms), segs 22, step errors 0 (types 0x0), maxLate 0 maxPrep 1245, ebfmin 0.00 max 0.00
Peak sync jitter 2/7, peak Rx sync delay 256, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 4080735155 ticks, disabled
VIN voltage: min 23.7, current 23.8, max 23.9
MCU temperature: min 27.0C, current 27.2C, max 38.3C
Driver 0: pos -4185, 100.0 steps/mm
Last sensors broadcast 0x00000000 found 0 85 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 6966, send timeouts 0, received 10909, lost 0, ignored 0, errs 0, boc 0, free buffers 18, min 18, error reg 0
dup 0, oos 0/0/0/0, rxMotionDelay 337, adv 34992/37159
M122 B124
Diagnostics for board 124:
Duet EXP1XD firmware version 3.6.0-rc.2 (2025-03-31 12:21:12)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 9040, free system stack 75 words
Tasks: Move(3,nWait 7,0.0%,90) HEAT(2,nWait 6,0.1%,124) CanAsync(5,nWait 4,0.0%,58) CanRecv(3,nWait 1,0.0%,70) CanClock(5,nWait 1,0.0%,58) MAIN(1,running,64.8%,420) IDLE(0,ready,0.0%,40) AIN(2,nWait 2,35.1%,112), total 100.0%
Owned mutexes:
Last reset 00:14:47 ago, cause: software
Last software reset at 2024-10-09 17:58, reason: OutOfMemory, available RAM 8, slot 0
Software reset code 0x01c0 ICSR 0x00426000 SP 0x20004c98 Task Move Freestk 96 ok
Stack: 20004ef8 00005a4b 00000000 365335b3 00029e30 0000797b 00000000 000064ad 20006c08 80000000 b021828c 3a08fff3 20004990 20006d28 365335b3 20006d28 00eedf29 20004d74 00029e30 20004a4c 20004990 3ff72819 20006d28 00000786 36533cc0 00006ab7 3f7f27c5
Moves scheduled 49, hiccups 167 (8.24/12.06ms), segs 21, step errors 0 (types 0x0), maxLate 0 maxPrep 1592, ebfmin 0.00 max 0.00
Peak sync jitter 1/6, peak Rx sync delay 265, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 4065336518 ticks, disabled
VIN voltage: min 23.7, current 23.8, max 23.8
MCU temperature: min 26.7C, current 26.9C, max 37.9C
Driver 0: pos 6441, 193.1 steps/mm
Last sensors broadcast 0x00000000 found 0 169 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 7130, send timeouts 0, received 11191, lost 0, ignored 0, errs 0, boc 0, free buffers 18, min 18, error reg 0
dup 0, oos 0/0/0/0, rxMotionDelay 471, adv 35006/37151
M122 B125
Diagnostics for board 125:
Duet EXP1XD firmware version 3.6.0-rc.2 (2025-03-31 12:21:12)
Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)
All averaging filters OK
Never used RAM 9064, free system stack 75 words
Tasks: Move(3,nWait 7,0.0%,92) HEAT(2,nWait 6,0.1%,124) CanAsync(5,nWait 4,0.0%,58) CanRecv(3,nWait 1,0.0%,70) CanClock(5,nWait 1,0.0%,58) MAIN(1,running,64.2%,424) IDLE(0,ready,0.0%,40) AIN(2,nWait 2,35.6%,112), total 100.0%
Owned mutexes:
Last reset 00:15:11 ago, cause: software
Last software reset data not available
Moves scheduled 179, hiccups 71 (3.58/12.06ms), segs 20, step errors 1 (types 0x8), maxLate 0 maxPrep 1241, ebfmin 0.00 max 0.00
Peak sync jitter 1/6, peak Rx sync delay 255, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 4046779478 ticks, disabled
VIN voltage: min 24.0, current 24.1, max 24.2
MCU temperature: min 26.3C, current 26.7C, max 36.9C
Driver 0: pos -99650, 800.0 steps/mm
Last sensors broadcast 0x00000000 found 0 24 ticks ago, 0 ordering errs, loop time 0
CAN messages queued 7318, send timeouts 0, received 11690, lost 0, ignored 0, errs 0, boc 0, free buffers 18, min 17, error reg 0
dup 0, oos 0/0/0/0, rxMotionDelay 324, adv 35305/37173