@T3P3Tony Yes. I have since disassembled the printer and reassembled it. The crashing seems to be resolved. Mind you, I could go several months without a problem.
The board just seems to be acting strange. Either the board or the firmware.
@T3P3Tony Yes. I have since disassembled the printer and reassembled it. The crashing seems to be resolved. Mind you, I could go several months without a problem.
The board just seems to be acting strange. Either the board or the firmware.
I am also having a similar issue. I am on 3.5.0 b4. Uploading files is hit or miss. DWC will disconnect and refresh. If I keep retrying it will eventually work. The larger the file, the more I need to retry. It was fine when I was on 3.4.5. I upgraded firmware to address other issues.
Running 3.5.0 rc2 causes layer shifts when using input shaping so upgrading is not an option
@gloomyandy I have no additional boards connected to the 6HC and nothing plugged into the RJ11 connector. Here are two pictures of the board:
I am having strange disconnects as well when uploading files. I spoke with another person on the Railcore Discord server and they are having the same issue. They said, and I quote, "When uploading g code files to my duet3 connection is lost. The larger the file the larger the chance that connection is lost during upload. Using a wired connection directly to the duet."
I am doing the same thing. I had a keystone hack mounted on an external panel. I bypassed that and plugged straight in and it still had the issue.
@dc42 I do not have a PanelDue connected. Also, I don't have any second boards connected. I downgraded to 3.5.0-beta.4 which seemed to resolve the layer shifts, but the errors and connection issues persist. If I keep retrying it eventually goes through. The larger the file the more I have to retry.
This is the log after a reset, boot up and then home all:
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-beta.4 (2023-06-08 23:41:30) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 1 of 40 (28 max)
=== RTOS ===
Static ram: 155012
Dynamic ram: 121864 of which 120 recycled
Never used RAM 65756, free system stack 117 words
Tasks: NETWORK(1,ready,38.1%,182) ETHERNET(5,nWait,0.1%,317) HEAT(3,nWait,0.0%,325) Move(4,nWait,0.0%,251) CanReceiv(6,nWait,0.0%,941) CanSender(5,nWait,0.0%,335) CanClock(7,delaying,0.0%,343) TMC(4,nWait,8.5%,59) MAIN(1,running,53.2%,137) IDLE(0,ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:18:27 ago, cause: power up
Last software reset at 2024-01-04 23:56, reason: User, Gcodes spinning, available RAM 96264, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
MCU temperature: min 21.1, current 30.5, max 31.5
Supply voltage: min 23.8, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
Heap OK, handles allocated/used 99/6, heap memory allocated/used/recyclable 2048/372/268, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, mspos 328, reads 14665, writes 21 timeouts 0
Driver 1: standstill, SG min 0, mspos 200, reads 14665, writes 21 timeouts 0
Driver 2: standstill, SG min 0, mspos 120, reads 14665, writes 21 timeouts 0
Driver 3: standstill, SG min 0, mspos 168, reads 14665, writes 21 timeouts 0
Driver 4: standstill, SG min 0, mspos 744, reads 14665, writes 21 timeouts 0
Driver 5: standstill, SG min n/a, mspos 8, reads 14671, writes 16 timeouts 0
Date/time: 2024-01-09 22:46:22
Slowest loop: 42.83ms; fastest: 0.08ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 2.4ms, write time 18.5ms, max retries 0
=== Move ===
DMs created 125, segments created 16, maxWait 728978ms, bed compensation in use: none, height map offset 0.000, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
=== DDARing 0 ===
Scheduled moves 50, completed 50, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
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 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 0x80000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
Extruder 0: no data received
=== CAN ===
Messages queued 9968, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 5539/0/0
Tx timeouts 0,0,5538,0,0,4428 last cancelled message type 4514 dest 127
=== Network ===
Slowest loop: 1589.55ms; fastest: 0.03ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 2 of 8
= Ethernet =
Interface state: active
Error counts: 0 0 0 1 0 0
Socket states: 5 5 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
Sorry to resurrect this. was there every a resolution to this problem? I am running into similar issues. I am also showing tons of errors on CAN. Here is the diagnostic after a skip log:
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.2 (2023-12-14 10:32:22) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 3 of 40 (40 max)
=== RTOS ===
Static ram: 154844
Dynamic ram: 121700 of which 104 recycled
Never used RAM 65432, free system stack 129 words
Tasks: NETWORK(1,ready,37.6%,145) ETHERNET(5,nWait,0.1%,317) HEAT(3,nWait,0.0%,307) Move(4,nWait,1.2%,217) CanReceiv(6,nWait,0.0%,942) CanSender(5,nWait,0.0%,334) CanClock(7,delaying,0.0%,342) TMC(4,nWait,8.7%,59) MAIN(1,running,52.3%,103) IDLE(0,ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:57:30 ago, cause: software
Last software reset at 2024-01-04 23:56, reason: User, Gcodes spinning, available RAM 96264, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x04
MCU temperature: min 31.1, current 32.5, max 32.7
Supply voltage: min 23.7, current 23.7, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/544/396, gc cycles 0
Events: 1 queued, 1 completed
Driver 0: ok, SG min 0, mspos 897, reads 63179, writes 4 timeouts 0
Driver 1: ok, SG min 0, mspos 280, reads 63180, writes 4 timeouts 0
Driver 2: ok, SG min 0, mspos 280, reads 63179, writes 4 timeouts 0
Driver 3: ok, SG min 0, mspos 232, reads 63179, writes 4 timeouts 0
Driver 4: ok, SG min 0, mspos 472, reads 63179, writes 4 timeouts 0
Driver 5: phase A may be disconnected, SG min 0, mspos 361, reads 63180, writes 3 timeouts 0
Date/time: 2024-01-05 00:55:37
Slowest loop: 206.82ms; fastest: 0.05ms
=== Storage ===
Free file entries: 18
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 3.1ms, write time 1.1ms, max retries 0
=== Move ===
DMs created 125, segments created 44, maxWait 132190ms, bed compensation in use: mesh, height map offset -0.034, max steps late 1, ebfmin -1.00, ebfmax 1.00
next step interrupt due in 84 ticks, disabled
Moves shaped first try 986, on retry 262, too short 1372, wrong shape 2444, maybepossible 169
=== DDARing 0 ===
Scheduled moves 7741, completed 7701, hiccups 0, stepErrors 0, LaErrors 0, 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
Heater 1 is on, I-accum = 0.3
Heater 2 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 F6000 X98.532 Y184.403 E1.64932" 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 1, axes/extruders owned 0x80000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
check 3911776 clear 15534836
Extruder 0: no data received, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
=== CAN ===
Messages queued 4954, received 0, lost 0, errs 2619108, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 2752/0/0
Tx timeouts 0,0,2752,0,0,2202 last cancelled message type 4514 dest 127
=== Network ===
Slowest loop: 142.85ms; fastest: 0.03ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8
= Ethernet =
Interface state: active
Error counts: 0 0 0 0 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
I am also having issues uploading files. I switched SD cards and the problem persists. Sometimes they will upload but I have to keep retrying and eventually it uploads. I can still ping the IP when it disconnects.
I don't know if my board is on the way out or what. It has been nothing but problems over the last 2 months. I recently disassembled the entire printer and reconnected everything. My random crashes have stopped (for now) but these other issues are getting worse.
Here is my config:
;Initialize variables
if !exists(global.materialtype)
global materialtype = ""
if !exists(global.materialprint)
global materialprint = ""
if !exists(global.materialstandby)
global materialstandby = ""
if !exists(global.materialbed)
global materialbed = ""
if !exists(global.machineheater)
global machineheater = 0
if !exists(global.inFilamentError)
global inFilamentError = false
;General Setup - RailCore RRF Duet3
M552 P0.0.0.0 S1
G21 ;Work in millimetres
G90 ;Send absolute coordinates...
M83 ;...but relative extruder moves
; Stepper configuration
M569 P1 S1 D3 ;Drive 0 X / Rear
M569 P0 S0 D3 ;Drive 1 Y / Front
;M569 P0 S0 D3 ;Drive 0 X / Rear
;M569 P1 S1 D3 ;Drive 1 Y / Front
M569 P2 S1 D3 ;Drive 2 Z Front Left
M569 P3 S1 D3 ;Drive 3 Z Rear Left
M569 P4 S1 D3 ;Drive 4 Z Right
M569 P5 S1 D3 ;Drive 5 Extruder
;Axis configuration
M669 K1 ;CoreXY mode
M584 X0 Y1 Z2:3:4 E5 ;Map X to drive 0 Y to drive 1, Z to drives 2, 3, 4, and E to drive 5
;Leadscrew locations
M671 X-13.6:-13.3:340 Y22:278:149 S7.5
M350 X16 Y16 Z16 E16 I1 ;Set 16x microstepping for axes with interpolation
M906 X1500 Y1500 Z1200 E1200 I30 ;Set motor currents (mA)
; Fully commissioned speeds.
M201 X3000 Y3000 Z100 E1500 ; Accelerations (mm/s^2)
M203 X24000 Y24000 Z800 E3600 ; Maximum speeds (mm/min)
M566 X1000 Y1000 Z100 E600 P1 ; Maximum jerk speeds mm/minute
M208 X290 Y290 Z275 ;Set axis maxima and high homing switch positions (adjust to suit your machine)
M208 X0 Y0 Z0 S1 ;Set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
M92 X200 Y200 Z1600 E696 ;Orbiter
;M92 X200 Y201 Z1600 E835 ;Bowden
; End Stops
M574 X1 S1 P"io1.in" ;Map the X endstop to io1.in
M574 Y1 S1 P"io2.in" ;May the Y endstop to io2.in
; Filament Sensor
M591 D0 P5 C"io5.in" R60:215 E3.0 S0 A1 L0.406 ;Duet3D laser sensor for extruder drive 0, connected to IO 5, tolerance 60 to 215%, 3mm comparison length, disabled
; Thermistors
M308 S2 P"temp0" Y"thermistor" A"chamber_temp" T100000 B3950 H0 L0 ;Chamber thermistor
M308 S0 P"temp2" Y"thermistor" A"plate_heat" T100000 B3960 H0 L0 ;Plate thermistor
M308 S1 P"temp1" Y"thermistor" A"e0_heat" T100000 B4725 C7.06e-8 H0 L0 ;E3D thermistor
;Define Heaters
M950 H0 C"out0" T0 ;Bed heater is on out0
M950 H1 C"out1" T1 ;Hotend heater is on out1
M950 H2 C"out2" T2 ;Chamber heater is on out2
;Define Bed
M140 H0
;Define Chamber
M141 H2
M307 H0 R0.394 K0.158:0.000 D13.55 E1.35 S1.00 B0 ;Bed Duet 3 configuration
M307 H1 R2.812 K0.374:0.000 D4.13 E1.35 S1.00 B0 V23.8 ;Phaetus Hotend Duet 3 configuration
M307 H2 R0.048 K0.134:0.000 D16.81 E1.35 S1.00 B0 ;Chamber calibration
;M307 H2 R0.425 K0.744:0.000 D14.76 E1.35 S1.00 B0
;old hotend value M307 H1 A310.1 C144.7 D2.6 S1.00 B0
;old bed value M307 H0 A90.0 C700.0 D10.0 S1.00 B0
M570 H0 T15 ;Set hot end fault behaviour. 15C excursion before error
M143 H1 S300 ;Set max hotend temperature
M143 H0 S150 ;Set max bed temp
; Fans
M950 F0 C"out6" Q100 ;Layer fan on "out6" connector
M106 P0 S0 H-1 C"Part Fan" ;Layer fan
M950 F1 C"out8" ;Hotend fan on "out8" connector without PWM
M106 P1 C"Hotend Fan" ;M106 P1 S255 H1 T50 "Hotend Fan" ;enable thermostatic mode for hotend fan
M950 F2 C"out7" Q2500 ;Heater cooling fan on "out7" connector
M106 P2 S0 C"Cooling Fan" ;Heater cooling fan
M950 F3 C"out4" ;Extruder fan on "out4" connector
M106 P3 T40 H2 C"Extruder Fan" ;Extruder fan
; Accelerometer
;M955 P0 I50 C"spi.cs3+spi.cs2" ; all wires connected to temp DB connector
; Input Shaping
M593 P"zvd" F70 S0.3
; Tool definitions
M563 P0 D0 H1 F0 ;Define tool 0 uses extruder 1, heater 1 and fan 1
G10 P0 S0 R0 ;Set tool 0 operating and standby temperatures
; Pressure Advance
;M572 D0 S0.06 ; set extruder 0 pressure advance to 0.01 seconds
; Euclid
M558 P5 C"^io0.in" H2 F250:15 T24000 A6 S0.02
;Tip: A larger trigger height in G31 moves you CLOSER to the bed
G31 X1 Y37.5 Z6.58 P25 ;Nozzle-X set the probe offsets
;G31 X0 Y40 Z2.8 P25 ;0.25mm nozzle set the probe offsets
T0 ;Select first hot end
Yet another crash
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.1 (2023-08-31 16:19:24) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 1 of 40 (18 max)
Error in macro line 97 while starting up: Accelerometer not found on specified port
=== RTOS ===
Static ram: 154852
Dynamic ram: 120916 of which 240 recycled
Never used RAM 67128, free system stack 210 words
Tasks: NETWORK(1,ready,38.8%,157) ETHERNET(5,nWait,0.1%,321) HEAT(3,nWait,0.0%,325) Move(4,nWait,0.0%,340) CanReceiv(6,nWait,0.0%,941) CanSender(5,nWait,0.0%,335) CanClock(7,delaying,0.0%,344) TMC(4,nWait,8.4%,59) MAIN(1,running,52.6%,137) IDLE(0,ready,0.1%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:01:20 ago, cause: software
Last software reset at 2023-12-22 23:00, reason: MemoryProtectionFault mmarValid daccViol, Gcodes spinning, available RAM 65648, slot 0
Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00427804 BFAR 0x00000001 SP 0x2041bc20 Task MAIN Freestk 2212 ok
Stack: 20419934 20419934 00000001 00000000 00000000 00498559 00497de8 610f0000 004984df 20430030 ffffffff 20430140 2043019c 20419934 2042e0dc ffffffff 00000000 204309d8 0049866b 2041bccc 00000003 2042bb28 00495b6f 2042e0d8 0046db83 2042bb28 2042e0dc
Error status: 0x00
MCU temperature: min 31.8, current 32.1, max 32.3
Supply voltage: min 23.8, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/156/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a, mspos 872, reads 48401, writes 16 timeouts 0
Driver 1: standstill, SG min n/a, mspos 72, reads 48401, writes 16 timeouts 0
Driver 2: standstill, SG min n/a, mspos 792, reads 48401, writes 16 timeouts 0
Driver 3: standstill, SG min n/a, mspos 856, reads 48401, writes 16 timeouts 0
Driver 4: standstill, SG min n/a, mspos 600, reads 48401, writes 16 timeouts 0
Driver 5: standstill, SG min n/a, mspos 888, reads 48401, writes 16 timeouts 0
Date/time: 2023-12-22 23:01:31
Slowest loop: 5.98ms; fastest: 0.07ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 3.9ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, 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
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
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 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 0x80000003
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
Extruder 0: no data received
=== CAN ===
Messages queued 720, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 401/0/0
Tx timeouts 0,0,400,0,0,318 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 8.77ms; fastest: 0.03ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8
= Ethernet =
Interface state: active
Error counts: 0 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
I am tempted to ditch the Duet 6HC at this point. It is crashing constantly and I am wasting filament. I took the entire carriage apart and reassembled it being sure to check everything over. I have verified ground on the hotend and disconnected the chamber thermistor in case that was causing issues.
What else can I do short of replacing the entire board?
Well, another crash. This is after 2 or 3 multi-hour prints finish successfully. The most recent print went for a little over an hour and then crashed. I am nearing my wits end and not sure what to do.
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.1 (2023-08-31 16:19:24) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 1 of 40 (36 max)
Error in macro line 97 while starting up: Accelerometer not found on specified port
=== RTOS ===
Static ram: 154852
Dynamic ram: 121320 of which 664 recycled
Never used RAM 66300, free system stack 210 words
Tasks: NETWORK(1,ready,39.0%,182) ETHERNET(5,nWait,0.1%,317) HEAT(3,nWait,0.0%,325) Move(4,nWait,0.0%,340) CanReceiv(6,nWait,0.0%,941) CanSender(5,nWait,0.0%,335) CanClock(7,delaying,0.0%,344) TMC(4,nWait,8.3%,59) MAIN(1,running,52.6%,137) IDLE(0,ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:19:41 ago, cause: software
Last software reset at 2023-12-07 18:35, reason: MemoryProtectionFault mmarValid daccViol, Gcodes spinning, available RAM 65092, slot 0
Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00400004 BFAR 0x0000198d SP 0x2045ff48 Task Move Freestk 64367 ok
Stack: 00001989 83b6454d 00001a88 00001989 00000000 0044684d 0044ab5c 61000027 00446809 4000c000 00000000 2042194c 204322b8 00000000 0044aa39 20459300 204322a4 00000007 00000000 2045f840 ffffffed 00000000 00f00000 e000e000 c0000000 00000000 00497f6b
Error status: 0x00
MCU temperature: min 29.1, current 29.2, max 32.6
Supply voltage: min 23.8, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0
Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/156/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a, mspos 904, reads 41806, writes 16 timeouts 0
Driver 1: standstill, SG min n/a, mspos 56, reads 41806, writes 16 timeouts 0
Driver 2: standstill, SG min n/a, mspos 664, reads 41806, writes 16 timeouts 0
Driver 3: standstill, SG min n/a, mspos 296, reads 41806, writes 16 timeouts 0
Driver 4: standstill, SG min n/a, mspos 504, reads 41807, writes 16 timeouts 0
Driver 5: standstill, SG min n/a, mspos 600, reads 41807, writes 16 timeouts 0
Date/time: 2023-12-07 18:55:04
Slowest loop: 6.27ms; fastest: 0.07ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 4.2ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, 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
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
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 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 0x80000003
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
Extruder 0: no data received
=== CAN ===
Messages queued 10629, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 5906/0/0
Tx timeouts 0,0,5905,0,0,4722 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 34.90ms; fastest: 0.03ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 2 of 8
= Ethernet =
Interface state: active
Error counts: 0 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
I unplugged the filaments sensor to see if that was causing issues. It still crashed. I have now removed everything not essential to printing.
@dc42 Thank you for the heads up. I will continue to post crash logs as I receive them. I suspect mine is related to a hardware issue and static. I was on 3.4.5 and it was crashing with the same type of error.
Initial testing after moving the chamber thermistor is promising. I was able to do 2 successful prints that were 3 hours long.
Is there a way to ground the thermistors on the Duet side in order to protect the board? I'd rather wire something in if it all possible to eliminate that as an issue. the hotend thermistor has a metal enclosure and is grounded by the hotend. The other thermistor is bare with just the two leads going to it. I am not sure if it is acting as an antenna for static when it is near parts interacting with filament or what. I am really just shooting in the dark as this point.
@droftarts The long road to troubleshooting an intermittent problem is a long one. I am wondering if my chamber temp thermistor is collecting static. It is unshielded and very close to the hotend. I am not even sure if that is possible.
I have moved it away from the hotend for now to see if that helps.
Here is the config.g
;Initialize variables
if !exists(global.materialtype)
global materialtype = ""
if !exists(global.materialprint)
global materialprint = ""
if !exists(global.materialstandby)
global materialstandby = ""
if !exists(global.materialbed)
global materialbed = ""
if !exists(global.machineheater)
global machineheater = 0
if !exists(global.inFilamentError)
global inFilamentError = false
;General Setup - RailCore RRF Duet3
M552 P0.0.0.0 S1
G21 ;Work in millimetres
G90 ;Send absolute coordinates...
M83 ;...but relative extruder moves
; Stepper configuration
M569 P0 S0 D3 ;Drive 0 X / Rear
M569 P1 S1 D3 ;Drive 1 Y / Front
M569 P2 S1 D3 ;Drive 2 Z Front Left
M569 P3 S1 D3 ;Drive 3 Z Rear Left
M569 P4 S1 D3 ;Drive 4 Z Right
M569 P5 S1 D3 ;Drive 5 Extruder
;Axis configuration
M669 K1 ;CoreXY mode
M584 X0 Y1 Z2:3:4 E5 ;Map X to drive 0 Y to drive 1, Z to drives 2, 3, 4, and E to drive 5
;Leadscrew locations
M671 X-13.6:-13.3:340 Y22:278:149 S7.5
M350 X16 Y16 Z16 E16 I1 ;Set 16x microstepping for axes with interpolation
M906 X1500 Y1500 Z1200 E1200 I10 ;Set motor currents (mA)
; Fully commissioned speeds.
M201 X3000 Y8000 Z100 E1500 ; Accelerations (mm/s^2)
M203 X24000 Y24000 Z800 E3600 ; Maximum speeds (mm/min)
M566 X1000 Y1000 Z100 E600 P1 ; Maximum jerk speeds mm/minute
M208 X290 Y290 Z275 ;Set axis maxima and high homing switch positions (adjust to suit your machine)
M208 X0 Y0 Z0 S1 ;Set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
M92 X200 Y200 Z1600 E696 ;Orbiter
;M92 X200 Y201 Z1600 E835 ;Bowden
;Mesh leveling parameters
M557 X1:300 Y38:290 P21:21
; End Stops
M574 X1 S1 P"io1.in" ;Map the X endstop to io1.in
M574 Y1 S1 P"io2.in" ;May the Y endstop to io2.in
; Filament Sensor
M591 D0 P5 C"io5.in" R60:215 E3.0 S0 A1 L0.406 ;Duet3D laser sensor for extruder drive 0, connected to IO 5, tolerance 60 to 215%, 3mm comparison length, disabled
; Thermistors
M308 S2 P"temp3" Y"thermistor" A"chamber_temp" T100000 B3950 H0 L0 ;Chamber thermistor
M308 S0 P"temp2" Y"thermistor" A"plate_heat" T100000 B3960 H0 L0 ;Plate thermistor
M308 S1 P"temp1" Y"thermistor" A"e0_heat" T100000 B4725 C7.06e-8 H0 L0 ;E3D thermistor
;Define Heaters
M950 H0 C"out0" T0 ;Bed heater is on out0
M950 H1 C"out1" T1 ;Hotend heater is on out1
M950 H2 C"out2" T2 ;Chamber heater is on out2
;Define Bed
M140 H0
;Define Chamber
M141 H2
M307 H0 R0.394 K0.158:0.000 D13.55 E1.35 S1.00 B0 ;Bed Duet 3 configuration
M307 H1 R2.812 K0.374:0.000 D4.13 E1.35 S1.00 B0 V23.8 ;Phaetus Hotend Duet 3 configuration
M307 H2 R0.048 K0.134:0.000 D16.81 E1.35 S1.00 B0 ;Chamber calibration
;M307 H2 R0.425 K0.744:0.000 D14.76 E1.35 S1.00 B0
;old hotend value M307 H1 A310.1 C144.7 D2.6 S1.00 B0
;old bed value M307 H0 A90.0 C700.0 D10.0 S1.00 B0
M570 H0 T15 ;Set hot end fault behaviour. 15C excursion before error
M143 H1 S300 ;Set max hotend temperature
M143 H0 S150 ;Set max bed temp
; Fans
M950 F0 C"out6" Q100 ;Layer fan on "out6" connector
M106 P0 S0 H-1 C"Part Fan" ;Layer fan
M950 F1 C"out8" ;Hotend fan on "out8" connector without PWM
M106 P1 C"Hotend Fan" ;M106 P1 S255 H1 T50 "Hotend Fan" ;enable thermostatic mode for hotend fan
M950 F2 C"out7" Q2500 ;Heater cooling fan on "out7" connector
M106 P2 S0 C"Cooling Fan" ;Heater cooling fan
M950 F3 C"out4" ;Extruder fan on "out4" connector
M106 P3 T40 H2 C"Extruder Fan" ;Extruder fan
; Accelerometer
M955 P0 C"spi.cs3+spi.cs2" ; all wires connected to temp DB connector
; Input Shaping
M593 P"mzv" F70
; Tool definitions
M563 P0 D0 H1 F0 ;Define tool 0 uses extruder 1, heater 1 and fan 1
G10 P0 S0 R0 ;Set tool 0 operating and standby temperatures
; Pressure Advance
; M572 D0 S0.01 ; set extruder 0 pressure advance to 0.01 seconds
; Euclid
M558 P5 C"^io7.in" H3 F500:100 T24000 A6 S0.02
;Tip: A larger trigger height in G31 moves you CLOSER to the bed
G31 X1 Y37.5 Z3.20 P25 ;Nozzle-X set the probe offsets
;G31 X0 Y40 Z2.8 P25 ;0.25mm nozzle set the probe offsets
T0 ;Select first hot end
As for the printer, it is a Railcore II 300ZL corexy. The hotend is a Phaetus Dragon with an Orbiter II extruder. LDO steppers all around with a 750w heat pad on a magnetic bed kinematically mounted. The Z probe is a Euclid.
Another thing I did today was verify the bed has ground to the frame. The firmware looks like it is for the Mini+. I have a 6HC will that firmware work on the 6HC as well?
Its so strange because everything worked fine for months after the initial problem of random reboots. Absolutely nothing has changed except the weather.
Another crash...
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.1 (2023-08-31 16:19:24) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 3 of 40 (38 max)
Error in macro line 97 while starting up: Accelerometer not found on specified port
=== RTOS ===
Static ram: 154852
Dynamic ram: 121344 of which 640 recycled
Never used RAM 66300, free system stack 204 words
Tasks: NETWORK(1,ready,39.1%,182) ETHERNET(5,nWait,0.1%,317) HEAT(3,nWait,0.0%,323) Move(4,nWait,0.0%,340) CanReceiv(6,nWait,0.0%,941) CanSender(5,nWait,0.0%,335) CanClock(7,delaying,0.0%,343) TMC(4,nWait,8.3%,59) MAIN(1,running,52.5%,137) IDLE(0,ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:35:24 ago, cause: software
Last software reset at 2023-12-01 15:03, reason: MemoryProtectionFault mmarValid daccViol, Gcodes spinning, available RAM 65236, slot 1
Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00400004 BFAR 0x0000bbb1 SP 0x2045ff48 Task NETW Freestk 65426 ok
Stack: 0000bba9 2045f0b4 0000bba9 00008103 00000000 00445189 00446808 210f0027 00446809 4000c000 00000000 2042194c 204322b8 00000000 0044aa39 40000000 00000000 2042b730 810343b1 2042b740 ffffffed 00000000 00f00000 e000e000 c0000000 00000000 00497f6b
Error status: 0x00
MCU temperature: min 28.2, current 28.4, max 32.0
Supply voltage: min 23.8, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/156/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a, mspos 488, reads 17047, writes 16 timeouts 0
Driver 1: standstill, SG min n/a, mspos 936, reads 17048, writes 16 timeouts 0
Driver 2: standstill, SG min n/a, mspos 888, reads 17048, writes 16 timeouts 0
Driver 3: standstill, SG min n/a, mspos 616, reads 17048, writes 16 timeouts 0
Driver 4: standstill, SG min n/a, mspos 408, reads 17048, writes 16 timeouts 0
Driver 5: standstill, SG min n/a, mspos 56, reads 17048, writes 16 timeouts 0
Date/time: 2023-12-01 15:38:26
Slowest loop: 6.91ms; fastest: 0.07ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 4.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, 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
Moves shaped first try 0, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
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 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 0x80000003
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
Extruder 0: pos -3.10, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
=== CAN ===
Messages queued 19121, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 10624/0/0
Tx timeouts 0,0,10623,0,0,8496 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 34.18ms; fastest: 0.03ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 2 of 8
= Ethernet =
Interface state: active
Error counts: 0 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
So I've done the following:
Upgraded to firmware and web control to 3.5
Replaced the thermistor
Verified ground from the heatblock to ground on the Duet (Continuity check between Power In GND and metal of the heat block)
Printed without filament to verify its not a general issue with the board
I cannot reliably recreate the issue. It does seem ESD related, but I am not sure what would be causing it. Are there any steps I can take to narrow it down ? What else could be affected by ESD that would crash the board?
M122:
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.1 (2023-08-31 16:19:24) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 1 of 40 (37 max)
Error in macro line 97 while starting up: Accelerometer not found on specified port
=== RTOS ===
Static ram: 154852
Dynamic ram: 122208 of which 168 recycled
Never used RAM 65428, free system stack 143 words
Tasks: NETWORK(1,ready,511.4%,147) ETHERNET(5,nWait,1.1%,317) HEAT(3,nWait,0.4%,323) Move(4,nWait,0.0%,225) CanReceiv(6,nWait,0.0%,941) CanSender(5,nWait,0.0%,335) CanClock(7,delaying,0.1%,343) TMC(4,nWait,108.8%,59) MAIN(1,running,687.7%,137) IDLE(0,ready,0.0%,30), total 1309.6%
Owned mutexes:
=== Platform ===
Last reset 01:43:20 ago, cause: software
Last software reset at 2023-12-01 11:04, reason: MemoryProtectionFault mmarValid daccViol, Gcodes spinning, available RAM 65236, slot 0
Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00427804 BFAR 0x00000008 SP 0x20421720 Task Move Freestk 357 ok
Stack: 204322a4 00000000 00000001 00000001 ffffffff 00448f75 004469a4 01000000 00446983 00000000 00000000 00000000 00000001 00000000 204322a4 00000000 20432418 00000000 00000001 00000002 00448f75 204332a0 2043258c 20433a54 204341d8 a5a5a5a5 42ba9810
Error status: 0x00
MCU temperature: min 28.2, current 28.5, max 34.6
Supply voltage: min 23.7, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
Heap OK, handles allocated/used 99/8, heap memory allocated/used/recyclable 2048/884/728, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, mspos 328, reads 61679, writes 29 timeouts 0
Driver 1: standstill, SG min 0, mspos 552, reads 61679, writes 29 timeouts 0
Driver 2: standstill, SG min 0, mspos 696, reads 61679, writes 29 timeouts 0
Driver 3: standstill, SG min 0, mspos 424, reads 61680, writes 29 timeouts 0
Driver 4: standstill, SG min 0, mspos 216, reads 61680, writes 29 timeouts 0
Driver 5: standstill, SG min n/a, mspos 936, reads 61693, writes 16 timeouts 0
Date/time: 2023-12-01 12:47:22
Slowest loop: 8.37ms; fastest: 0.07ms
=== Storage ===
Free file entries: 20
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 4.1ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 20, maxWait 5142791ms, bed compensation in use: none, height map offset 0.000, ebfmin 0.00, ebfmax 0.00
no step interrupt scheduled
Moves shaped first try 31, on retry 0, too short 0, wrong shape 0, maybepossible 0
=== DDARing 0 ===
Scheduled moves 89, completed 89, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], 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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
Heater 0 is on, I-accum = 0.3
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 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 0x80000007
Code queue 0 is empty
Q1 segments left 0, axes/extruders owned 0x0000000
Code queue 1 is empty
=== Filament sensors ===
Extruder 0: pos -8.44, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
=== CAN ===
Messages queued 55800, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 31001/0/0
Tx timeouts 0,0,31000,0,0,24798 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 36.19ms; fastest: 0.03ms
Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 2 of 8
= Ethernet =
Interface state: active
Error counts: 0 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
@chrishamm I verified continuity between the hotend and Duet ground. Are there any other methods to check to make sure it is properly grounded? I have another thermistor on the way just in case that is causing a problem.
So, several months ago I was having an issue with my printer resetting mid-print. I grounded the hotend and that seemed to solve the issue. Well, it is randomly crashing again and I have no idea what is going on. I verified the hotend ground and it is still fine. I am using GekoTek build sheets of which I used for 30+ hours of printing about a month ago. I also printed a few thing last week that were 3+ hour prints each.
Nothing has changed except the temperature around the printer. It is slightly colder here now that winter has settled in. The printer has not been power cycled since it was last used. Any guidance would be much appreciated. Here is the latest crash dump:
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.5 (2022-11-30 19:35:23) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 1 of 40 (36 max)
=== RTOS ===
Static ram: 152760
Dynamic ram: 98836 of which 168 recycled
Never used RAM 95572, free system stack 154 words
Tasks: NETWORK(ready,30.5%,220) ETHERNET(notifyWait,0.2%,443) HEAT(notifyWait,0.0%,322) Move(notifyWait,0.0%,247) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.0%,333) TMC(notifyWait,8.5%,57) MAIN(running,60.7%,925) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:05:16 ago, cause: power up
Last software reset at 2023-11-28 13:42, reason: MemoryProtectionFault mmarValid daccViol, GCodes spinning, available RAM 95164, slot 2
Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00427804 BFAR 0x204200b4 SP 0x20420048 Task NETW Freestk 549 ok
Stack: 40050000 000f423f 00000003 204200c4 00000000 004525a7 0048131c 01010000 416f3333 4149999a 3d88fd6f 3da28a28 00000000 40240000 00000000 43300000 00000000 406da000 20000010 00489407 00000000 ffffffff 20418198 10000000 00000000 2041f3f8 ffffffff
Error status: 0x00
Step timer max interval 127
MCU temperature: min 17.8, current 30.2, max 30.3
Supply voltage: min 23.7, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
Heap OK, handles allocated/used 99/6, heap memory allocated/used/recyclable 2048/392/294, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, mspos 872, reads 42666, writes 22 timeouts 0
Driver 1: standstill, SG min 0, mspos 744, reads 42667, writes 22 timeouts 0
Driver 2: standstill, SG min 0, mspos 456, reads 42667, writes 22 timeouts 0
Driver 3: standstill, SG min 0, mspos 104, reads 42667, writes 22 timeouts 0
Driver 4: standstill, SG min 0, mspos 120, reads 42667, writes 22 timeouts 0
Driver 5: standstill, SG min 0, mspos 8, reads 42669, writes 20 timeouts 0
Date/time: 2023-11-28 16:45:35
Slowest loop: 8.77ms; fastest: 0.05ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 4.5ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 20, maxWait 83670ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 54, completed 54, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 3], CDDA state -1
=== AuxDDARing ===
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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0
Heater 1 is on, I-accum = 0.3
=== GCodes ===
Segments left: 0
Movement lock held by 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
Code queue is empty
=== Filament sensors ===
Extruder 0: pos 0.57, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
=== CAN ===
Messages queued 2848, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 1584/0/0
Tx timeouts 0,0,1583,0,0,1263 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 32.05ms; fastest: 0.03ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8
= Ethernet =
State: active
Error counts: 0 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
@dc42 turns out I spoke too soon... The printer crashed again midway into a print. I made changes to the way I ran the wire and am testing again. Here is the log:
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.5 (2022-11-30 19:35:23) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 3 of 40 (22 max)
=== RTOS ===
Static ram: 152760
Dynamic ram: 97584 of which 76 recycled
Never used RAM 100252, free system stack 204 words
Tasks: NETWORK(ready,151.5%,230) ETHERNET(notifyWait,0.3%,401) HEAT(notifyWait,0.1%,322) Move(notifyWait,0.0%,351) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.1%,333) TMC(notifyWait,41.6%,91) MAIN(running,325.0%,925) IDLE(ready,0.0%,30), total 518.5%
Owned mutexes:
=== Platform ===
Last reset 01:58:14 ago, cause: software
Last software reset at 2023-04-05 14:10, reason: MemoryProtectionFault mmarValid daccViol, Platform spinning, available RAM 95836, slot 2
Software reset code 0x4160 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00427804 BFAR 0x61c30f6c SP 0x2041b608 Task MAIN Freestk 1738 ok
Stack: 00000000 00000000 9e3cf497 00000000 0000036c 00476159 00474eae 21000000 00000000 204194f4 20419a84 8100001b 00493838 2042474c 00000000 00000000 00000000 00000000 20430238 00000000 20430b84 00000000 00000189 00476159 20430b3c 00474ebf 07ef5235
Error status: 0x00
Step timer max interval 130
MCU temperature: min 36.6, current 37.3, max 40.0
Supply voltage: min 23.8, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0
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, mspos 8, reads 15072, writes 15 timeouts 0
Driver 1: standstill, SG min 0, mspos 568, reads 15073, writes 15 timeouts 0
Driver 2: standstill, SG min 0, mspos 184, reads 15073, writes 15 timeouts 0
Driver 3: standstill, SG min 0, mspos 696, reads 15073, writes 15 timeouts 0
Driver 4: standstill, SG min 0, mspos 616, reads 15073, writes 15 timeouts 0
Driver 5: standstill, SG min 0, mspos 344, reads 15073, writes 15 timeouts 0
Date/time: 2023-04-05 16:08:30
Slowest loop: 4.58ms; fastest: 0.06ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 2.3ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 0
Movement lock held by 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
Code queue is empty
=== Filament sensors ===
Extruder 0: pos -6.54, errs: frame 5 parity 0 ovrun 0 pol 0 ovdue 0
=== CAN ===
Messages queued 63853, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 35475/0/0
Tx timeouts 0,0,35474,0,0,28377 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 2.77ms; fastest: 0.03ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 2 of 8
= Ethernet =
State: active
Error counts: 0 0 0 0 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
@dc42 running a dedicated grounding wire seems to have solved the problem. Do you have suggestions for other methods to ground the hot end or to isolate the sensor? Maybe how to integrate an ESD protection circuit with the sensor?
@dc42 Thank you for the information. ESD sounds like it might be the culprit. I switch my build plate to a PEI sheet yesterday and that may be a contributing factor. I was using Gekotek sheets for a while and never had an issue. I have made sure the nozzle now has continuity to ground and am testing now.
Are you aware of any other ways to insulate from static, specifically the temperature sensor? Having one more wire run in an already full loom is less than ideal. Also, the hotend is coated so getting a good connection is difficult.
My Duet 6HC has been randomly crashing. It ran great for a couple of years but about 6 months ago started crashing randomly. I though it was my smart outlet I used to turn it off and on. I removed that and it seemed to resolve the issue. Unfortunately, it started crashing again. Here is what I have done recently:
Here is the latest diagnostic output:
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.5 (2022-11-30 19:35:23) running on Duet 3 MB6HC v1.01 (standalone mode)
Board ID: 08DJM-956BA-NA3TJ-6JTD8-3SJ6J-1UA2U
Used output buffers: 3 of 40 (36 max)
=== RTOS ===
Static ram: 152760
Dynamic ram: 97584 of which 76 recycled
Never used RAM 100252, free system stack 204 words
Tasks: NETWORK(ready,29.3%,230) ETHERNET(notifyWait,0.1%,443) HEAT(notifyWait,0.0%,322) Move(notifyWait,0.0%,351) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.0%,333) TMC(notifyWait,8.0%,91) MAIN(running,62.6%,925) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:12:40 ago, cause: software
Last software reset at 2023-04-03 10:46, reason: MemoryProtectionFault mmarValid daccViol, FilamentSensors spinning, available RAM 95728, slot 1
Software reset code 0x416d HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00427804 BFAR 0x00000018 SP 0x2041b5d0 Task MAIN Freestk 1724 ok
Stack: 2041b648 00000000 00000001 2041b6a0 00000000 00471029 00471632 210f0000 00000000 2042474c 2042aa60 00472589 00000000 00488ee7 00000000 00000000 204305a8 2041b648 000000fb 0047295d 00000005 204305a8 204305a8 00472941 204305a8 004716fb 00000000
Error status: 0x00
Step timer max interval 128
MCU temperature: min 37.1, current 40.1, max 40.3
Supply voltage: min 23.8, current 23.8, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.2, under voltage events: 0
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, mspos 24, reads 26789, writes 15 timeouts 0
Driver 1: standstill, SG min 0, mspos 600, reads 26789, writes 15 timeouts 0
Driver 2: standstill, SG min 0, mspos 152, reads 26790, writes 15 timeouts 0
Driver 3: standstill, SG min 0, mspos 328, reads 26790, writes 15 timeouts 0
Driver 4: standstill, SG min 0, mspos 376, reads 26790, writes 15 timeouts 0
Driver 5: standstill, SG min 0, mspos 264, reads 26790, writes 15 timeouts 0
Date/time: 2023-04-03 10:59:36
Slowest loop: 3.98ms; fastest: 0.06ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 2.4ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
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 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 0
Movement lock held by 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
Code queue is empty
=== Filament sensors ===
Extruder 0: pos 2.84, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
=== CAN ===
Messages queued 6842, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 3802/0/0
Tx timeouts 0,0,3801,0,0,3039 last cancelled message type 30 dest 127
=== Network ===
Slowest loop: 21.81ms; fastest: 0.03ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 3 of 8
= Ethernet =
State: active
Error counts: 0 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
=== Multicast handler ===
Responder is inactive, messages received 0, responses 0
I used M98 to verify the config.g file and there are warnings for max bed temp but no errors. Here is my config.g file:
M552 P0.0.0.0 S1
G21 ;Work in millimetres
G90 ;Send absolute coordinates...
M83 ;...but relative extruder moves
; Stepper configuration
M569 P0 S1 D3 ;Drive 0 X / Rear
M569 P1 S0 D3 ;Drive 1 Y / Front
M569 P2 S1 D3 ;Drive 2 Z Front Left
M569 P3 S1 D3 ;Drive 3 Z Rear Left
M569 P4 S1 D3 ;Drive 4 Z Right
M569 P5 S1 D3 ;Drive 5 Extruder
;Axis configuration
M669 K1 ;corexy mode
M584 X0 Y1 Z2:3:4 E5 ; Map X to drive 0 Y to drive 1, Z to drives 2, 3, 4, and E to drive 5
;Leadscrew locations
M671 X-13.6:-13.3:340 Y22:278:149 S7.5
M350 X16 Y16 Z16 E16 I1 ;set 16x microstepping for axes with interpolation
M906 X2000 Y2000 Z1200 E1200 I10 ;Set motor currents (mA)
; Fully commissioned speeds.
M201 X3000 Y8000 Z100 E1500 ; Accelerations (mm/s^2)
M203 X24000 Y24000 Z800 E3600 ; Maximum speeds (mm/min)
M566 X1000 Y1000 Z100 E600 P1 ; Maximum jerk speeds mm/minute
;M201 X6000 Y6000 Z100 E800 ;Accelerations (mm/s^2)
;M203 X24000 Y24000 Z900 E7200 ;Maximum speeds (mm/min)
;M566 X1000 Y1000 Z100 E300 P1 ;Maximum jerk speeds mm/minute
M208 X300 Y290 Z300 ;set axis maxima and high homing switch positions (adjust to suit your machine)
M208 X0 Y0 Z0 S1 ;set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
M92 X200 Y201 Z1600 E696 ;Orbiter ;steps/mm
;M92 X200 Y201 Z1600 E835 ;Bowden
;Mesh leveling
M557 X80.0:280.0 Y60.0:280.0 S60
; End Stops
M574 X1 S1 P"io1.in" ;Map the X endstop to io1.in
M574 Y1 S1 P"io2.in" ;May the Y endstop to io2.in
; Filament Sensor
M591 D0 P5 C"io5.in" R60:200 E3.0 S0 A1 L0.406; Duet3D laser sensor for extruder drive 0, connected to IO 5, tolerance 60 to 200%, 3mm comparison length, disabled
; Thermistors
M308 S2 P"temp3" Y"thermistor" A"heatsink_temp" T100000 B3950
M308 S0 P"temp2" Y"thermistor" A"plate_heat" T100000 B3950 H0 L0 ;Plate thermistor - connected to temp2
M308 S1 P"temp1" Y"thermistor" A"e0_heat" T100000 B4725 C7.06e-8 H0 L0 ;E3D thermistor - connected to e0_heat
;Define Heaters
M950 H0 C"out0" T0 ;Bed heater is on out0
M950 H1 C"out1" T1 ;Hotend heater is on out1
;Define Bed
M140 H0
M307 H0 R0.394 K0.158:0.000 D13.55 E1.35 S1.00 B0 ;Bed Duet 3 configuration
M307 H1 R3.039 K0.399:0.000 D3.49 E1.35 S1.00 B0 V23.8 ;Phaetus Hotend Duet 3 configuration
;old hotend value M307 H1 A310.1 C144.7 D2.6 S1.00 B0
;old bed value M307 H0 A90.0 C700.0 D10.0 S1.00 B0
M570 H0 S360 ;Hot end may be a little slow to heat up so allow it 180 seconds
M143 S285 ;Set max hotend temperature
; Fans
M950 F0 C"out6" Q100 ;Layer fan on "out6" connector
M106 P0 S0 H-1 C"Part Fan" ;Layer fan
M950 F1 C"!out4+out4.tach" Q250 ;Hotend fan on "out4" connector with PWM
M106 P1 S0 H-1 C"Hotend Fan" ;M106 P1 S255 H1 T50 "Hotend Fan" ;enable thermostatic mode for hotend fan
;M950 F2 C"out4" Q100 ;Extruder fan on "out4" connector
;M106 P2 S0 H-1 C"Extruder Fan" ;Extruder fan
; Accelerometer
M955 P0 C"spi.cs3+spi.cs2" ; all wires connected to temp DB connector
; Input Shaping
M593 P"mzv" F70
; Tool definitions
M563 P0 D0 H1 F0 ;Define tool 0 uses extruder 1, heater 1 and fan 1
G10 P0 S0 R0 ;Set tool 0 operating and standby temperatures
; Pressure Advance
M572 D0 S0.01 ; set extruder 0 pressure advance to 0.01 seconds
; Euclid
M558 P5 C"^io7.in" H5 F200 T20000
; Tip: A larger trigger height in G31 moves you CLOSER to the bed
G31 X0 Y40 Z3.0 P25 ;Nozzle-X set the probe offsets
;G31 X0 Y40 Z2.8 P25 ;0.25mm nozzle set the probe offsets
T0 ;select first hot end
I am not sure what is going on and any help would be much appreciated
If you are still taking orders, I would be interested in one. I was looking at building my own but don't have the necessary tools to make it easy.
Thank you for all of the help. Sending a PM to sort out the rest!