Duet just stopping mid-print
-
Hi, my Duet just decided to stop mid print on the spot. It is as if i hit the Emergency stop button, but all the motors are active and the heaters are still being managed too. It is as if it hit a feed F0 in the code.
There is no warning and it is as if the duet is still printing. When i hit pause, nothing happens, and i can´t resume. I have to reset it and restart from that Z height in the slicer.
This has now happened twice in the last 6 hours. I am printing Lithophanes and the file is unusually large (31 Mb for ~7 hours printing)
Any idea what could cause such a behaviour?
This is the M122 report after the printer has stopped, but before the restart:M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later
Board ID: 08DGM-917NK-F23T0-6J9DJ-3S86S-TWBWD
Used output buffers: 3 of 24 (9 max)
=== RTOS ===
Static ram: 25680
Dynamic ram: 94004 of which 0 recycled
Exception stack ram used: 484
Never used ram: 10904
Tasks: NETWORK(ready,524) HEAT(blocked,1128) MAIN(running,3772) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 08:31:04 ago, cause: software
Last software reset at 2019-09-05 05:34, reason: User, spinning module GCodes, available RAM 10904 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 16
Free file entries: 9
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 295.3ms, max retries 0
MCU temperature: min 41.6, current 44.2, max 46.3
Supply voltage: min 24.3, current 24.5, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max 0/1023
Driver 1: standstill, SG min/max 0/1023
Driver 2: standstill, SG min/max 0/1023
Driver 3: standstill, SG min/max 0/1023
Driver 4: standstill, SG min/max not available
Date/time: 2019-09-05 14:05:57
Cache data hit count 4294967295
Slowest loop: 122.48ms; fastest: 0.07ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 10265739, FreeDm: 116, MinFreeDm: 106, MaxWait: 525943ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 536423, completed moves: 536383, StepErrors: 0, LaErrors: 0, Underruns: 0, 7
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
Heater 0 is on, I-accum = 0.2
Heater 1 is on, I-accum = 0.2
=== GCodes ===
Segments left: 1
Stack records: 1 allocated, 0 in use
Movement lock held by null
http is idle in state(s) 0
telnet is idle in state(s) 0
file is doing "G1 X148.921 Y206.890 E0.0013" in state(s) 0
serial is idle in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 295.79ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.23
WiFi MAC address b4:e6:2d:52:f6:45
WiFi Vcc 3.34, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 24472
WiFi IP address 192.168.0.93
WiFi signal strength -58dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
Hi
Are you sure its a Duet issue ?
Have you tried an other file in case its a file or slicer issue, if you find it is a slicing issue try slicing the same file in another slicer.
-
Here is the layer where it stopped (Z= 8.48)
Somewhere in there it just stopped, but i could not find an F0 o similar. -
This post is deleted! -
@nitrofreak said in Duet just stopping mid-print:
Error status: 16
Here's your clue. Error status 16 means "An SD card operation timed out", so you might like to try duplicating your current files onto a new microSD card and seeing if that helps.
-
@grizewald Where are the error status codes explained?
-
@doctrucker said in Duet just stopping mid-print:
@grizewald Where are the error status codes explained?
Here: https://duet3d.dozuki.com/Wiki/Error_codes_and_software_reset_codes
There's a catch though. The firmware prints out the error code in base 10 but the page I linked to shows them in base 16 as each error code is one bit in an 8 bit byte.
I got caught out by this to start with, so you need to convert the error code value in the M122 report to base 16 first to relate the report to the documentation.
-
@grizewald said in Duet just stopping mid-print:
@doctrucker said in Duet just stopping mid-print:
@grizewald Where are the error status codes explained?
Here: https://duet3d.dozuki.com/Wiki/Error_codes_and_software_reset_codes
There's a catch though. The firmware prints out the error code in base 10 but the page I linked to shows them in base 16 as each error code is one bit in an 8 bit byte.
I got caught out by this to start with, so you need to convert the error code value in the M122 report to base 16 first to relate the report to the documentation.
Thanks a lot!
What could cause the SD card to time out? I´m using the original Duet SD card, not even half a year old? -
@nitrofreak said in Duet just stopping mid-print:
What could cause the SD card to time out? I´m using the original Duet SD card, not even half a year old?
Sometimes things fail for no good reason. Note that I'm not saying that the SD card error is definitely the cause of your problem, but as that's the only error I can see in the M122 report, swapping the microSD card for another one is a simple enough thing to try.
-
What's with all these bits? Seems like a lot of really tiny moves? Could that appear as it sitting idle? Could all the comment lines be choking it? I've never seen gcode like that. What slicer?
; tool H0.160 W0.263 G1 X97.907 Y193.559 E0.0096 F1200 ; tool H0.160 W0.279 G1 X97.901 Y193.796 E0.0041 ; tool H0.160 W0.292 G1 X97.901 Y193.875 E0.0014 ; tool H0.160 W0.303 G1 X97.921 Y194.980 E0.0210 ; tool H0.160 W0.313 G1 X97.922 Y195.059 E0.0015 ; tool H0.160 W0.308 G1 X97.938 Y195.453 E0.0076 ; tool H0.160 W0.299 G1 X97.943 Y195.532 E0.0015 ; tool H0.160 W0.289 G1 X97.955 Y195.690 E0.0029 ; tool H0.160 W0.277 G1 X97.961 Y195.771 E0.0014 ; tool H0.160 W0.271 G1 X97.968 Y195.849 E0.0013 ; tool H0.160 W0.250 G1 X98.017 Y196.385 E0.0084 ; tool H0.160 W0.231 G1 X98.024 Y196.461 E0.0011 ; tool H0.160 W0.248 G1 X98.049 Y197.229 E0.0119 ; tool H0.160 W0.269 G1 X98.052 Y197.307 E0.0013 ; tool H0.160 W0.274 G1 X98.055 Y197.386 E0.0013 ; tool H0.160 W0.295 G1 X98.077 Y197.846 E0.0085 ; tool H0.160 W0.314 G1 X98.082 Y197.923 E0.0015 ; tool H0.160 W0.310 G1 X98.139 Y198.535 E0.0119 ; tool H0.160 W0.302 G1 X98.149 Y198.611 E0.0015 ; tool H0.160 W0.291 G1 X98.169 Y198.763 E0.0028 ; tool H0.160 W0.280 G1 X98.180 Y198.842 E0.0014 ; tool H0.160 W0.274 G1 X98.192 Y198.922 E0.0014 ; tool H0.160 W0.269 G1 X98.203 Y199.000 E0.0013 ; tool H0.160 W0.264 G1 X98.215 Y199.078 E0.0013 ; tool H0.160 W0.270 G1 X98.300 Y199.863 E0.0133 ; tool H0.160 W0.276 G1 X98.311 Y199.941 E0.0014 ; tool H0.160 W0.269 G1 X98.353 Y200.254 E0.0053 ; tool H0.160 W0.262 G1 X98.364 Y200.333 E0.0013 ; tool H0.160 W0.258 G1 X98.376 Y200.411 E0.0013 ; tool H0.160 W0.235 G1 X98.460 Y200.957 E0.0081 ; tool H0.160 W0.213 G1 X98.472 Y201.035 E0.0011 ; tool H0.160 W0.211 G1 X98.481 Y201.115 E0.0011 ; tool H0.160 W0.213 G1 X98.491 Y201.193 E0.0010 ; tool H0.160 W0.220 G1 X98.521 Y201.422 E0.0032 ; tool H0.160 W0.226 G1 X98.531 Y201.498 E0.0011 ; tool H0.160 W0.233 G1 X98.537 Y201.574 E0.0011 ; tool H0.160 W0.247 G1 X98.551 Y201.728 E0.0024 ; tool H0.160 W0.258 G1 X98.561 Y201.804 E0.0012 ; tool H0.160 W0.260 G1 X98.572 Y201.880 E0.0012 ; tool H0.160 W0.246 G1 X98.655 Y202.333 E0.0071 ; tool H0.160 W0.230 G1 X98.669 Y202.409 E0.0011 G1 X98.679 Y202.485 E0.0011 ; tool H0.160 W0.231 G1 X98.690 Y202.561 E0.0011 ; tool H0.160 W0.234 G1 X98.700 Y202.639 E0.0011 ; tool H0.160 W0.237 G1 X98.711 Y202.716 E0.0012 ; tool H0.160 W0.253 G1 X98.779 Y203.171 E0.0073 ; tool H0.160 W0.266 G1 X98.793 Y203.246 E0.0013 ; tool H0.160 W0.255 G1 X98.925 Y203.922 E0.0110 ; tool H0.160 W0.244 G1 X98.938 Y203.998 E0.0012 ; tool H0.160 W0.248 G1 X98.948 Y204.074 E0.0012 ; tool H0.160 W0.254 G1 X98.959 Y204.151 E0.0012 ; tool H0.160 W0.261 G1 X98.970 Y204.229 E0.0013 ; tool H0.160 W0.286 G1 X99.028 Y204.608 E0.0069 ; tool H0.160 W0.311 G1 X99.039 Y204.684 E0.0015 ; tool H0.160 W0.317 G1 X99.052 Y204.759 E0.0015 ; tool H0.160 W0.310 G1 X99.232 Y205.582 E0.0163 ; tool H0.160 W0.297 G1 X99.250 Y205.659 E0.0015 ; tool H0.160 W0.292 G1 X99.271 Y205.735 E0.0014 ; tool H0.160 W0.266 G1 X99.432 Y206.326 E0.0102 ; tool H0.160 W0.241 G1 X99.452 Y206.400 E0.0012 ; tool H0.160 W0.240 G1 X99.468 Y206.475 E0.0011 ; tool H0.160 W0.244 G1 X99.534 Y206.774 E0.0047 ; tool H0.160 W0.253 G1 X99.547 Y206.850 E0.0012 ; tool H0.160 W0.268 G1 X99.571 Y207.001 E0.0026 ; tool H0.160 W0.283 G1 X99.584 Y207.077 E0.0014 ; tool H0.160 W0.290 G1 X99.600 Y207.154 E0.0014 ; tool H0.160 W0.296 G1 X99.616 Y207.231 E0.0015 ; tool H0.160 W0.317 G1 X99.715 Y207.680 E0.0091 ; tool H0.160 W0.339 G1 X99.731 Y207.755 E0.0016 ; tool H0.160 W0.342 G1 X99.769 Y207.903 E0.0033 G1 X99.789 Y207.977 E0.0016 ; tool H0.160 W0.341 G1 X99.848 Y208.199 E0.0049 ; tool H0.160 W0.337 G1 X99.870 Y208.273 E0.0016 ; tool H0.160 W0.318 G1 X99.964 Y208.565 E0.0061 ; tool H0.160 W0.298 G1 X99.986 Y208.640 E0.0015 ; tool H0.160 W0.295 G1 X100.009 Y208.715 E0.0014 ; tool H0.160 W0.287 G1 X100.121 Y209.081 E0.0069 ; tool H0.160 W0.280 G1 X100.144 Y209.154 E0.0013 ; tool H0.160 W0.288 G1 X100.391 Y210.040 E0.0165 ; tool H0.160 W0.297 G1 X100.412 Y210.115 E0.0015 ; tool H0.160 W0.300 G1 X100.434 Y210.191 E0.0015 ; tool H0.160 W0.307 G1 X100.498 Y210.411 E0.0044 ; tool H0.160 W0.313 G1 X100.521 Y210.484 E0.0015 ; tool H0.160 W0.320 G1 X100.632 Y210.851 E0.0077 ; tool H0.160 W0.323 G1 X100.657 Y210.923 E0.0015 ; tool H0.160 W0.317 G1 X100.707 Y211.068 E0.0030 ; tool H0.160 W0.312 G1 X100.731 Y211.141 E0.0015 ; tool H0.160 W0.321 G1 X100.838 Y211.509 E0.0077 ; tool H0.160 W0.331 G1 X100.862 Y211.584 E0.0016 G1 X100.888 Y211.658 E0.0016 ; tool H0.160 W0.329 G1 X100.914 Y211.730 E0.0016 ; tool H0.160 W0.328 G1 X100.940 Y211.802 E0.0016 ; tool H0.160 W0.317 G1 X101.024 Y212.017 E0.0046 ; tool H0.160 W0.307 G1 X101.050 Y212.089 E0.0015 ; tool H0.160 W0.314 G1 X101.194 Y212.527 E0.0091 ; tool H0.160 W0.323 G1 X101.218 Y212.600 E0.0016 ; tool H0.160 W0.318 G1 X101.349 Y212.961 E0.0076 ; tool H0.160 W0.311 G1 X101.377 Y213.035 E0.0015 ; tool H0.160 W0.310 G1 X101.406 Y213.111 E0.0016 G1 X101.519 Y213.406 E0.0061 ; tool H0.160 W0.311 G1 X101.547 Y213.480 E0.0015 ; tool H0.160 W0.316 G1 X101.599 Y213.629 E0.0031 ; tool H0.160 W0.323 G1 X101.625 Y213.703 E0.0016 ; tool H0.160 W0.319 G1 X102.168 Y215.102 E0.0300 ; tool H0.160 W0.314 G1 X102.198 Y215.178 E0.0016 G1 X102.228 Y215.251 E0.0016 ; tool H0.160 W0.325 G1 X102.489 Y215.891 E0.0140 ; tool H0.160 W0.333 G1 X102.519 Y215.961 E0.0016 ; tool H0.160 W0.329 G1 X102.581 Y216.102 E0.0032 ; tool H0.160 W0.326 G1 X102.612 Y216.172 E0.0016 ; tool H0.160 W0.333 G1 X102.754 Y216.529 E0.0080 ; tool H0.160 W0.342 G1 X102.784 Y216.602 E0.0017 ; tool H0.160 W0.344 G1 X102.816 Y216.674 E0.0017 ; tool H0.160 W0.337 G1 X102.980 Y217.020 E0.0081 ; tool H0.160 W0.329 G1 X103.013 Y217.089 E0.0016 G1 X103.043 Y217.160 E0.0016 ; tool H0.160 W0.341 G1 X103.224 Y217.582 E0.0098 ; tool H0.160 W0.350 G1 X103.256 Y217.652 E0.0017 ; tool H0.160 W0.349 G1 X103.384 Y217.930 E0.0067 ; tool H0.160 W0.347 G1 X103.417 Y218.002 E0.0017 G1 X103.451 Y218.073 E0.0017 ; tool H0.160 W0.354 G1 X103.748 Y218.697 E0.0153 ; tool H0.160 W0.358 G1 X103.783 Y218.766 E0.0017 ; tool H0.160 W0.350 G1 X103.923 Y219.039 E0.0067 ; tool H0.160 W0.342 G1 X103.957 Y219.108 E0.0016 ; tool H0.160 W0.344 G1 X104.056 Y219.316 E0.0049 ; tool H0.160 W0.346 G1 X104.090 Y219.388 E0.0017 ; tool H0.160 W0.349 G1 X104.126 Y219.461 E0.0018 ; tool H0.160 W0.353 G1 X104.162 Y219.532 E0.0017 ; tool H0.160 W0.356 G1 X104.198 Y219.602 E0.0018 ; tool H0.160 W0.354 G1 X104.458 Y220.089 E0.0122 G1 X104.493 Y220.160 E0.0017 ; tool H0.160 W0.363 G1 X104.669 Y220.513 E0.0090 ; tool H0.160 W0.372 G1 X104.706 Y220.583 E0.0018 ; tool H0.160 W0.365 G1 X104.860 Y220.859 E0.0072 ; tool H0.160 W0.355 G1 X104.899 Y220.928 E0.0018 ; tool H0.160 W0.338 G1 X105.022 Y221.131 E0.0050 ; tool H0.160 W0.322 G1 X105.061 Y221.199 E0.0016 ; tool H0.160 W0.320 G1 X105.134 Y221.339 E0.0032 G1 X105.172 Y221.411 E0.0016 ; tool H0.160 W0.321 G1 X105.210 Y221.481 E0.0016 ; tool H0.160 W0.328 G1 X105.358 Y221.751 E0.0063 ; tool H0.160 W0.334 G1 X105.396 Y221.818 E0.0016 ; tool H0.160 W0.330 G1 X105.628 Y222.218 E0.0095 ; tool H0.160 W0.326 G1 X105.666 Y222.285 E0.0016 ; tool H0.160 W0.335 G1 X105.887 Y222.690 E0.0097 ; tool H0.160 W0.345 G1 X105.926 Y222.760 E0.0017 ; tool H0.160 W0.346 G1 X105.969 Y222.830 E0.0018 ; tool H0.160 W0.342 G1 X106.054 Y222.963 E0.0034 ; tool H0.160 W0.340 G1 X106.094 Y223.030 E0.0017 ; tool H0.160 W0.348 G1 X106.253 Y223.303 E0.0069 ; tool H0.160 W0.356 G1 X106.295 Y223.371 E0.0018 ; tool H0.160 W0.353 G1 X106.338 Y223.437 E0.0017 ; tool H0.160 W0.330 G1 X106.480 Y223.628 E0.0049 ; tool H0.160 W0.296 G1 X106.574 Y223.755 E0.0029 ; tool H0.160 W0.275 G1 X106.621 Y223.819 E0.0014 ; tool H0.160 W0.264 G1 X106.666 Y223.883 E0.0013 ; tool H0.160 W0.235 G1 X106.893 Y224.207 E0.0058 ; tool H0.160 W0.197 G1 X107.029 Y224.402 E0.0029 ; tool H0.160 W0.180 G1 X107.073 Y224.468 E0.0009 ; tool H0.160 W0.179 G1 X107.154 Y224.603 E0.0018 ; tool H0.160 W0.180 G1 X107.196 Y224.672 E0.0009 ; tool H0.160 W0.183 G1 X107.238 Y224.738 E0.0009 ; tool H0.160 W0.188 G1 X107.320 Y224.868 E0.0018 ; tool H0.160 W0.190 G1 X107.364 Y224.932 E0.0009 ; tool H0.160 W0.182 G1 X107.454 Y225.057 E0.0018 ; tool H0.160 W0.174 G1 X107.497 Y225.120 E0.0008 ; tool H0.160 W0.181 G1 X107.745 Y225.510 E0.0052 ; tool H0.160 W0.191 G1 X107.786 Y225.575 E0.0009 ; tool H0.160 W0.205 G1 X107.818 Y225.646 E0.0010 ; tool H0.160 W0.250 G1 X107.875 Y225.793 E0.0025 ; tool H0.160 W0.299 G1 X107.904 Y225.866 E0.0015 G1 X107.961 Y225.921 E0.0015 ; tool H0.160 W0.255 G1 X108.026 Y225.972 E0.0013 ; tool H0.160 W0.206 G1 X108.089 Y226.021 E0.0010 ; tool H0.160 W0.160 G1 X108.150 Y226.068 E0.0008 ; tool H0.160 W0.114 G1 X108.211 Y226.114 E0.0006 ; tool H0.160 W0.080 G1 X108.272 Y226.161 E0.0004 G1 E-1.3000 F1500 ; tool H0.160 W0.400 ; inner perimeter
I would suggest making a backup of the SD card, wiping it with the SD Formatter tool and putting the contents back on.