1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1
-
@Exerqtor thanks, so it does look as though it's the 1LC firmware that has introduced this issue. Please can you try upgrading the 1LC firmware to 3.5.0-rc.1 and see whether that fails or not.
-
@dc42 It sure does, I can test it out in a little while
👌
3.5.0-rc3+ on the Mini & 3.5.0-rc1 on the 1LC:
- Extruding normally:
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-rc.3+ (2024-02-27 13:52:47) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: XNHXF-HR6KL-K65J0-409N2-K9W1Z-RV2MZ Used output buffers: 17 of 40 (40 max) === RTOS === Static ram: 103264 Dynamic ram: 125500 of which 12 recycled Never used RAM 9448, free system stack 138 words Tasks: NETWORK(2,nWait 7,14.6%,196) HEAT(3,nWait 6,0.0%,351) Move(4,nWait 6,0.1%,241) CanReceiv(6,nWait 1,0.1%,796) CanSender(5,nWait 7,0.0%,337) CanClock(7,delaying,0.0%,340) TMC(4,nWait 6,0.8%,68) MAIN(1,running,82.6%,667) IDLE(0,ready,1.0%,30) AIN(4,delaying,0.8%,260), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:23:02 ago, cause: software Last software reset at 2024-03-10 13:33, reason: User, Gcodes spinning, available RAM 9172, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x04 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 1383174, completed 1383173, timed out 0, errs 0 MCU temperature: min 38.0, current 44.0, max 44.0 Supply voltage: min 2.6, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/32, heap memory allocated/used/recyclable 2048/1204/756, gc cycles 309 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 30, reads 7189, writes 30, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min 0, read errors 0, write errors 0, ifcnt 30, reads 7189, writes 30, timeouts 0, DMA errors 0, CC errors 0 Driver 2: ok, SG min 0, read errors 0, write errors 0, ifcnt 19, reads 7200, writes 19, timeouts 0, DMA errors 0, CC errors 0 Driver 3: ok, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 7201, writes 18, timeouts 0, DMA errors 0, CC errors 0 Driver 4: ok, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 7201, writes 18, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2024-03-11 17:14:50 Cache data hit count 2316538982 Slowest loop: 299.22ms; fastest: 0.10ms === Storage === Free file entries: 16 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 7.5ms, write time 63.4ms, max retries 0 === Move === DMs created 83, segments created 14, maxWait 1218190ms, bed compensation in use: mesh, height map offset 0.000, max steps late 1, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 next step interrupt due in 117 ticks, enabled Moves shaped first try 9, on retry 0, too short 5, wrong shape 300, maybepossible 2 === DDARing 0 === Scheduled moves 334, completed 328, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 34], CDDA state 3 === 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.4 Heater 1 is on, I-accum = 0.0 === GCodes === Movement locks held by null, null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 X108.466 Y133.806 E.04107" 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 doing "G4 P250" in state(s) 0 0, running macro 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 1, axes/extruders owned 0x0000807 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === Filament sensors === check 0 clear 0 Extruder 0 sensor: no filament === CAN === Messages queued 12780, received 28337, lost 0, errs 1324, boc 0 Longest wait 2ms for reply type 6053, peak Tx sync delay 10816, free buffers 26 (min 25), ts 6914/6912/0 Tx timeouts 0,0,1,0,0,0 last cancelled message type 30 dest 127 === Network === Slowest loop: 14.35ms; fastest: 0.00ms Responder states: MQTT(0) HTTP(0) 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, notrdy 0, noresp 0 Firmware version 2.1beta7 MAC address c4:5b:be:ce:91:93 Module reset reason: Power up, Vcc 3.38, flash size 2097152, free heap 42872 WiFi IP address 192.168.10.x Signal strength -51dBm, channel 6, mode 802.11n, reconnections 0 Clock register 00002001 Socket states: 0 0 0 0 0 0 0 0 M122 B121 Diagnostics for board 121: Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-rc.1 (2023-08-31 16:30:01) Bootloader ID: SAMC21 bootloader version 2.8 (2023-07-25) All averaging filters OK Never used RAM 3384, free system stack 89 words Tasks: Move(3,nWait,0.0%,75) HEAT(2,nWait,0.4%,107) 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%,57) MAIN(1,running,91.5%,316) IDLE(0,ready,0.0%,27) AIN(2,delaying,5.1%,112), total 100.0% Last reset 00:23:07 ago, cause: VDD brownout Last software reset data not available Driver 0: pos 0, 568.8 steps/mm, ok, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 38438, writes 12, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 65509 Moves scheduled 356, completed 355, in progress 1, hiccups 0, segs 13, step errors 0, maxPrep 290, maxOverdue 1, maxInc 1, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 1.00 Peak sync jitter -3/8, peak Rx sync delay 214, resyncs 0/0, no timer interrupt scheduled VIN voltage: min 23.6, current 24.4, max 24.9 MCU temperature: min 46.4C, current 65.2C, max 65.3C Last sensors broadcast 0x00000012 found 2 230 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 28465, send timeouts 0, received 12877, lost 0, free buffers 18, min 18, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 322, adv 35697/74648 Accelerometer: LIS3DH, status: 00 Inductive sensor: not found I2C bus errors 0, naks 6, contentions 0, other errors 0 === Filament sensors === Interrupt 5726621 to 0us, poll 4 to 1437us Driver 0: ok
- Stopped extruding:
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-rc.3+ (2024-02-27 13:52:47) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: XNHXF-HR6KL-K65J0-409N2-K9W1Z-RV2MZ Used output buffers: 14 of 40 (40 max) === RTOS === Static ram: 103264 Dynamic ram: 125500 of which 12 recycled Never used RAM 8872, free system stack 128 words Tasks: NETWORK(1,ready,16.7%,196) HEAT(3,nWait 6,0.0%,326) Move(4,nWait 6,2.3%,240) CanReceiv(6,nWait 1,0.1%,773) CanSender(5,nWait 7,0.0%,328) CanClock(7,delaying,0.0%,340) TMC(4,nWait 6,0.9%,68) MAIN(1,running,77.6%,659) IDLE(0,ready,1.4%,30) AIN(4,delaying,0.9%,260), total 100.0% Owned mutexes: === Platform === Last reset 00:27:12 ago, cause: software Last software reset at 2024-03-10 13:33, reason: User, Gcodes spinning, available RAM 9172, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x04 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 1633084, completed 1633084, timed out 0, errs 0 MCU temperature: min 43.8, current 46.4, max 46.8 Supply voltage: min 23.6, current 24.1, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/32, heap memory allocated/used/recyclable 2048/2040/1592, gc cycles 362 Events: 0 queued, 0 completed Driver 0: ok, SG min 0, read errors 0, write errors 0, ifcnt 30, reads 13146, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min 0, read errors 0, write errors 0, ifcnt 30, reads 13146, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 2: ok, SG min 0, read errors 0, write errors 0, ifcnt 19, reads 13146, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 3: ok, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 13145, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 4: ok, SG min 0, read errors 0, write errors 0, ifcnt 18, reads 13146, writes 0, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2024-03-11 17:19:00 Cache data hit count 2675121857 Slowest loop: 34.84ms; fastest: 0.10ms === Storage === Free file entries: 16 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 7.1ms, write time 6.0ms, max retries 0 === Move === DMs created 83, segments created 38, maxWait 2305ms, bed compensation in use: mesh, height map offset 0.000, max steps late 1, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 next step interrupt due in 272 ticks, enabled Moves shaped first try 253, on retry 49, too short 114, wrong shape 2260, maybepossible 58 === DDARing 0 === Scheduled moves 3593, completed 3554, hiccups 0, stepErrors 0, LaErrors 1, Underruns [0, 0, 0], CDDA state 3 === 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.4 Heater 1 is on, I-accum = 0.0 === GCodes === Movement locks held by null, null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 X188.696 Y188.718 E.0072" 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 doing "G4 P250" in state(s) 0 0, running macro Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 File2 is idle in state(s) 0, sync state 1 Queue2 is idle in state(s) 0 Q0 segments left 0, axes/extruders owned 0x0000807 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === Filament sensors === check 0 clear 0 Extruder 0 sensor: no filament === CAN === Messages queued 5207, received 5155, lost 0, errs 0, boc 0 Longest wait 4ms for reply type 6024, peak Tx sync delay 263, free buffers 26 (min 25), ts 1249/1249/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 20.16ms; fastest: 0.06ms Responder states: MQTT(0) HTTP(0) 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, notrdy 0, noresp 0 Firmware version 2.1beta7 MAC address c4:5b:be:ce:91:93 Module reset reason: Power up, Vcc 3.37, flash size 2097152, free heap 42872 WiFi IP address 192.168.10.x Signal strength -52dBm, channel 6, mode 802.11n, reconnections 0 Clock register 00002001 Socket states: 0 0 0 0 0 0 0 0 M122 B121 Diagnostics for board 121: Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-rc.1 (2023-08-31 16:30:01) Bootloader ID: SAMC21 bootloader version 2.8 (2023-07-25) All averaging filters OK Never used RAM 2832, free system stack 89 words Tasks: Move(3,nWait,0.3%,71) HEAT(2,nWait,0.4%,91) CanAsync(5,nWait,0.0%,54) CanRecv(3,nWait,0.1%,77) CanClock(5,nWait,0.0%,66) ACCEL(3,nWait,0.0%,53) TMC(2,nWait,3.1%,57) MAIN(1,running,90.9%,316) IDLE(0,ready,0.0%,27) AIN(2,delaying,5.2%,112), total 100.0% Last reset 00:27:16 ago, cause: VDD brownout Last software reset data not available Driver 0: pos 0, 568.8 steps/mm, standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 58528, writes 0, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 314498 Moves scheduled 2788, completed 2788, in progress 0, hiccups 2, segs 36, step errors 0, maxPrep 840, maxOverdue 38, maxInc 37, mcErrs 0, gcmErrs 0, ebfmin -0.98 max inf Peak sync jitter -1/9, peak Rx sync delay 212, resyncs 0/0, no timer interrupt scheduled VIN voltage: min 24.2, current 24.4, max 25.0 MCU temperature: min 46.4C, current 65.1C, max 65.4C Last sensors broadcast 0x00000012 found 2 3 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 5135, send timeouts 0, received 5266, lost 0, free buffers 18, min 18, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 351, adv 35831/110862 Accelerometer: LIS3DH, status: 00 Inductive sensor: not found I2C bus errors 0, naks 0, contentions 0, other errors 0 === Filament sensors === Interrupt 5726621 to 0us, poll 9 to 1468us Driver 0: ok
I have also identified WHEN (within a rather small margin) in the job file it stops extruding if that's worth anything?
It completes the extrusion of line 3451, but does not extrude again when it's supposed to in line 3460, here is a snippet of the code
("first" line is 3448, "last" line is 3468)
:G1 X213.815 Y214.442 E.49134 G1 X213.947 Y214.66 E.00721 G1 X213.972 Y214.832 E.00489 G1 X213.89 Y215.025 E.00591 ; <---- Line 3451 M205 X12 Y12 G1 X213.598 Y215.13 F21000 M204 P3000 M205 X7 Y7 ;TYPE:Outer wall ;WIDTH:0.522543 G1 F7200 G1 X213.945 Y215.33 G1 X214.019 Y215.33 E.00282 ; <---- Line 3460 ;WIDTH:0.481695 G1 X214.093 Y215.33 E.00258 ;WIDTH:0.440847 G1 X214.167 Y215.33 E.00234 ;WIDTH:0.399999 G1 X214.24 Y215.374 E.00239 G1 X226.558 Y227.686 E.49124 G1 X226.61 Y227.812 E.00386
-
@Exerqtor thanks! I'll look at what changed in the tool board firmware between beta4 and rc1.
PS - the extrusion amount is very small, 0.00282mm. Is that the first point in the file where it is so small?
-
@dc42 said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
@Exerqtor thanks! I'll look at what changed in the tool board firmware between beta4 and rc1.
Np, lets hope it's rather easy to identify and patch out
😅
PS - the extrusion amount is very small, 0.00282mm. Is that the first point in the file where it is so small?
Uum, i don't think it's the first? If you have a look at the job file I included earlier you can see that it's several of the same-ish size, the same point og the previous layer for instance, here is a snippet of the exact same point from the previous layer (where it completed/didn't stop extruding):
G1 X214.492 Y215.123 E.49127 G1 X214.275 Y214.991 E.00716 G1 X214.104 Y214.966 E.00489 G1 X213.911 Y215.048 E.00589 M205 X12 Y12 G1 X213.598 Y215.132 F210001 ; <---- Line 2631 M204 P3000 M205 X7 Y7 ;TYPE:Outer wall ;WIDTH:0.522148 G1 F7200 G1 X213.945 Y215.332 G1 X214.019 Y215.332 E.00281 ; <---- Line 2640 ;WIDTH:0.481432 G1 X214.093 Y215.332 E.00257 ;WIDTH:0.440716 G1 X214.168 Y215.332 E.00234 ;WIDTH:0.399999 G1 X214.24 Y215.375 E.00239 G1 X226.557 Y227.689 E.49127 G1 X226.61 Y227.815 E.00386
-
@Exerqtor Is that sliced with Bambuslicer, or Orcaslicer? The M205 jerk changes mid-job are odd. Changes in jerk may be upsetting PA or something. I'd definitely try turning that off.
(Sorry, still haven't got my machine running yet!)
Ian
-
@droftarts said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
@Exerqtor Is that sliced with Bambuslicer, or Orcaslicer? The M205 jerk changes mid-job are odd. Changes in jerk may be upsetting PA or something. I'd definitely try turning that off.
@droftarts Yes it's sliced in Orcaslicer, i've got "Emit limits to G-code" un-ticked in the slicer, but it still hammers in M204 & M205 commands. We touched on it in a separate thread earlier, and i opened a issue on their github regarding it, but it haven't gotten any traction.
Anywho i can do a quick "replace "M205" with ";M205" in my text editor just to see how that fairs right away. And run the job another time.
(Sorry, still haven't got my machine running yet!)
Np, must say i'm curious to how it will react though!
-
@Exerqtor said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
@droftarts said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
@Exerqtor Is that sliced with Bambuslicer, or Orcaslicer? The M205 jerk changes mid-job are odd. Changes in jerk may be upsetting PA or something. I'd definitely try turning that off.
@droftarts
Yes it's sliced in Orcaslicer, i've got "Emit limits to G-code" un-ticked in the slicer, but it still hammers in M204 & M205 commands.We touched on it in a separate thread earlier,and i opened a issue on their github regarding it, but it haven't gotten any traction.Anywho i can do a quick "replace "M205" with ";M205" in my text editor just to see how that fairs right away. And run the job another time.
I just tried that, and that just makes it stop extruding at the second part of my purge line. So the M205's ain't the root issue.
Here is a set of reports when it's not extruding with M205 removed:
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-rc.3+ (2024-02-27 13:52:47) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: XNHXF-HR6KL-K65J0-409N2-K9W1Z-RV2MZ Used output buffers: 2 of 40 (40 max) === RTOS === Static ram: 103264 Dynamic ram: 125500 of which 12 recycled Never used RAM 8872, free system stack 128 words Tasks: NETWORK(1,ready,15.5%,182) HEAT(3,nWait 6,0.0%,326) Move(4,nWait 6,0.2%,240) CanReceiv(6,nWait 1,0.1%,773) CanSender(5,nWait 7,0.0%,328) CanClock(7,delaying,0.0%,340) TMC(4,nWait 6,0.8%,68) MAIN(1,running,81.6%,659) IDLE(0,ready,1.0%,30) AIN(4,delaying,0.8%,260), total 100.0% Owned mutexes: === Platform === Last reset 01:47:22 ago, cause: software Last software reset at 2024-03-10 13:33, reason: User, Gcodes spinning, available RAM 9172, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x04 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 6442810, completed 6442810, timed out 0, errs 0 MCU temperature: min 38.0, current 46.2, max 46.6 Supply voltage: min 23.4, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/32, heap memory allocated/used/recyclable 2048/1720/1272, gc cycles 1382 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 50, reads 56501, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min 0, read errors 0, write errors 0, ifcnt 50, reads 56501, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 2: ok, SG min 0, read errors 0, write errors 0, ifcnt 26, reads 56514, writes 7, timeouts 0, DMA errors 0, CC errors 0 Driver 3: ok, SG min 0, read errors 0, write errors 0, ifcnt 26, reads 56514, writes 8, timeouts 0, DMA errors 0, CC errors 0 Driver 4: ok, SG min 0, read errors 0, write errors 0, ifcnt 25, reads 56515, writes 7, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2024-03-11 18:39:09 Cache data hit count 4294967295 Slowest loop: 292.67ms; fastest: 0.10ms === Storage === Free file entries: 16 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 9.6ms, write time 45.2ms, max retries 0 === Move === DMs created 83, segments created 38, maxWait 4329567ms, bed compensation in use: mesh, height map offset 0.000, max steps late 1, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 next step interrupt due in 99 ticks, enabled Moves shaped first try 388, on retry 98, too short 144, wrong shape 3086, maybepossible 73 === DDARing 0 === Scheduled moves 2137, completed 2129, hiccups 0, stepErrors 0, LaErrors 5, Underruns [0, 0, 21], CDDA state 3 === 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.5 Heater 1 is on, I-accum = 0.0 === GCodes === Movement locks held by null, null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 Z.25" 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 doing "G4 P250" in state(s) 0 0, running macro Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 File2 is idle in state(s) 0, sync state 1 Queue2 is idle in state(s) 0 Q0 segments left 1, axes/extruders owned 0x0000807 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === Filament sensors === check 0 clear 0 Extruder 0 sensor: no filament === CAN === Messages queued 47396, received 98649, lost 0, errs 0, boc 0 Longest wait 5ms for reply type 6024, peak Tx sync delay 257, free buffers 26 (min 25), ts 24049/24049/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 207.34ms; fastest: 0.06ms Responder states: MQTT(0) HTTP(0) 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, notrdy 0, noresp 0 Firmware version 2.1beta7 MAC address c4:5b:be:ce:91:93 Module reset reason: Power up, Vcc 3.38, flash size 2097152, free heap 42872 WiFi IP address 192.168.10.x Signal strength -52dBm, channel 6, mode 802.11n, reconnections 0 Clock register 00002001 Socket states: 0 0 0 0 0 0 0 0 M122 B121 Diagnostics for board 121: Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-rc.1 (2023-08-31 16:30:01) Bootloader ID: SAMC21 bootloader version 2.8 (2023-07-25) All averaging filters OK Never used RAM 2832, free system stack 89 words Tasks: Move(3,nWait,0.0%,71) HEAT(2,nWait,0.4%,91) 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%,57) MAIN(1,running,91.5%,316) IDLE(0,ready,0.0%,27) AIN(2,delaying,5.1%,112), total 100.0% Last reset 01:47:24 ago, cause: VDD brownout Last software reset data not available Driver 0: pos 0, 568.8 steps/mm, ok, SG min 0, read errors 0, write errors 0, ifcnt 14, reads 44318, writes 2, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 74258 Moves scheduled 2941, completed 2941, in progress 0, hiccups 4, segs 36, step errors 0, maxPrep 889, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0, ebfmin 0.00 max inf Peak sync jitter -3/9, peak Rx sync delay 215, resyncs 0/0, no timer interrupt scheduled VIN voltage: min 23.7, current 24.4, max 24.9 MCU temperature: min 46.4C, current 58.2C, max 65.6C Last sensors broadcast 0x00000012 found 2 224 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 98607, send timeouts 0, received 47273, lost 0, free buffers 18, min 18, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 328, adv 35585/110985 Accelerometer: LIS3DH, status: 00 Inductive sensor: not found I2C bus errors 0, naks 0, contentions 0, other errors 0 === Filament sensors === Interrupt 5726621 to 0us, poll 6 to 1585us Driver 0: ok
-
@Exerqtor Can you try with the M204 commands commented out as well?
Ian
-
@Exerqtor said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
Moves scheduled 451072, completed 451072, in progress 0, hiccups 6856, segs 42, step errors 0, maxLate 2 maxPrep 759, maxOverdue 7315, maxInc 2784, mcErrs 0, gcmErrs 0, ebfmin -1.00 max inf
I just noticed that in several of the tool board M122 reports after extrusion stops, ebfmax (maximum extrusion brought forwards) shows as infinity. That gives me something to look at.
-
@droftarts said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
@Exerqtor Can you try with the M204 commands commented out as well?
Ian
I can give it a go this evening.
@dc42 said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
@Exerqtor said in 1LC - extruder randomly stopping/reversing - ≤3.5.0-rc1:
Moves scheduled 451072, completed 451072, in progress 0, hiccups 6856, segs 42, step errors 0, maxLate 2 maxPrep 759, maxOverdue 7315, maxInc 2784, mcErrs 0, gcmErrs 0, ebfmin -1.00 max inf
I just noticed that in several of the tool board M122 reports after extrusion stops, ebfmax (maximum extrusion brought forwards) shows as infinity. That gives me something to look at.
Goodie!
-
@Exerqtor please try this TOOL1LC firmware. It should be compatible with the 3.5.0-rc.3+ firmware you have already. I am interested in (1) any debug messages that appear in the DWC console (or alternatively on USB if you don't have DWC connected), and (2) whether extrusion still stops working properly.
-
@dc42 Ok I'll give it a go later today.
I've got log level 3 running so i can post that whole "transcript" from when i run the test.Want me to run M122 reports as well?
-
@Exerqtor I'd like M122 reports if it still stops extruding, or at the end if it no longer stops extruding,
If it no longer stops extruding, there may be small extrusion defects where it would previously have done so. In this build I detect when the infinity occurs, produce debug info to help me determine why, and attempt to recover from it (which is where the defects may occur).
-
@dc42 I'm running the test print now, and it's passed the point where it used to fail earlier (it's throwing debug info, so it looks like you're on to something).
I'm going to let it complete and report back with the things you wanted.
As of writing this reply this is the following debug that's appeared in DWC:
12.3.2024, 16:52:22 Debug from 121: pex xpend=inf effsm=0.01 dsf=inf dbf=4.569 Debug from 121: 0 d=inf t=0.0 Debug from 121: b=inf c=7.5001e+3 a=2.6666e-4 Debug from 121: 1 d=inf t=0.0 Debug from 121: b=inf c=-7.5000e+3 a=-2.6667e-4 12.3.2024, 16:50:07 Debug from 121: pex xpend=inf effsm=0.01 dsf=inf dbf=133.702 Debug from 121: 0 d=inf t=0.0 Debug from 121: b=inf c=3.7500e+3 a=5.3333e-4 Debug from 121: 1 d=inf t=0.0 Debug from 121: b=inf c=-3.7501e+3 a=-5.3332e-4 12.3.2024, 16:49:46 Debug from 121: pex xpend=inf effsm=0.01 dsf=inf dbf=154.050 Debug from 121: 0 d=inf t=0.0 Debug from 121: b=inf c=3.7500e+3 a=5.3333e-4 Debug from 121: 1 d=inf t=0.0 Debug from 121: b=inf c=-3.7501e+3 a=-5.3332e-4 12.3.2024, 16:49:24 Debug from 121: pex xpend=inf effsm=0.01 dsf=inf dbf=77.951 Debug from 121: 0 d=inf t=0.0 Debug from 121: b=inf c=3.7500e+3 a=5.3333e-4 Debug from 121: 1 d=inf t=0.0 Debug from 121: b=inf c=-3.7496e+3 a=-5.3339e-4 12.3.2024, 16:49:03 Debug from 121: pex xpend=inf effsm=0.01 dsf=inf dbf=89.540 Debug from 121: 0 d=inf t=0.0 Debug from 121: b=inf c=3.7500e+3 a=5.3333e-4 Debug from 121: 1 d=inf t=0.0 Debug from 121: b=inf c=-3.7499e+3 a=-5.3334e-4
-
@Exerqtor thanks, the fact that it recovers now tells me that the infinity was responsible for the failing extrusion, and the debug tells me which of two places the infinity is generated in. You can stop the print if you wish.
-
@Exerqtor if I produce another tool board firmware in the next 30 mins or so, will you be able to test it?
-
Well that fun didn't last long, all of a sudden i got a error in DWC that boar 121 had reconnected. Extrusion stopped at that point, and the tool heater reads offline & 2000.0C.
I grabbed M122 reports once i saw what had happened, then paused and canceled the print.
Here is the reports:M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-rc.3+ (2024-02-27 13:52:47) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: XNHXF-HR6KL-K65J0-409N2-K9W1Z-RV2MZ Used output buffers: 1 of 40 (40 max) === RTOS === Static ram: 103264 Dynamic ram: 128780 of which 24 recycled Never used RAM 2724, free system stack 135 words Tasks: NETWORK(1,ready,15.9%,196) HEAT(3,nWait 6,0.0%,336) Move(4,nWait 6,0.5%,238) CanReceiv(6,nWait 1,0.1%,543) CanSender(5,nWait 7,0.0%,328) CanClock(7,delaying,0.0%,340) TMC(4,nWait 6,0.8%,68) MAIN(1,running,80.8%,596) IDLE(0,ready,1.1%,30) AIN(4,delaying,0.8%,260), total 100.0% Owned mutexes: === Platform === Last reset 01:06:39 ago, cause: software Last software reset at 2024-03-12 15:49, reason: User, Gcodes spinning, available RAM 8824, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x04 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 4000082, completed 4000081, timed out 0, errs 0 MCU temperature: min 35.7, current 46.0, max 46.8 Supply voltage: min 2.8, current 24.0, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 198/33, heap memory allocated/used/recyclable 4096/2560/2100, gc cycles 788 Events: 1 queued, 1 completed Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 33, reads 13838, writes 33, timeouts 0, DMA errors 0, CC errors 0 Driver 1: ok, SG min 0, read errors 0, write errors 0, ifcnt 33, reads 13838, writes 33, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 21, reads 13850, writes 21, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 20, reads 13851, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 20, reads 13851, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2024-03-12 16:56:32 Cache data hit count 4294967295 Slowest loop: 217.34ms; fastest: 0.09ms === Storage === Free file entries: 16 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 10.0ms, write time 60.0ms, max retries 0 === Move === DMs created 83, segments created 38, maxWait 3169000ms, bed compensation in use: mesh, height map offset 0.000, max steps late 1, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 next step interrupt due in 48 ticks, enabled Moves shaped first try 1751, on retry 490, too short 531, wrong shape 8784, maybepossible 304 === DDARing 0 === Scheduled moves 15147, completed 15107, hiccups 0, stepErrors 0, LaErrors 23, Underruns [0, 0, 1], CDDA state 3 === 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.4 === GCodes === Movement locks held by null, null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is doing "G1 X183.425 Y192.988 E.00782" 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 doing "G4 P250" in state(s) 0 0, running macro Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 File2 is idle in state(s) 0, sync state 1 Queue2 is idle in state(s) 0 Q0 segments left 1, axes/extruders owned 0x0000807 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === Filament sensors === check 0 clear 0 Extruder 0 sensor: no filament === CAN === Messages queued 49079, received 81477, lost 0, errs 1563, boc 0 Longest wait 3ms for reply type 6013, peak Tx sync delay 25557, free buffers 26 (min 25), ts 19999/19997/0 Tx timeouts 0,0,1,0,0,0 last cancelled message type 30 dest 127 === Network === Slowest loop: 204.80ms; fastest: 0.00ms Responder states: MQTT(0) HTTP(0) 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, notrdy 0, noresp 0 Firmware version 2.1beta7 MAC address c4:5b:be:ce:91:93 Module reset reason: Power up, Vcc 3.38, flash size 2097152, free heap 42896 WiFi IP address 192.168.10.x Signal strength -52dBm, channel 6, mode 802.11n, reconnections 0 Clock register 00002001 Socket states: 0 0 0 0 0 0 0 0 M122 B121 Diagnostics for board 121: Duet TOOL1LC rev 1.1 or later firmware version 3.5.0-rc.3+db (2024-03-12 08:07:55) Bootloader ID: SAMC21 bootloader version 2.8 (2023-07-25) All averaging filters OK Never used RAM 3948, free system stack 69 words Tasks: Move(3,nWait 7,0.5%,5) HEAT(2,nWait 6,0.1%,131) CanAsync(5,nWait 4,0.0%,55) CanRecv(3,nWait 1,0.2%,71) CanClock(5,nWait 1,0.0%,59) ACCEL(3,nWait 6,0.0%,53) TMC(2,delaying,3.6%,53) MAIN(1,running,91.1%,419) IDLE(0,ready,0.0%,27) AIN(2,delaying,4.6%,112), total 100.0% Owned mutexes: Last reset 00:01:08 ago, cause: software Last software reset at 2024-03-12 16:55, reason: StackOverflow, available RAM 2968, slot 0 Software reset code 0x0100 ICSR 0x0042600e SP 0x20007f34 Task Move Freestk 3342 ok Stack: 20004a80 20004ab4 0001cf33 20004c98 20004938 00000000 0001c011 20003320 fffffffd a5a5a5a5 00000000 20007f8c 00000000 20007f8c 0001cc97 00000000 200017c4 20001748 0001c4d7 20001748 200017c4 00000032 454c4449 00022700 0001ac77 200018e0 200018e0 Driver 0: pos 0, 80.0 steps/mm, standstill, SG min 0, read errors 0, write errors 1, ifcnt 23, reads 33962, writes 9, timeouts 0, DMA errors 0, CC errors 0, steps req 0 done 98869 Moves scheduled 1525, completed 1525, in progress 0, hiccups 52, segs 20, step errors 0, maxLate 0 maxPrep 2886, maxOverdue 1344316502, maxInc 1344316502, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 1.00 Peak sync jitter -1/8, peak Rx sync delay 219, resyncs 0/0, no timer interrupt scheduled VIN voltage: min 24.5, current 24.6, max 24.8 MCU temperature: min 67.2C, current 67.2C, max 69.5C Last sensors broadcast 0x00000000 found 0 103 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 587, send timeouts 0, received 2159, lost 0, errs 0, boc 0, free buffers 18, min 18, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 347, adv -1344256972/74642 Accelerometer: LIS3DH, status: 00 I2C bus errors 0, naks 3, contentions 0, other errors 0
And i'll upload the entire debug log from the point where i started the print from DWC until i canceled it "here". It's INSANELY much getting printed all of a sudden for some reason, so i'll switch to log level 1 instead. It's not added this much to the log before!
-
@Exerqtor no need to upload the debug log, I have everything I need from the previous report. I'll provide another binary for you to run shortly. I'll also take a look at that M122 report.
-
@dc42 Oh sorry I didn't see your replies since I was sifting through the debug log lol.
But I won't be able to test anything more today since i'm off to a meeting now, and will be away for the rest of the evening.
So do it whenever you have time and i'll test it tomorrow!
-
@Exerqtor I reproduced the issue on the bench and fixed it. Please try this tool board firmware.