Stall detected on driver(s) 0 1
-
Hi ,
im new member of duet 2 wifi . I used only SKR boards but now i buyed the Duet 2 Wifi . I setuped everithing i think but when i start print and they are home its go to PAUSE with error : Stall detected on driver(s) 0 1 , i press continue and its printing fine but in some layers its stop with error Stall detected on driver 1 .
Sorry for my english .
Thanks for help . -
Do you have stall detection enabled and perhaps tuned to be too sensitive?
Post your config.g, and the results of sending M122 and M98 P"config.g" in the gcode console please.
Also post your homing files and bed.g as well as the slicer start gcode so we can see everything that happens before a print is started.
-
@phaedrux
config.g; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jun 28 2021 17:13:06 GMT+0200 (Central European Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Prusa i3" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.40 Y99.16 Z400.24 E394.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X2000.00 Y2000.00 Z100.00 E10000.00 ; set accelerations (mm/s^2) M906 X650 Y650 Z650 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X-7.5 Y-2 Z0 S1 ; set axis minima M208 X250 Y210 Z240 S0 ; set axis maxima ; Endstops M574 X1 S3 ; configure sensorless endstop for low end on X M574 Y1 S3 ; configure sensorless endstop for low end on Y M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch M558 P9 C"zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X58 Y-38 Z2.30 ; set Z probe trigger value, offset and trigger height M557 X7.5:215 Y9:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat 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"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; 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 ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory M915 X Y S8 R2 ; sensitivity change on motors X and Y
M122
=== Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later Board ID: 08DGM-917NK-F2MS4-7J1D8-3S06K-KZSWD Used output buffers: 3 of 24 (10 max) === RTOS === Static ram: 27980 Dynamic ram: 93836 of which 44 recycled Exception stack ram used: 264 Never used ram: 8948 Tasks: NETWORK(ready,408) HEAT(blocked,1224) MAIN(running,1848) IDLE(ready,80) Owned mutexes: WiFi(NETWORK) === Platform === Last reset 00:01:04 ago, cause: power up Last software reset at 2021-06-29 20:04, reason: User, spinning module GCodes, available RAM 8716 bytes (slot 0) Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN Error status: 0 MCU temperature: min 17.7, current 22.0, max 22.4 Supply voltage: min 12.5, current 12.6, max 12.7, under voltage events: 0, over voltage events: 0, power good: yes Driver 0: standstill, SG min/max not available Driver 1: standstill, SG min/max not available Driver 2: standstill, SG min/max not available Driver 3: standstill, SG min/max not available Driver 4: standstill, SG min/max not available Date/time: 2021-06-30 21:38:35 Cache data hit count 109661540 Slowest loop: 5.14ms; fastest: 0.12ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest read time 3.8ms, write time 0.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms Bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves: 0, completed moves: 0, 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, chamberHeaters = -1 -1 -1 -1 === 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 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 15.57ms; fastest: 0.00ms Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions 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 1.23 WiFi MAC address 60:01:94:2e:9b:35 WiFi Vcc 3.40, reset reason Unknown WiFi flash size 4194304, free heap 23008 WiFi IP address 192.168.0.220 WiFi signal strength -43dBm, reconnections 0, sleep mode modem Socket states: 0 0 0 0 0 0 0 0
M98 P"config.g" HTTP is enabled on port 80 FTP is disabled TELNET is disabled Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 552C
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 27 2021 18:14:24 GMT+0200 (Central European Summer Time) M400 M913 X70 Y70 ; drop motor current to 70% M400 G91 ; relative positioning G1 H2 Z5 F12000 ; lift Z relative to current position G1 H1 X-270 Y-210 F10000 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 Y5 F12000 ; go back a few mm G1 H1 X-270 Y-210 F7000 ; move slowly to X axis endstop once more (second pass) G90 ; absolute positioning M401 ; deploy probe G1 X67 Y148 F10000 ; move to middle of bed plus probe offsets G30 ; home z0 M402 ; retract probe
; homex.g ; called to home the X axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 27 2021 18:14:24 GMT+0200 (Central European Summer Time) M400 M913 X70; drop motor current to 70% M400 G91; relative positioning G1 H2 Z10 F12000 ; lift Z relative to current position G1 H5 X-250 F10000 ; move quickly to X axis endstop and stop there (first pass) G1 H2 X5 F12000 ; go back a few mm G1 H1 X-250 F7000 ; move slowly to X axis endstop once more (second pass) G90 ; absolute positioning M400 M913 X100 ; return current to 100% M400
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 27 2021 18:14:24 GMT+0200 (Central European Summer Time) M400 M913 Y70; drop motor current to 70% M400 G91; relative positioning G1 H2 Z10 F12000 ; lift Z relative to current position G1 H1 Y-210 F10000 ; move quickly to X axis endstop and stop there (first pass) G1 H2 Y5 F12000 ; go back a few mm G1 H1 Y-210 F7000 ; move slowly to X axis endstop once more (second pass) G90 ; absolute positioning M400 M913 Y100 ; return current to 100% M400
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 27 2021 18:14:24 GMT+0200 (Central European Summer Time) ;G91 ; relative positioning ;G90 ; absoute position ;M401 ; deploy probe ;G1 X163 Y129 F1800 ; move to middle of bed plus probe offsets ;G30 ; home z0 ;M402 ; retract probe T0 ; select first hot end G91 ; Relative coordinates G1 Z5 F200 ; Lower bed. G4 P500 ; Dwell for 500ms - to ensure bed is down G90 ; Absolute positioning G1 X35 Y15 F3000 ; Go to first bed probe point and home the Z axis M401 ; Lower Z probe (BLTouch) G30 ; Calibrate Z-axis M402 ; Retract Probe G1 Z1 F200 ; Raise bed to 1mm. ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 Z5 F100 ; lift Z relative to current position ;G90 ; absolute positioning
; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Jun 28 2021 17:13:06 GMT+0200 (Central European Summer Time) M561 ; clear any bed transform G29 ; probe the bed and enable compensation
Prusa Slicer :
Print Start : M140 S[first_layer_bed_temperature] ; set bed temp M190 S[first_layer_bed_temperature] ; wait for bed temp M104 S[first_layer_temperature] ; set extruder temp M109 S[first_layer_temperature] ; wait for extruder temp G28 ; home all axes G92 E0.0 ; reset pozicie G1 X20.0 Y10 F3500.0 ; presun mimo tlace G1 Z0 E9.0 F3000.0 ; start plnenia nozzla G1 X90 E20 F3000.0 ; koniec plnenia nozzla
print end : M104 S0 ; turn off temperature M140 S0 ; turn off heatbed M107 ; turn off fan G92 E0.0 ; reset pocitania extrudera G1 E-15 F2000 ; retrakcia filamentu G1 X0 Y170 F4000.0 ; posun domov po vytlaceni M18 ; vypnutie motorov
-
@savethepetko said in Stall detected on driver(s) 0 1:
M915 X Y S8 R2 ; sensitivity change on motors X and Y
As suspected, you've got stall detection enabled and set to pause when a stall is detected.
https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing
Is your intention to use stall guard for homing purposes only or also for stall detection during a print? You may need to tune separate values for each situation. You could move the M915 command into homeall so that it takes effect for the homing, and then either disable it at the end of homeall, or use a different value tuned better for actual printing.
@savethepetko said in Stall detected on driver(s) 0 1:
M401 ; Lower Z probe (BLTouch) G30 ; Calibrate Z-axis M402 ; Retract Probe
When using BLTouch you do not need to use M401 and M402. It will deploy and retract as needed.
@savethepetko said in Stall detected on driver(s) 0 1:
G1 H2 X5 F12000 ; go back a few mm G1 H1 X-250 F7000 ; move slowly to X axis endstop once more (second pass)
When using stall detection for X Y homing, you don't need the second pass at all. It's already stalled to the nearest full step of the motor. A slower pass won't be more accurate, and in fact moving slower may make it harder to detect a stall at all.
You may want to add T0 to the end of your config.g so that the tool is made ready at startup.
@savethepetko said in Stall detected on driver(s) 0 1:
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
Time to update the firmware as well.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
Upload that zip file as is to the system tab in DWC.
-
okay , i will change
M915 X Y S8 R2 to R1
remove m401 and m402
and remove the second pass for stall .
it will be okay ?If i update the firmware i lost my data ?
-
@savethepetko said in Stall detected on driver(s) 0 1:
If i update the firmware i lost my data ?
No, your configuration is totally separate.
-
-
Never hurts to make a backup of your SD card anyway.
-
@phaedrux
do you know something about BLTouch , i removed the M401 and M402 and now for start its dol home Z with error :G28
Error: Probe already triggered at start of probing move
Error: G0/G1: insufficient axes homed -
Does your BLtouch work if you send a single G30 command?
-
@phaedrux
Yes it works when i send G30 -
Please post your homeall.g as it is now.
It sounds like the BLtouch was in error state when you tried G28.
Is X and Y homing correctly first?
-
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 27 2021 18:14:24 GMT+0200 (Central European Summer Time)
M400
M913 X70 Y70 ; drop motor current to 70%
M400 G91 ; relative positioning
G1 H2 Z5 F12000 ; lift Z relative to current position
G1 H1 X-270 Y-210 F10000 ; move quickly to X axis endstop and stop there
G90 ; absolute
G1 X67 Y148 F10000 ; move to middle of bed plus probe offsets
G30 ; home z0Sometimes going home okay when i start the printer and sometimes when i turn on the printer the bltouch wont light red and when i run homeall its go in the middle and stop with this error.
-
@savethepetko said in Stall detected on driver(s) 0 1:
Sometimes going home okay when i start the printer and sometimes when i turn on the printer the bltouch wont light red and when i run homeall its go in the middle and stop with this error.
Sounds like your pin might be getting stuck on the self-test?
At the start of your homeall and at the end of config.g try adding these commands to clear any errors on the bltouch and ensure the pin is retracted.
M280 P0 S160 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed G4 S1 M402 ; Retract probe just in case it's down