3.2 beta 1 Freeze while printing
-
Hello,
I also encounter random freezes since the 3.2 beta 1. It happens in almost 1 out of 3 print.
I do a purge line at the beginning of each print with the following GCode:M561 ; Clear any bed transform G28 ; Home all axes G29 S1 ; Grid compensation T0 ; Select tool 0 M116 ; Wait for tools ; Purge line G1 Z0.2 G1 Y2 X25 F15000 ; move out of build volume G1 X150.0 E24 F1200 ; finish purge line G4 P4000 ; Wait to let the plastic cool a little G92 E0 ; reset extruder position to 0
And it freezes right after doing the purge line. It might be an issue with the heightmap loading as suggested by @dc42 because effectively I normally receive the "Heightmap loaded" notification just after the purge line and when my print freezes I don't have this notification.
-
@Lucas, are you also running Due 3 with attached SBC?
-
@dc42 Yes a Duet 3 with a Raspberry Pi 3 attached
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 3.2.0-beta1+1
Firmware: RepRapFirmware for Duet 3 MB6HC 3.2-beta1 (2020-09-15b1)
Duet Web Control 3.2.0-beta1+2 -
Thanks. Please post a M122 report taken when it has frozen. Also please post some more lines from your GCode file.
Which is the last GCode line completed when it freezes?
-
@dc42 Here is the M122 when the printer is frozen:
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.2-beta1 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode) Board ID: 08DJM-956L2-G43S8-6J1F0-3SS6K-9A1QH Used output buffers: 1 of 40 (10 max) === RTOS === Static ram: 154820 Dynamic ram: 133832 of which 44 recycled Exception stack ram used: 528 Never used ram: 103992 Tasks: HEAT(blocked,296) CanReceiv(blocked,948) CanSender(blocked,351) CanClock(blocked,352) TMC(blocked,18) MAIN(running,1230) IDLE(ready,19) Owned mutexes: === Platform === Last reset 00:04:08 ago, cause: software Last software reset at 2020-09-20 17:12, reason: User, LinuxInterface spinning, available RAM 103992, slot 1 Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN Error status: 0x020 MCU temperature: min 40.5, current 41.1, max 41.3 Supply voltage: min 23.7, current 23.9, max 23.9, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.0, current 12.0, max 12.1, under voltage events: 0 Driver 0: position 97280, standstill, reads 2810, writes 17 timeouts 0, SG min/max 0/228 Driver 1: position 94720, standstill, reads 2810, writes 17 timeouts 0, SG min/max 0/182 Driver 2: position 448, standstill, reads 2811, writes 17 timeouts 0, SG min/max 0/1023 Driver 3: position 0, standstill, reads 2811, writes 17 timeouts 0, SG min/max 0/528 Driver 4: position 0, standstill, reads 2818, writes 11 timeouts 0, SG min/max 0/0 Driver 5: position 0, standstill, reads 2818, writes 11 timeouts 0, SG min/max 0/0 Date/time: 2020-09-20 17:16:50 Slowest loop: 11.09ms; fastest: 0.14ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 25.0MBytes/sec SD card longest read time 1.7ms, write time 0.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 375, MinFreeDm: 364, MaxWait: 27315ms Bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves: 16, completed moves: 16, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === AuxDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 Heater 0 is on, I-accum = 0.3 Heater 1 is on, I-accum = 0.4 === GCodes === Segments left: 0 Movement lock held by null HTTP* is ready with "M122" 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. === Network === Slowest loop: 0.00ms; fastest: 5726623.00ms Responder states: HTTP sessions: 0 of 8 - Ethernet - State: disabled Error counts: 0 0 0 0 0 Socket states: 0 0 0 0 0 0 0 0 === CAN === Messages sent 967, send timeouts 967, longest wait 0ms for type 0, free CAN buffers 48 === SBC interface === State: 0, failed transfers: 0 Last transfer: 18ms ago RX/TX seq numbers: 7647/7649 SPI underruns 0, overruns 0 Number of disconnects: 1 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v3.2.0-beta1+1 File: Finishing macro /sys/before-print.g, started by G1 X85.779 Y137.166 E0.02389 > Next stack level Suspended code: M109 S210 ; set temperature and wait for it to be reached Suspended code: G21 ; set units to millimeters Suspended code: G90 ; use absolute coordinates Suspended code: M83 ; use relative distances for extrusion Suspended code: ; Filament gcode Suspended code: G1 Z0.200 F7800.000 Suspended code: G1 E-1.50000 F3600.00000 Suspended code: G1 X86.638 Y146.405 F7800.000 Suspended code: G1 E1.50000 F3600.00000 Suspended code: G1 F2400.000 Suspended code: G1 X85.779 Y145.546 E0.03809 Suspended code: G1 X85.779 Y144.784 E0.02389 Suspended code: G1 X87.230 Y146.235 E0.06435 Suspended code: G1 X87.992 Y146.235 E0.02389 Suspended code: G1 X85.779 Y144.022 E0.09813 Suspended code: G1 X85.779 Y143.260 E0.02389 Suspended code: G1 X130.860 Y188.341 E1.99896 Suspended code: G1 X131.622 Y188.341 E0.02389 Suspended code: G1 X85.779 Y142.498 E2.03274 Suspended code: G1 X85.779 Y141.737 E0.02389 Suspended code: G1 X132.384 Y188.341 E2.06652 Suspended code: G1 X133.146 Y188.341 E0.02389 Suspended code: G1 X85.779 Y140.975 E2.10030 Suspended code: G1 X85.779 Y140.213 E0.02389 Suspended code: G1 X133.907 Y188.341 E2.13408 Suspended code: G1 X134.669 Y188.341 E0.02389 Suspended code: G1 X85.779 Y139.451 E2.16787 Suspended code: G1 X85.779 Y138.689 E0.02389 Pending code: G1 X135.431 Y188.341 E2.20165 Pending code: G1 X136.193 Y188.341 E0.02389 Pending code: G1 X85.779 Y137.927 E2.23543 Pending code: G1 X85.779 Y137.166 E0.02389 Trigger: Finishing macro config.g, started by system > Next stack level Code buffer space: 4096 Configured SPI speed: 8000000 Hz Full transfers per second: 31.91 File /opt/dsf/sd/gcodes/top dome mk 85 helmet by do3d.gcode is selected, processing
The GCode I posted earlier is my "Before Print" Gcode and it's all of it. The next GCode lines are the lines from the print itself but I think that the last completed line is the line 12 of my "Before Print" Gcode because the Tool is still positioned at the end of the purge line and the extruder isn't reset to position 0 as it should be on line 13.
Also I said in my previous post that I didn't have the "Heightmap loaded" notification when it freezes but it was a mistake I do have the "Height map loaded from file heightmap.csv" notification before the freeze. -
I'm getting the same intermittent freezing. Also seems to happen during toolchange procedure. Sometimes before toolchange, sometimes after.
Raspberry pi 4 8gb
Duet 3 MB6HC version 3.2-beta1
1x Toolboard with 3.2-betaM122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.2-beta1 running on Duet 3 MB6HC v1.01 or later (SBC mode) Board ID: 08DJM-956L2-G43S8-6J9FJ-3SJ6Q-980GG Used output buffers: 1 of 40 (22 max) === RTOS === Static ram: 154820 Dynamic ram: 133684 of which 32 recycled Exception stack ram used: 552 Never used ram: 104128 Tasks: HEAT(blocked,278) CanReceiv(blocked,880) CanSender(blocked,345) CanClock(blocked,352) TMC(blocked,18) MAIN(running,719) IDLE(ready,19) Owned mutexes: === Platform === Last reset 02:50:11 ago, cause: software Last software reset at 2020-09-26 15:22, reason: User, LinuxInterface spinning, available RAM 103944, slot 1 Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN Error status: 0x020 MCU temperature: min 36.8, current 37.7, max 39.8 Supply voltage: min 23.9, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0 Driver 0: position 60000, standstill, reads 64470, writes 15 timeouts 0, SG min/max 0/434 Driver 1: position 0, standstill, reads 64469, writes 15 timeouts 0, SG min/max 0/509 Driver 2: position 11840, standstill, reads 64469, writes 15 timeouts 0, SG min/max 0/1023 Driver 3: position 0, standstill, reads 64469, writes 15 timeouts 0, SG min/max 0/1023 Driver 4: position 0, standstill, reads 64469, writes 15 timeouts 0, SG min/max 0/1023 Driver 5: position 0, standstill, reads 64472, writes 13 timeouts 0, SG min/max 0/104 Date/time: 2020-09-26 18:12:52 Slowest loop: 6.35ms; fastest: 0.21ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 375, MinFreeDm: 363, MaxWait: 2714285ms Bed compensation in use: mesh, comp offset 0.018 === MainDDARing === Scheduled moves: 6, completed moves: 6, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === AuxDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 Heater 0 is on, I-accum = 0.3 === GCodes === Segments left: 0 Movement lock held by null HTTP* is ready with "M122" 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. === Network === Slowest loop: 0.00ms; fastest: 5726623.00ms Responder states: HTTP sessions: 0 of 8 - Ethernet - State: disabled Error counts: 0 0 0 0 0 Socket states: 0 0 0 0 0 0 0 0 === CAN === Messages sent 49377, send timeouts 49377, longest wait 2ms for type 6013, free CAN buffers 48 === SBC interface === State: 0, failed transfers: 0 Last transfer: 18ms ago RX/TX seq numbers: 4942/4944 SPI underruns 0, overruns 0 Number of disconnects: 0 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v3.2.0-beta1+1 File: Finishing macro retractprobe0.g, started by G1 X175.548 Y165.520 E1.65142 > Next stack level Suspended code: T0 Suspended code: M109 S205 ; set temperature and wait for it to be reached Suspended code: G21 ; set units to millimeters Suspended code: G90 ; use absolute coordinates Suspended code: M83 ; use relative distances for extrusion Suspended code: ; Filament gcode Suspended code: G1 Z0.350000 F7800.000 Suspended code: G1 E-0.40000 F3000.00000 Suspended code: G1 Z1.250000 F7800.000 Suspended code: G1 X127.199 Y127.882 Suspended code: G1 Z0.350000 Suspended code: G1 E0.45000 F3000.00000 Suspended code: G1 F1800.000 Suspended code: G1 X127.975 Y127.115 E0.05896 Suspended code: G1 X128.827 Y126.432 E0.05896 Suspended code: G1 X129.737 Y125.844 E0.05853 Suspended code: G1 X130.710 Y125.350 E0.05896 Suspended code: G1 X131.721 Y124.961 E0.05853 Suspended code: G1 X132.767 Y124.678 E0.05853 Suspended code: G1 X133.837 Y124.504 E0.05853 Suspended code: G1 X134.982 Y124.439 E0.06199 Suspended code: G1 X165.007 Y124.439 E1.62193 Suspended code: G1 X166.836 Y124.600 E0.09920 Suspended code: G1 X168.610 Y125.076 E0.09920 Suspended code: G1 X170.267 Y125.847 E0.09877 Suspended code: G1 X171.773 Y126.898 E0.09920 Suspended code: G1 X173.074 Y128.194 E0.09920 Suspended code: G1 X174.131 Y129.695 E0.09920 Suspended code: G1 X174.912 Y131.357 E0.09920 Suspended code: G1 X175.392 Y133.122 E0.09877 Pending code: G1 X175.561 Y134.950 E0.09920 Pending code: G1 X175.548 Y165.520 E1.65142 Code buffer space: 4096 Configured SPI speed: 8000000 Hz Full transfers per second: 32.60 File /opt/dsf/sd/gcodes/cube.gcode is selected, processing
-
@Luke-sLaboratory, please try firmware 3.2beta2. We have made major changes to the way communication between the Duet and SBC is handled, which may resolve this.
-
@dc42 WHOO!
apt-get update && upgrade are in my future! I'll give it a chooch and see what happens
-
@dc42 I'm very upset right now - you failed to mention the more important upgrade - ON SCREEN KEYBOARD!!!!!!
-
@dc42 Alright - 3rd Reply - Did Another print, no fail on tool/mesh load! great! However - got a push() Stack overflow error in my console, M122 below it cancelled the print, and cooled down the stuff, which was very nice of it
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.2-beta2 running on Duet 3 MB6HC v0.6 or 1.0 (SBC mode) Board ID: 08DGM-9T66A-G63SJ-6J1DG-3SD6K-9V0MA Used output buffers: 1 of 40 (14 max) === RTOS === Static ram: 157532 Dynamic ram: 138164 of which 44 recycled Exception stack ram used: 528 Never used ram: 96948 Tasks: Linux(ready,20) HEAT(blocked,278) CanReceiv(blocked,873) CanSender(blocked,352) CanClock(blocked,353) TMC(blocked,20) MAIN(running,1208) IDLE(ready,20) Owned mutexes: HTTP(MAIN) === Platform === Last reset 02:55:36 ago, cause: software Last software reset at 2020-10-06 18:29, reason: User, Platform spinning, available RAM 97344, slot 0 Software reset code 0x0000 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task Linu Error status: 0x00 MCU temperature: min 40.0, current 41.8, max 44.7 Supply voltage: min 23.8, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0 Driver 0: position 49600, standstill, reads 53251, writes 27 timeouts 0, SG min/max 0/349 Driver 1: position 46400, standstill, reads 53252, writes 27 timeouts 0, SG min/max 0/365 Driver 2: position 24000, standstill, reads 53256, writes 23 timeouts 0, SG min/max 0/65 Driver 3: position 12300, standstill, reads 53257, writes 23 timeouts 0, SG min/max 0/294 Driver 4: position 0, standstill, reads 53257, writes 23 timeouts 0, SG min/max 0/284 Driver 5: position 0, standstill, reads 53258, writes 23 timeouts 0, SG min/max 0/284 Date/time: 2020-10-06 21:25:17 Slowest loop: 7274.81ms; fastest: 0.21ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 375, MinFreeDm: 373, MaxWait: 2570081ms Bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves: 43, completed moves: 43, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === AuxDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 === GCodes === Segments left: 0 Movement lock held by null HTTP* is ready with "M122" 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. === CAN === Messages sent 42212, send timeouts 42212, longest wait 2ms for type 6013, free CAN buffers 48 === SBC interface === State: 0, failed transfers: 0 Last transfer: 18ms ago RX/TX seq numbers: 44751/16533 SPI underruns 0, overruns 0 Number of disconnects: 0 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v3.2.0-beta2 Code buffer space: 4096 Configured SPI speed: 8000000 Hz Full transfers per second: 32.68