Duet 3 Mini Wifi Freezing
-
I'm having troubles with my duet 3 mini board resetting during a print. I cannot figure out why this is happening.
Running a 1LC on my toolhead.
I was running 3.4.5 trying 3.5b2 with same problem. Reset happens within the first 4 layers. Nothing is pressing the reset button. Board mount on a PLA frame.
Here is the M122 after it reset, followed by the config. Any ideas?
m122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5beta2 (2023-02-08 17:42:04) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: F9FUW-DR6KL-K65J0-409NW-JUW1Z-RAJPQ Used output buffers: 13 of 40 (24 max) === RTOS === Static ram: 103012 Dynamic ram: 120476 of which 12 recycled Never used RAM 18212, free system stack 198 words Tasks: NETWORK(notifyWait,9.4%,237) HEAT(notifyWait,0.0%,359) Move(notifyWait,0.0%,359) CanReceiv(notifyWait,0.0%,798) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,349) TMC(notifyWait,0.7%,114) MAIN(running,87.4%,449) IDLE(ready,1.7%,30) AIN(delaying,0.8%,272), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:00:16 ago, cause: reset button Last software reset at 2023-02-26 16:07, reason: User, Gcodes spinning, available RAM 17956, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00446000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 16166, completed 16166, timed out 0, errs 0 Step timer max interval 1488 MCU temperature: min 25.3, current 26.2, max 26.6 Supply voltage: min 23.9, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 2, read errors 0, write errors 1, ifcnt 29, reads 819, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 1: standstill, SG min 2, read errors 0, write errors 1, ifcnt 29, reads 819, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 2, read errors 0, write errors 1, ifcnt 29, reads 819, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 21, reads 822, writes 10, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 2, read errors 0, write errors 1, ifcnt 29, reads 819, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2023-02-26 19:35:49 Cache data hit count 30962431 Slowest loop: 6.68ms; fastest: 0.15ms === Storage === Free file entries: 20 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 1.0ms, write time 0.0ms, max retries 0 === Move === DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 no step interrupt scheduled === DDARing 0 === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === DDARing 1 === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 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 0x0000803 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === CAN === Messages queued 147, received 354, lost 0, boc 0 Longest wait 3ms for reply type 6026, peak Tx sync delay 160, free buffers 18 (min 17), ts 81/80/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 13.46ms; 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 = Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 2.1beta3 WiFi MAC address c4:5b:be:46:6a:64 WiFi Vcc 3.38, reset reason Power up WiFi flash size 2097152, free heap 42492 WiFi IP address 10.0.50.249 WiFi signal strength -72dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002001 Socket states: 0 0 0 0 0 0 0 0
; Configuration file for Duet 3 Mini 5+ (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Mon Dec 19 2022 16:33:45 GMT-0600 (Central Standard Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"MyDuet" ; set printer name ; Wait a moment for the CAN expansion boards to start G4 S4 ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 D3 ; physical drive 0.0 goes forwards M569 P0.1 S1 D3 ; physical drive 0.1 goes forwards M569 P0.2 S0 D3 ; physical drive 0.2 goes backwards M569 P0.4 S0 D3 ; physical drive 0.4 goes backwards M569 P121.0 S1 ; physical drive 121.0 goes forwards M584 X0.0 Y0.1 Z0.2:0.4 E121.0 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X160.00 Y160.00 Z800.00 E397 ; set steps per mm M566 X600.00 Y600.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) ;M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X3500.00 Y3500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200 E1000 I50 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X-10 Y0 Z0 S1 ; set axis minima M208 X300 Y300 Z350 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!io5.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin !io5.in M574 Y1 S1 P"!io6.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !io6.in M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M558 P8 C"121.io0.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X-18.4 Y-5.4 Z1.601 ; set Z probe trigger value, offset and trigger height hot (60C) Z1.700 M557 X20:280 Y20:280 P5 ; define mesh grid 5x5 ; Heaters M308 S0 P"temp0" Y"thermistor" A"Bed" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"121.temp0" Y"thermistor" A"Hotend" T100000 B4725 C7.060000e-8; configure sensor 1 as thermistor on pin 121.temp0 M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S300 ; set temperature limit for heater 1 to 300C ; Fans M950 F0 C"121.out1" Q500 ; create fan 0 on pin 121.out1 and set its frequency M106 P0 C"Nozzle Fan" S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"121.out2" Q500 ; create fan 1 on pin 121.out2 and set its frequency M106 P1 C"Hotend Fan" S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency M106 P2 C"Duet Mini Fan" S255 H-1 ; set fan 2 value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 F0 S"Herema XS" ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Z Axis Leveling M671 X-52:342 Y150:150 S5 ; adjust leadscrews at left (40,150) and right (260,150) ; Pressure Advance M572 D0 S0.023 ; Compensation Taper M376 H10 ; Taper after 10mm ; Accelerometers ;M955 P0 C"io3.out+io3.in" I20 ; LIS3DH M955 P121.0 I54 ; Toolboard 1LC with CAN address 121 ; Input Shaping M593 P"MZV" F38 ;M593 p"EI3" F30 ; Read stored parameters M501 T0 ; Home, Level and Load Map on Startup ;M98 P"0:/macros/2_Home, Level and Load Map" ;Manual Bed Screws (Old points) ;M671 X0:0:289:289 Y107:207:207:107 P0.7 ; adjusting screws at front left (0,107), rear left (0,207), rear right (289,207) and front right (289,107), thread pitch 0.7mm ; Custom settings are not defined
-
Can you capture an M122 report for the toolboard as well?
-
@Phaedrux, Here's both the M122 and M122 B121
m122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5beta2 (2023-02-08 17:42:04) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: F9FUW-DR6KL-K65J0-409NW-JUW1Z-RAJPQ Used output buffers: 8 of 40 (24 max) === RTOS === Static ram: 103012 Dynamic ram: 120476 of which 12 recycled Never used RAM 18212, free system stack 194 words Tasks: NETWORK(notifyWait,17.9%,230) HEAT(notifyWait,0.0%,351) Move(notifyWait,0.0%,359) CanReceiv(notifyWait,0.0%,771) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,349) TMC(delaying,0.7%,105) MAIN(running,80.5%,449) IDLE(ready,0.0%,30) AIN(delaying,0.8%,263), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:54:42 ago, cause: reset button Last software reset at 2023-02-26 16:07, reason: User, Gcodes spinning, available RAM 17956, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00446000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 3282631, completed 3282631, timed out 0, errs 0 Step timer max interval 1490 MCU temperature: min 23.8, current 24.0, max 26.8 Supply voltage: min 23.9, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 12, read errors 0, write errors 1, ifcnt 29, reads 41662, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 29, reads 41661, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 29, reads 41661, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 21, reads 41664, writes 10, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 29, reads 41661, writes 13, timeouts 0, DMA errors 0, CC errors 0 Driver 5: not present Driver 6: not present Date/time: 2023-02-27 15:03:37 Cache data hit count 4294967295 Slowest loop: 7.69ms; fastest: 0.15ms === Storage === Free file entries: 20 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 1.7ms, write time 0.0ms, max retries 0 === Move === DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 no step interrupt scheduled === DDARing 0 === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === DDARing 1 === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 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 0x0000803 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === CAN === Messages queued 29544, received 65684, lost 0, boc 0 Longest wait 3ms for reply type 6026, peak Tx sync delay 165, free buffers 18 (min 17), ts 16413/16412/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 13.56ms; fastest: 0.00ms Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(1) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 1 of 8 = WiFi = Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 2.1beta3 WiFi MAC address c4:5b:be:46:6a:64 WiFi Vcc 3.38, reset reason Power up WiFi flash size 2097152, free heap 39340 WiFi IP address 10.0.50.249 WiFi signal strength -69dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002001 Socket states: 0 0 3 0 0 0 0 0
m122 b121 Diagnostics for board 121: Duet TOOL1LC rev 1.1 or later firmware version 3.4.4 (2022-10-14 11:46:33) Bootloader ID: SAMC21 bootloader version 2.4 (2021-12-10) All averaging filters OK Never used RAM 2624, free system stack 45 words Tasks: Move(notifyWait,0.0%,99) HEAT(notifyWait,0.4%,75) CanAsync(notifyWait,0.0%,59) CanRecv(notifyWait,0.0%,74) CanClock(notifyWait,0.0%,65) ACCEL(notifyWait,0.0%,61) TMC(delaying,3.0%,57) MAIN(running,91.6%,351) IDLE(ready,0.0%,26) AIN(delaying,4.9%,142), total 100.0% Last reset 01:22:39 ago, cause: power up Last software reset data not available Driver 0: pos 738513, 397.0 steps/mm,standstill, SG min 0, read errors 0, write errors 0, ifcnt 16, reads 29825, writes 4, timeouts 0, DMA errors 0, CC errors 0, steps req 753807 done 753807 Moves scheduled 2247, completed 2247, in progress 0, hiccups 0, step errors 0, maxPrep 585, maxOverdue 7, maxInc 2, mcErrs 0, gcmErrs 0 Peak sync jitter -4/8, peak Rx sync delay 214, resyncs 0/1, no step interrupt scheduled VIN voltage: min 23.8, current 24.3, max 24.4 MCU temperature: min 17.9C, current 45.0C, max 45.5C Last sensors broadcast 0x00000002 found 1 152 ticks ago, 0 ordering errs, loop time 1 CAN messages queued 90501, send timeouts 0, received 42931, lost 0, free buffers 37, min 36, error reg 100000 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 493, adv 35519/74631 Accelerometer: LIS3DH, status: 00 I2C bus errors 0, naks 0, other errors 0
-
@adrian RRF thinks that you pressed the reset button on the Mini about half an hour after the tool board was powered up, and ran the M122 reports nearly an hour after that. Did you press the reset button?
-
@dc42, I did not press the reset button. The button is clear and out of the way for anyway to get bumped.
-
@dc42, I think I figured it out. I grounded the hotend and frame. It seems to be printing now. I’ve gotten way further in my current print than I was getting before. I’ll know when this 4 hour print finishes that ESD was the issue.
-
@adrian did the grounding fix your issue?
-
@T3P3Tony, it seems to have fixed it. I’m using a revo hemera xs hotbed with the 1lc board.
-
-