Firmware update - Board stuck
-
@tom33 it sounds that the firmware installation failed. I suggest you use Bossa to update it. See https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_All_other_Duet_boards.
-
@dc42
Problem solve with bossa and reflash the firmware, but now when I home my axis go back twice in the oposite direction...I have not the problem with the firmware 3.2.2
My home.x for example :
G91 ; relative positioning
G1 H1 X1005 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X-5 F1500 ; go back a few mm
;G4 S0.5
G1 H1 X6 F600 ; move slowly to X axis endstop once more (second pass)
G1 H2 X-5 F1500
G90 ; absolute positioningTo correct the problem I add a G4 S0.5 when the problem occur but I think this is not the good solution.
and when I send the command one by one erything work well
-
This post is deleted! -
@tom33 said in Firmware update - Board stuck:
G1 H2 X-5 F1500 ; go back a few mm
;G4 S0.5
G1 H1 X6 F600 ; move slowly to X axis endstop once more (second pass)
G1 H2 X-5 F1500Can you remove the H2 and try again. They should not be required because the axis will be homed at that point. Having the H2 will ignore homed status, which could mean that it masks a homing switch error.
-
@tom33 is this machine Cartesian, CoreXY, or some other kinematics?
-
@dc42 This is a cartesian cinematics
-
Please post your full config.g and the results of M122 and M98 P"config.g"
-
@phaedrux I re-write my homex like you said and now it's good but I still have the problem during a print sometimes my X and Y axis are going in the wrong direction
-
@phaedrux
M122 :
M122=== Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.3 (2021-06-15 21:45:47) running on Duet 3 MB6HC v1.01 or later (standalone mode) Board ID: 08DJM-9P63L-DJ3T0-6J9DL-3S06S-K81H9 Used output buffers: 3 of 40 (18 max) === RTOS === Static ram: 150904 Dynamic ram: 94228 of which 144 recycled Never used RAM 106060, free system stack 155 words Tasks: NETWORK(ready,26.8%,224) ETHERNET(notifyWait,0.1%,126) HEAT(delaying,0.0%,325) Move(notifyWait,0.1%,262) CanReceiv(notifyWait,0.0%,822) CanSender(notifyWait,0.0%,362) CanClock(delaying,0.0%,339) TMC(notifyWait,7.9%,93) MAIN(running,64.9%,1114) IDLE(ready,0.1%,29), total 100.0% Owned mutexes: === Platform === Last reset 00:03:37 ago, cause: software Last software reset at 2021-06-19 11:30, reason: User, GCodes spinning, available RAM 106060, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Step timer max interval 175 MCU temperature: min 36.1, current 36.4, max 36.7 Supply voltage: min 24.0, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.2, current 12.3, max 12.3, under voltage events: 0 Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/164/164, gc cycles 0 Driver 0: position 160000, standstill, reads 22232, writes 20 timeouts 0, SG min/max 0/0 Driver 1: position 0, standstill, reads 22235, writes 17 timeouts 0, SG min/max 0/0 Driver 2: position 0, standstill, reads 22235, writes 17 timeouts 0, SG min/max 0/0 Driver 3: position 0, standstill, reads 22236, writes 17 timeouts 0, SG min/max 0/0 Driver 4: position 0, standstill, reads 22236, writes 17 timeouts 0, SG min/max 0/0 Driver 5: position 0, standstill, reads 22242, writes 11 timeouts 0, SG min/max 0/0 Date/time: 2021-06-19 11:34:26 Slowest loop: 136.74ms; fastest: 0.03ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 25.0MBytes/sec SD card longest read time 0.8ms, write time 0.0ms, max retries 0 === Move === DMs created 125, maxWait 25223ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 1750, completed moves 1750, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 1743, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 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, chamberHeaters = 3 -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 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: no data received Extruder 1: no data received === CAN === Messages queued 3752, received 40, lost 0, longest wait 1ms for reply type 6018, peak Tx sync delay 13, free buffers 49 (min 47), ts 1088/1087/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 154.33ms; fastest: 0.02ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions HTTP sessions: 1 of 8 - Ethernet - State: active Error counts: 0 0 0 0 0 Socket states: 2 2 2 2 2 0 0 0
M122 B10
Diagnostics for board 10: Duet EXP1XD firmware version 3.3 (2021-06-15 16:12:29) Bootloader ID: SAMC21 bootloader version 2.0 (2020-10-15b1) Never used RAM 5504, free system stack 2743 words Tasks: Move(notifyWait,0.2%,111) HEAT(delaying,0.0%,117) CanAsync(notifyWait,0.0%,60) CanRecv(notifyWait,0.0%,75) CanClock(notifyWait,0.0%,64) MAIN(running,96.1%,443) IDLE(ready,0.0%,41) AIN(delaying,3.6%,142), total 100.0% Last reset 00:04:49 ago, cause: software Last software reset time unknown, reason: HardFault, available RAM 2372, slot 0 Software reset code 0x0060 ICSR 0x0400f003 SP 0x200037f8 Task MAIN Freestk 4294967295 ok Stack: 41000000 00000000 41000000 68184b01 41000000 0000cee9 0001065a 61000000 200027f0 000007a6 41000000 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 0000d6c7 a5a5a5a5 0000d767 a5a5a5a5 00011f85 a5a5a5a5 00000000 0000c6b5 Driver 0: position 154240, 320.0 steps/mm, steps req 915200 done 762560 Moves scheduled 1318, completed 1318, in progress 0, hiccups 0, step errors 0, maxPrep 509, maxOverdue 5238614, maxInc 144004, mcErrs 0, gcmErrs 0 Peak sync jitter 0/5, peak Rx sync delay 215, resyncs 0/0, no step interrupt scheduled VIN: 24.3V MCU temperature: min 25.3C, current 25.5C, max 25.7C Ticks since heat task active 244, ADC conversions started 144993, completed 144993, timed out 0, errs 0 Last sensors broadcast 0x00000000 found 0 248 ticks ago, loop time 0 CAN messages queued 46, send timeouts 0, received 3831, lost 563, free buffers 37, min 0, error reg 0 dup 0, oos 368/34/0/0, bm 909, wbm 144004, rxMotionDelay 49138, adv -1369366/37186
-
@phaedrux
M98 P"config.g"
Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 621C
Error: Unknown pin name 'io1.in+20.io1.in+20.io2.in'
Error: No power fail script providedand config.g
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Mar 31 2021 11:16:46 GMT+0200 (heure d’été d’Europe centrale) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"XXX" M451 ; Network ;M552 S1 PXXXXXX ; Enable Networking ;M553 PXXXXX ;M586 P0 S1 ; Enable HTTP ;M586 P1 S0 ; Disable FTP ;M586 P2 S0 ; Disable Telnet ; Drives ;G4 S5 M569 P0 S1 ; Drive 0 T0 Extrudeur Gauche M569 P1 S1 ; Drive 1 T1 Extrudeur Droit M569 P2 S1 ; Drive 2 T0 Extrudeur Bobine Gauche M569 P3 S1 ; Drive 3 T1 Extrudeur Bobine Droit M569 P4 S1 ; Drive 4 T1 Montée / Descente tête ;G4 S5 M569 P10.0 S0 R0 T6.25:5:5:0 ; Drive 10.0 X change enable polarity, active = disable drive T6.25:6.25:6.25:6.25 M569 P20.0 S0 R0 T6.25:5:5:0 ; Drive 20.0 Y Attention Vérifier VAleur T data sheet driver moteur T2.5:2.5:5:0 M569 P30.0 S0 R0 T6.25:5:5:0 ; Drive 30.0 Z ;G4 S5 M584 X10.0 Y20.0 Z30.0 A3 B4 C0 E1:2 ; set drive mapping M350 E16:16 I1 ; configure microstepping without interpolation ;M350 X32 Y32 Z16 I1 M350 A16 B16 C16 I1 ; configure microstepping with interpolation M92 X320 Y320 Z160 A582 B582 C300 E834:834 ; set steps per mm M566 X250 Y250 Z150 A500 B500 C50 E500:500 ; set maximum instantaneous speed changes (mm/min) M203 X12000 Y12000 Z3000 A1200 B1200 C10000 E1200:1200 ; set maximum speeds (mm/min) M201 X1000 Y500 Z50 A500 B500 C500 E500:500 ; set accelerations (mm/s^2) M906 A1200 B1200 C500 E600:600 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S60 ; Set idle timeout M913 C100 ; Courant moteur Axe C 50% ; Axis Limits M208 X0:1030 Y0:525 Z0:534.3 A-10000:10000 B-10000:10000 ; Endstops M574 X2 S1 P"!10.io1.in" ; configure active-high endstop for low end on X via pin io0.in M574 Y2 S1 P"!20.io2.in" ; configure active-high endstop for low end on Y via pin io2.in ;P"!io3.in" "!20.io1.in" M574 Z2 S1 P"!30.io1.in" ; configure active-high endstop for low end on Z via pin io4.in ;P"!io4.in" "!30.io1.in" M574 A0 M574 B0 ;M574 C1 S3 ;Stall Detection ;M915 C S2 F0 H200 R0 ; Coupler ;M915 P1 S1 F0 H280 R0 ; Coupler ; Z-Probe M558 P5 C"!io4.in" H15 F120 T6000 ; set Z probe type to switch and the dive height + speeds "!io8.in" G31 P500 X0 Y0 Z-2.4 ; set Z probe trigger value, offset and trigger height M557 X15:985 Y15:485 S100 ;define mesh grid ;M558 K1 P5 C"io3.in" ; tool probe ; Heaters ; Bed heater M308 S0 P"temp0" Y"thermistor" A"Plateau chauffant" T100000 B4138 C0 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out5" 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 ; Tool 0 heater M308 S1 P"temp1" Y"thermistor" A"E0" T98640 B4632.86 C9.4861662E-08 H0 L0 ; Set thermistor M307 H1 B0 R1.463 C407.7:407.7 D20.33 S1.00 V24.0 ; Reduce R value by 20% after PID tuning M570 H1 P60 T35 S120 M950 H1 C"out1" T1 ; Extruder 0 heater M143 H1 S300 ; Set temperature limit for heater 1 to 300C ;Tool 1 heater M308 S2 P"temp2" Y"thermistor" A"E1" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2 M307 H2 B0 S1.00 M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2 M143 H2 S280 ; set temperature limit for heater 2 to 280C ;Heat chamber M308 S3 P"temp3" Y"thermistor" A"Chambre" T100000 B4138 ; configure sensor 3 as thermistor on pin temp3 M950 H3 C"out3" T3 ; create chamber heater output on out3 and map it to sensor 3 M307 H3 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 H3 ; map chamber to heater 3 M143 H3 S100 ; set temperature limit for heater 3 to 100C ; Tools M563 P0 S"E0" D0 H1 F0 ; Define Extruder 0 drive 0 Heater 1 Fan 0 G10 P0 X0 Y0 Z0 C5 ; Set offset G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C M563 P1 S"E1" D1 H2 F1 ; Define Extruder 1 drive 1 Heater 2 Fan 1 G10 P1 X0 Y0 Z0 C10 ; set tool 1 axis offsets Essais Z offset pour déplacement axe C G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ;Filament Monitor M591 P3 C"io5.in" S1 D0 ; filament monitor connected to E0_stop M591 P4 C"io6.in" S1 D1 ; filament monitor connected to E0_stop ; Fans M950 F0 C"out7" ; create fan 1 on pin out5 and set its frequency M950 F1 C"out8" ; create fan 2 on pin out6 and set its frequency ;M106 P0 S255 H1:2 T20 ; set fan 0 value. Thermostatic control is turned on M106 P0 S0 M106 P1 S0 ; set fan 2 value. Thermostatic control is turned on ;Servo ;M950 S0 C"out5" ;Q500 ; Servo Montée / Descente ;M950 S6 C"io5.out" ; Servo B0 ;M950 S8 C"io7.out" ; Servo B1 ;Input M950 J0 C"!io0.in" ; Arret d'urgence M581 T0 P0 S0 R0 ; T0 --> M112 Arret d'urgence M950 J1 C"io1.in" ; Pause / Play trigger 2.g M581 T2 P1 S0 R0 ; T6 --> M25 Pause / Play M950 J2 C"io2.in" ; Pause / Stop trigger 3.g M581 T3 P2 S0 R0 ; Stop M950 J3 C"io3.in" ; Door M581 T4 P3 S1 R0 ; Door M950 J4 C"10.io1.in+20.io1.in+20.io2.in" ; Endstop Min X Y Z M581 T5 P5 S1 R0 ; trigger 5 min ;M950 J6 C"20.io2.in" ; Endstop Min Y ;M950 J7 C"30.io2.in" ; Endstop Min Z ;M581 T4 X Y Z S1 ; invoke trigger 4 when the X or Y endstop switch is triggered ;M581 T4 P5:6:7 S1 R1 ; invoke trigger 4 when an inactive-to-active edge is detected on input 0 or input 3 and a file is being printed from SD card ;Output M950 P0 C"10.out1" ; Verrouillage porte M950 P7 C"out4" ; Relais freins moteurs Z M150 X0 ; set LED type to NeoPixel and set SPI frequency to 3MHz ; Custom settings are not defined ;M593 F50 ; cancel ringing at 50Hz (https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/) M376 H15 ; bed compensation taper ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S22.0 R22.5 ; P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" set voltage thresholds and actions to run on power loss
-
@tom33 said in Firmware update - Board stuck:
I still have the problem during a print sometimes my X and Y axis are going in the wrong direction
What exactly do you mean by that? When do they go the wrong way?
@tom33 said in Firmware update - Board stuck:
Error: Unknown pin name 'io1.in+20.io1.in+20.io2.in'
How many boards do you actually have?
-
@phaedrux dc42 advice me to change the parameters with M569 command.
My setup is :- Duet 3
- 1 Expansion 1XD (X axis)
- 1 Expansion 1XD (Y axis)
- 1 Expansion 1XD (Z axis)
For "What exactly do you mean by that? When do they go the wrong way?"
I made a gcode for testing each axis separatly with just + and - movement
G91
G1 X-25 F9000
G1 X25
G1 X-25
...
...
G1 X25
G90And sometimes the motor is going in the wrong direction, instead of doing X25 and X-25 the motor go twice in X25 direction.
It's not a problem with the Gcode. I've cheked twice the Gcode and I havn't the problem with 3.2.2 firmware.