Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Firmware 3.3 beta 1 - extruder skipping steps

    Scheduled Pinned Locked Moved
    Beta Firmware
    2
    9
    496
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Argoundefined
      Argo
      last edited by

      Hardware: Duet 3 Mini 5+

      Beginning with the first layer the extruder is skipping steps.
      Latest stable release 3.2.2 does not have this issue.

      I resetted the printer and directly started the print for a clean M122 report.

      M122 Report:

      === Diagnostics ===
      RepRapFirmware for Duet 3 Mini 5+ version 3.3beta1 running on Duet 3 Mini5plus Ethernet (standalone mode)
      Board ID: ZDWF8-8296U-D65J0-40KMU-J603Z-77MM8
      Used output buffers: 1 of 40 (15 max)
      === RTOS ===
      Static ram: 98792
      Dynamic ram: 101784 of which 48 recycled
      Never used RAM 41088, free system stack 132 words
      Tasks: NETWORK(ready,246) ETHERNET(notifyWait,569) HEAT(delaying,299) CanReceiv(notifyWait,944) CanSender(notifyWait,357) CanClock(delaying,341) TMC(notifyWait,99) MAIN(running,381) IDLE(ready,20) AIN(delaying,260)
      Owned mutexes:
      === Platform ===
      Last reset 00:02:02 ago, cause: software
      Last software reset at 2021-02-27 01:18, reason: User, GCodes spinning, available RAM 41088, slot 1
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      Aux1 errors 0,0,0
      Supply voltage: min 0.0, current 23.5, max 23.8, under voltage events: 0, over voltage events: 0, power good: yes
      Driver 0: position 2000, standstill, SG min/max 0/436, read errors 0, write errors 1, ifcnt 106, reads 17384, writes 15, timeouts 0, DMA errors 0
      Driver 1: position 0, standstill, SG min/max 0/434, read errors 0, write errors 1, ifcnt 106, reads 17378, writes 15, timeouts 5, DMA errors 0, failedOp 0x01
      Driver 2: position 4080, standstill, SG min/max 0/344, read errors 0, write errors 1, ifcnt 102, reads 17382, writes 14, timeouts 2, DMA errors 0, failedOp 0x72
      Driver 3: position 0, standstill, SG min/max 0/346, read errors 0, write errors 1, ifcnt 86, reads 17379, writes 11, timeouts 8, DMA errors 0, failedOp 0x01
      Driver 4: position 0, standstill, SG min/max 0/332, read errors 0, write errors 1, ifcnt 102, reads 17385, writes 14, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-02-27 01:20:39
      Cache data hit count 180361052
      Slowest loop: 103.66ms; fastest: 0.07ms
      === Storage ===
      Free file entries: 9
      SD card 0 detected, interface speed: 22.5MBytes/sec
      SD card longest read time 4.3ms, write time 16.9ms, max retries 0
      === Move ===
      DMs created 83, maxWait 37563ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 112, completed moves 112, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 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, chamberHeaters = -1 -1
      Heater 0 is on, I-accum = 0.3
      Heater 1 is on, I-accum = 0.2
      === 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 doing "G1 X137.175 Y92.825 E0.77477" 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 sensor: ok
      === CAN ===
      Messages queued 1114, send timeouts 1111, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 17)
      === Network ===
      Slowest loop: 23.59ms; fastest: 0.03ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) 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
      

      Config:

      ; General preferences
      G90                                         ; Send absolute coordinates...
      M83                                         ; ...but relative extruder moves
      
      ; Network
      M550 P"Pruset II MK3s"                        ; Set machine name
      M552 S1                                     ; Enable network
      ;*** Access point is configured manually via M587
      M586 P0 S1                                  ; Enable HTTP
      M586 P1 S0                                  ; Disable FTP
      M586 P2 S0                                  ; Disable Telnet
      M575 P1 S1 B57600							; Panel Due
      
      ; Drive Mappings
      M569 P0.0 S1 V0                              ; Drive 0 goes forwards: X Axis
      M569 P0.1 S0 V0                            ; Drive 1 goes backwards: Y Axis
      M569 P0.2 S1 V0                            ; Drive 2 goes backwards: Z Axis
      M569 P0.3 S1 V0                           ; Drive 3 goes forwards: E Axis
      M569 P0.4 S1 V0                          ; Drive 4 goes backwards: Z Axis (at E1)
      
      ; Micrpstepping and Speed
      M350 X32 Y32 E16 Z16 I1                     ; Configure microstepping with interpolation
      M92 X200.00 Y200.00 Z400.00 E415.00         ; Set steps per mm
      
      ; Speeds, Acceleration and Jerk
      M566 X240.00 Y240.00 Z24.00 E270.00 P1      ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z720.00 E1200.00   ; Set maximum speeds (mm/min)
      M201 X1200.00 Y1200.00 Z1000.00 E500.00    ; Set accelerations (mm/s^2)
      M204 P1200.0 T1200.0   						 ; set print and travel accelerations (mm(s^2)
      
      ; Motor currents
      M906 X500.00 Y550.00 Z500.00 E520.00 I10    ; Set motor currents (mA) and motor idle factor in percent
      M84 S30                                     ; Set idle timeout
      
      
      ; Motor remapping for dual Z and axis Limits
      M584 X0 Y1 Z2:4 E3				; two Z motors connected to driver outputs Z and E1
      M671 X-37:287 Y0:0 S10			; leadscrews at left (connected to Z) and right (connected to E1) of X axis
      
      ; Printer geometry
      M208 X0:250 Y-4:215 Z-0.3:205  ; X carriage moves from 0 to 250, Y bed goes from 0 to 210
      M564 H0							; allow unhomed movement
      
      ; Endstops for each Axis
      M574 X1 S3								 ; Set endstops controlled by motor load detection
      M574 Y1 S3                               ; Set endstops controlled by motor load detection
      
      ; Stallgaurd Sensitivy
      M915 X S-1 F0 H200 R0		                ; Set X axis Sensitivity
      M915 Y S-1 F0 H200 R0		                ; Set y axis Sensitivity
      
      ; Z-Probe Super PINDA
      M574 Z1 S2 ; Set endstops controlled by probe
      M558 P5 C"^io3.in" I1 H1 F1000 T6000 A25 S0.005 ; PINDA
      
      ; Probing Mesh Grid and Sheets
      M557 X24:221 Y10:195 P8                     ; Define mesh grid for probing
      ;G31 P1000 X23 Y5 Z1.580 	                 ; Textured Sheet
      G31 P1000 X23 Y5 Z1.275 					; PEI
      
      ; Heatbed Heaters and Thermistor Bed 
      M308 S0 P"temp0" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 0 Bed
      M950 H0 C"out0" T0						; Creates Bed Heater
      M307 H0 A117.2 C382.7 D10.8 V23.2 B0         ; Bed PID Calibration and PWM
      M140 H0										; Bed uses Heater 0
      M143 H0 S120                                ; Set temperature limit for heater 0 to 120C Bed
      
      
      ; HotEnd Heaters and Thermistor HotEnd      
      M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8  ;define E0 temperature sensor e3d
      M950 H1 C"out1" T1					; Create HotEnd Heater
      M307 H1 A244.7 C85.1 D3.4 V23.7 B0		; Hotend PID Calibration and PWM
      M143 H1 S285                            ; Set temperature limit for heater 1 to 285C HotEnd
      M302 S185 R185
      
      ; Fans
      M950 F1 C"out5" Q250				; Creates HOTEND Fan
      M106 P1 T45 S255 H1                 ; HOTEND Fan Settings
      M950 F0 C"out6" Q250				; Creates PARTS COOLING FAN
      M106 P0 H-1                         ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off PARTS COOLING FAN
      
      ; 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
      
      
      
      M98 P"0:/macros/02_Functions/StartupFilamentSensorCheck"  ; Runout Sensor Logic: Startup with filament = runout sensor active   Startup without filament = autoload active
      
      
      
      
      
      
      
      
      
      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @Argo said in Firmware 3.3 beta 1 - extruder skipping steps:

        M569 P0.3 S1 V0 ; Drive 3 goes forwards: E Axis

        dont run the extruder in stealtchop as than can cause it to skip.
        its better to run it in spreadcycle.

        Argoundefined 2 Replies Last reply Reply Quote 0
        • Argoundefined
          Argo @Veti
          last edited by

          @Veti

          I understand that StealthChop has is limits but this is happening already at a very slow first layer with 20 mm/s speed and almost no retractions.
          The latest stable release does not have the issue but sensorless homing is bugged with that version.

          On GitHub I see commits from 2-3 days ago like „ Fixed bug in new CalcNextStepTimeCartesian code“.
          Maybe this is related?

          1 Reply Last reply Reply Quote 0
          • Argoundefined
            Argo
            last edited by Argo

            Left side 3.2.2, right side 3.3 beta 1. I tried the beta file from GitHub and also the file vom this folder: https://www.dropbox.com/sh/q5uqqkjbmhgvlhq/AACYqG0ynLME9ogoLd1zLB2Xa?dl=0&lst=

            Flashing back to 3.2.2. and the problem is gone but sensorless homing is again painfull to hear.

            alt text

            1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti
              last edited by

              is the printing slower? the change in surface points to either printing hotter or slower

              Argoundefined 1 Reply Last reply Reply Quote 0
              • Argoundefined
                Argo @Veti
                last edited by

                @Veti

                It's the lightning. Settings were 1:1 the same.
                There is also another thread with someone having driver timeouts with 3.3b1.

                Driver 0: position 2000, standstill, SG min/max 0/436, read errors 0, write errors 1, ifcnt 106, reads 17384, writes 15, timeouts 0, DMA errors 0
                Driver 1: position 0, standstill, SG min/max 0/434, read errors 0, write errors 1, ifcnt 106, reads 17378, writes 15, timeouts 5, DMA errors 0, failedOp 0x01
                Driver 2: position 4080, standstill, SG min/max 0/344, read errors 0, write errors 1, ifcnt 102, reads 17382, writes 14, timeouts 2, DMA errors 0, failedOp 0x72
                Driver 3: position 0, standstill, SG min/max 0/346, read errors 0, write errors 1, ifcnt 86, reads 17379, writes 11, **timeouts 8**, DMA errors 0, failedOp 0x01
                Driver 4: position 0, standstill, SG min/max 0/332, read errors 0, write errors 1, ifcnt 102, reads 17385, writes 14, timeouts 0, DMA errors 0
                

                I don't know if the latest commits fix the issue. I don't get eclipse working properly with my Mac as I'd like to compile the newest beta FW.

                1 Reply Last reply Reply Quote 0
                • Vetiundefined
                  Veti
                  last edited by

                  @dc42 this is one for you

                  1 Reply Last reply Reply Quote 0
                  • Argoundefined
                    Argo @Veti
                    last edited by

                    @Veti said in Firmware 3.3 beta 1 - extruder skipping steps:

                    @Argo said in Firmware 3.3 beta 1 - extruder skipping steps:

                    M569 P0.3 S1 V0 ; Drive 3 goes forwards: E Axis

                    dont run the extruder in stealtchop as than can cause it to skip.
                    its better to run it in spreadcycle.

                    For testing purposes I switched the extruder so SpreadCycle.
                    Observation: Almost no extrusion at all and the motor behaves like it is constantly skipping steps.

                    1 Reply Last reply Reply Quote 0
                    • Argoundefined
                      Argo
                      last edited by Argo

                      I've compiled a stable 3.2.2. firmware (Duet 3 Mini 5+) with the TMC22xx.cpp fix from 3.3b1, so sensorless homing does work without loud crashing 😃
                      Now, after 2-3 full days of experimenting, time to enjoy this nice new board a bit.

                      If anyone needs it, here you go: https://www.file-upload.net/download-14505164/Duet3Firmware_Mini5plus.uf2.zip.html

                      1 Reply Last reply Reply Quote 3
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA