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

    RepRapFirmware 3.6.0-alpha.4+3 available for testing

    Scheduled Pinned Locked Moved
    Beta Firmware
    17
    88
    5.9k
    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.
    • dc42undefined
      dc42 administrators
      last edited by dc42

      I've posted the latest RRF 3.6 builds at https://www.dropbox.com/scl/fo/11sr8rwqogb2khks06648/ALTHIHIOxnk9HqiAaR18Q6k?rlkey=xky4ymfqk6r7x373vzn270tu0&dl=0. If you are running an earlier 3.6.-alpha build, please upgrade to these files. The change log is at https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x-Beta#reprapfirmware-360-alpha43.

      EDIT: latest build is now at https://www.dropbox.com/scl/fo/u79134f365jdacqsm0km3/AKMSKB_Fz63WH4hqLkIphuQ?rlkey=bpa9lja4jylkpu9syjfp31rho&dl=0. The main build binaries are version 3.6.0-alpha.5+1. Expansion board binaries are 3.6.0-alpha.5.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      Adrian52undefined balajiramaniundefined 2 Replies Last reply Reply Quote 3
      • dc42undefined dc42 referenced this topic
      • Adrian52undefined
        Adrian52 @dc42
        last edited by

        @dc42 When trying the new alpha4+3, I get "movement halted step timing error occurred (code 3) Please reset the controller"
        Got same error with two different files. Duet2wifi standalone on a linear delta
        M122 following error:

        m122
        === Diagnostics ===
        RepRapFirmware for Duet 2 WiFi/Ethernet version 3.6.0-alpha.4+3 (2024-08-28 10:03:28) running on Duet WiFi 1.0 or 1.01
        Board ID: 08DAM-999TL-MQ4SD-6J9FD-3SJ6J-K593W
        Used output buffers: 3 of 26 (24 max)
        === RTOS ===
        Static ram: 23360
        Dynamic ram: 66712 of which 12 recycled
        Never used RAM 16112, free system stack 112 words
        Tasks: NETWORK(2,nWait 6,13.1%,222) HEAT(3,nWait 5,0.1%,328) Move(4,invalid,4.8%,266) MAIN(1,running,82.0%,832) IDLE(0,ready,0.0%,29), total 100.0%
        Owned mutexes: WiFi(NETWORK)
        === Platform ===
        Last reset 00:38:48 ago, cause: power up
        Last software reset at 2024-08-24 14:15, reason: User, Gcodes spinning, available RAM 25120, slot 1
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
        Error status: 0x00
        Aux0 errors 0,0,0
        MCU temperature: min 36.1, current 38.1, max 39.1
        Supply voltage: min 24.1, current 24.3, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
        Heap OK, handles allocated/used 99/2, heap memory allocated/used/recyclable 2048/60/0, gc cycles 0
        Events: 0 queued, 0 completed
        Date/time: 2024-08-28 21:43:15
        Slowest loop: 213.94ms; fastest: 0.13ms
        I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
        === Storage ===
        Free file entries: 9
        SD card 0 detected, interface speed: 20.0MBytes/sec
        SD card longest read time 10.1ms, write time 0.0ms, max retries 0
        === Move ===
        Segments created 495, maxWait 54217ms, bed comp in use: none, height map offset 0.000, hiccups added 7 (0.25ms), max steps late 0, ebfmin 0.00, ebfmax 0.00
        Pos req/act/dcf: 66607.00/66935/-0.71 68379.00/68333/0.81 68571.00/68351/0.46
        no step interrupt scheduled
        Driver 0: standstill, SG min 0
        Driver 1: standstill, SG min 0
        Driver 2: standstill, SG min 0
        Driver 3: standstill, SG min 0
        Driver 4: standstill, SG min 0
        Driver 5: 
        Driver 6: 
        Driver 7: 
        Driver 8: 
        Driver 9: 
        Driver 10: 
        Driver 11: 
        === DDARing 0 ===
        Scheduled moves 242824, completed 242785, LaErrors 0, Underruns [0, 0, 0]
        === Heat ===
        Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
        Heater 0 is on, I-accum = 0.3
        Heater 1 is on, I-accum = 0.4
        === GCodes ===
        Movement locks held by null
        HTTP is idle in state(s) 0
        Telnet is idle in state(s) 0
        File is idle in state(s) 3
        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
        Daemon is idle in state(s) 0
        Autopause is idle in state(s) 0
        Q0 segments left 17
        Code queue 0 is empty
        === Filament sensors ===
        check 6729139 clear 1019682
        Extruder 0: pos 4.41, brightness 27, shutter 117, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
        === Network ===
        Slowest loop: 21.17ms; fastest: 0.07ms
        Responder states: HTTP(0) HTTP(1) HTTP(1) FTP(0) Telnet(0)
        HTTP sessions: 1 of 8
        === WiFi ===
        Interface state: active
        Module is connected to access point 
        Failed messages: pending 0, notrdy 0, noresp 0
        Firmware version 2.1.0
        MAC address 5c:cf:7f:2c:24:6b
        Module reset reason: Turned on by main processor, Vcc 3.38, flash size 4194304, free heap 41984
        WiFi IP address 192.168.1.16
        Signal strength -46dBm, channel 4, mode 802.11n, reconnections 0
        Clock register 00002002
        Socket states: 5 0 3 3 0 0 0 0
        28/08/2024, 21:42:39 	Error: Movement halted because a step timing error occurred (code 3). Please reset the controller.
        28/08/2024, 21:08:45 	M32 "0:/gcodes/OrcaCube_225.gcode"
        File 0:/gcodes/OrcaCube_225.gcode selected for printing
        
        1 Reply Last reply Reply Quote 1
        • edspedundefined
          edsped
          last edited by

          I had the same issue....

          timing error.jpg

          gloomyandyundefined 1 Reply Last reply Reply Quote 0
          • gloomyandyundefined
            gloomyandy @edsped
            last edited by

            @edsped What sort of printer are you using? What controller board?

            1 Reply Last reply Reply Quote 0
            • curieosundefined
              curieos
              last edited by curieos

              It appears I too had this issue. I completed the exact same print twice on alpha 4. I didn't have my computer on to catch the error in the log, but my print was halted and it did not respond to a pause. As the log says, Duet 3 Mini 5+ wifi, and I have a Fly RRF 36 toolboard (on 3.5.2). This is on a Micron (miniaturized Voron 2.4).

              M122
              === Diagnostics ===
              RepRapFirmware for Duet 3 Mini 5+ version 3.6.0-alpha.4+3 (2024-08-28 10:03:49) running on Duet 3 Mini5plus WiFi (standalone mode)
              Board ID: 3SKZN-BQ6KL-K65J0-409NS-K1X1Z-ZFT7Y
              Used output buffers: 3 of 40 (23 max)
              === RTOS ===
              Static ram: 92328
              Dynamic ram: 98920 of which 0 recycled
              Never used RAM 37916, free system stack 128 words
              Tasks: NETWORK(2,nWait 7,13.5%,179) HEAT(3,nWait 6,0.0%,325) Move(4,invalid,0.2%,247) TMC(4,nWait 6,1.6%,65) CanReceiv(6,nWait 1,0.1%,771) CanSender(5,nWait 7,0.0%,327) CanClock(7,delaying,0.0%,348) MAIN(1,running,83.7%,665) IDLE(0,ready,0.0%,29) AIN(4,delaying,0.8%,255), total 100.0%
              Owned mutexes:
              === Platform ===
              Last reset 19:27:32 ago, cause: software
              Last software reset at 2024-08-27 14:00, reason: User, Gcodes spinning, available RAM 6052, slot 2
              Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00487000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
              Error status: 0x00
              MCU temperature: min 38.7, current 40.4, max 43.2
              Supply voltage: min 23.6, current 23.9, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
              Heap OK, handles allocated/used 99/10, heap memory allocated/used/recyclable 2048/832/624, gc cycles 0
              Events: 1 queued, 1 completed
              Date/time: 2024-08-29 08:58:29
              Slowest loop: 226.13ms; fastest: 0.12ms
              === Storage ===
              Free file entries: 19
              SD card 0 detected, interface speed: 22.5MBytes/sec
              SD card longest read time 7.8ms, write time 0.0ms, max retries 0
              === Move ===
              Segments created 366, maxWait 152501ms, bed comp in use: mesh, height map offset 0.000, hiccups added 0 (0.00/0.00ms), max steps late 1, ebfmin 0.00, ebfmax 0.00
              Pos req/act/dcf: 23270.00/23909/-0.08 -1963.00/-2663/0.85 86222.00/86221/-0.00
              no step interrupt scheduled
              Driver 0: standstill, SG min 0, read errors 0, write errors 1, ifcnt 109, reads 11371, writes 19, timeouts 0, DMA errors 0, CC errors 0
              Driver 1: standstill, SG min 0, read errors 0, write errors 1, ifcnt 109, reads 11371, writes 19, timeouts 0, DMA errors 0, CC errors 0
              Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 112, reads 11369, writes 20, timeouts 0, DMA errors 0, CC errors 0
              Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 112, reads 11369, writes 20, timeouts 0, DMA errors 0, CC errors 0
              Driver 4: standstill, SG min 0, read errors 0, write errors 1, ifcnt 112, reads 11370, writes 20, timeouts 0, DMA errors 0, CC errors 0
              Driver 5: standstill, SG min 0, read errors 0, write errors 1, ifcnt 112, reads 11370, writes 20, timeouts 0, DMA errors 0, CC errors 0
              Driver 6: standstill, SG min 0, read errors 0, write errors 1, ifcnt 54, reads 11379, writes 10, timeouts 0, DMA errors 0, CC errors 0
              === DDARing 0 ===
              Scheduled moves 267477, completed 267437, LaErrors 0, Underruns [0, 0, 0]
              === DDARing 1 ===
              Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
              === Heat ===
              Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
              Heater 0 is on, I-accum = 0.2
              Heater 1 is on, I-accum = 0.0
              === GCodes ===
              Movement locks held by null, null
              HTTP is idle in state(s) 0
              Telnet is idle in state(s) 0
              File is doing "G1 X53.835 Y60.773 E.0219" 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
              File2 is idle in state(s) 0
              Queue2 is idle in state(s) 0
              Q0 segments left 1, axes/extruders owned 0x0000807
              Code queue 0 is empty
              Q1 segments left 0, axes/extruders owned 0x0000000
              Code queue 1 is empty
              === CAN ===
              Messages queued 886806, received 1401380, lost 0, ignored 0, errs 1, boc 0
              Longest wait 2ms for reply type 6039, peak Tx sync delay 282, free buffers 26 (min 25), ts 350263/350262/0
              Tx timeouts 0,0,0,0,0,0
              === Network ===
              Slowest loop: 18.02ms; fastest: 0.00ms
              Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
              HTTP sessions: 1 of 8
              === WiFi ===
              Interface state: active
              Module is connected to access point 
              Failed messages: pending 0, notrdy 0, noresp 0
              Firmware version 2.1.0
              MAC address e8:68:e7:e1:4d:a8
              Module reset reason: Power up, Vcc 3.36, flash size 2097152, free heap 42012
              WiFi IP address 192.168.1.2
              Signal strength -48dBm, channel 11, mode 802.11n, reconnections 0
              Clock register 00002001
              Socket states: 3 0 0 0 0 0 0 0
              

              Edit: I'd also like to report that there wasn't an improvement in pressure advance behavior. Should I be running a 3.6 alpha on my toolboard too?

              She/Her
              I work at a local 3D printing shop.
              Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

              1 Reply Last reply Reply Quote 0
              • balajiramaniundefined
                balajiramani @dc42
                last edited by

                @dc42 I just tried this version on the linear delta and the bed calibration bug still exists.

                @Adrian52, since you have a linear delta, are you able to run a bed calibration?

                Thanks,
                Balaji

                Adrian52undefined 1 Reply Last reply Reply Quote 0
                • Adrian52undefined
                  Adrian52 @balajiramani
                  last edited by

                  @balajiramani I run delta calibration using the smart effector probe without any obvious problem, with residual error usually under 0.02. I normally don't need to use mesh compensation.

                  Exerqtorundefined balajiramaniundefined 2 Replies Last reply Reply Quote 0
                  • Exerqtorundefined
                    Exerqtor @Adrian52
                    last edited by

                    Just the the update earlier this evening and started a test print, and now I'm experiencing the same step timing issue as mentioned above.

                    D3 Mini with 1LC in standalone mode.

                    There printer is currently halted with this error message:

                    30.8.2024, 18:29:54	Error: Movement halted because a step timing error occurred (code 3). Please reset the controller.
                    30.8.2024, 17:55:27	ABS filament loaded
                    ABS filament loaded & config applied
                    30.8.2024, 17:54:49	16 points probed, min error -0.030, max error 0.016, mean -0.012, deviation 0.013
                    Height map saved to file 0:/sys/heightmap.csv
                    Height map saved to file 0:/sys/adaptive_heightmap.csv
                    30.8.2024, 17:54:18	Default grid: X10.0:340.0, Y10.0:340.0, Number of points: X12 Y12, 144 points
                    Adaptive grid: X120.833:229.167, Y120.833:229.136, Number of points: X4 Y4, 16 points
                    30.8.2024, 17:53:57	M32 "0:/gcodes/ringing_text_test_0.2mm_ABS_0.4n_48m59s.gcode"
                    File 0:/gcodes/ringing_text_test_0.2mm_ABS_0.4n_48m59s.gcode selected for printing
                    

                    This is the M122 outputs:

                    30.8.2024, 20:23:58	M122
                    === Diagnostics ===
                    RepRapFirmware for Duet 3 Mini 5+ version 3.6.0-alpha.4+3 (2024-08-28 10:03:49) running on Duet 3 Mini5plus WiFi (standalone mode)
                    Board ID: XNHXF-HR6KL-K65J0-409N2-K9W1Z-RV2MZ
                    Used output buffers: 11 of 40 (37 max)
                    === RTOS ===
                    Static ram: 92328
                    Dynamic ram: 95720 of which 0 recycled
                    Never used RAM 45628, free system stack 126 words
                    Tasks: NETWORK(1,ready,19.3%,179) HEAT(3,nWait 6,0.0%,325) Move(4,invalid,0.0%,247) TMC(4,nWait 6,0.9%,65) CanReceiv(6,nWait 1,0.1%,794) CanSender(5,nWait 7,0.0%,327) CanClock(7,delaying,0.0%,339) MAIN(1,running,77.6%,627) IDLE(0,ready,1.4%,29) AIN(4,delaying,0.8%,259), total 100.0%
                    Owned mutexes:
                    === Platform ===
                    Last reset 02:41:46 ago, cause: software
                    Last software reset at 2024-08-30 17:42, reason: User, Gcodes spinning, available RAM 52612, slot 0
                    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
                    MCU temperature: min 45.7, current 46.0, max 46.0
                    Supply voltage: min 23.9, current 24.1, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
                    Heap OK, handles allocated/used 99/34, heap memory allocated/used/recyclable 2048/916/440, gc cycles 2170
                    Events: 0 queued, 0 completed
                    Date/time: 2024-08-30 20:23:53
                    Slowest loop: 46.99ms; fastest: 0.13ms
                    === Storage ===
                    Free file entries: 17
                    SD card 0 detected, interface speed: 22.5MBytes/sec
                    SD card longest read time 5.7ms, write time 7.2ms, max retries 0
                    === Move ===
                    Segments created 178, maxWait 0ms, bed comp in use: mesh, height map offset 0.000, hiccups added 0 (0.00/39.68ms), max steps late 0, ebfmin 0.00, ebfmax 0.00
                    Pos req/act/dcf: -3086.00/-3086/0.45 -23971.00/-23971/0.43 33160.00/33160/-0.00
                    no step interrupt scheduled
                    Driver 0: standstill, SG min 8, read errors 0, write errors 0, ifcnt 47, reads 1350, writes 0, timeouts 0, DMA errors 0, CC errors 0
                    Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 47, reads 1350, writes 0, timeouts 0, DMA errors 0, CC errors 0
                    Driver 2: standstill, SG min 2, read errors 0, write errors 0, ifcnt 22, reads 1350, writes 0, timeouts 0, DMA errors 0, CC errors 0
                    Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 22, reads 1350, writes 0, timeouts 0, DMA errors 0, CC errors 0
                    Driver 4: standstill, SG min 2, read errors 0, write errors 0, ifcnt 23, reads 1350, writes 0, timeouts 0, DMA errors 0, CC errors 0
                    Driver 5: not present
                    Driver 6: not present
                    === DDARing 0 ===
                    Scheduled moves 66586, completed 66560, LaErrors 0, Underruns [0, 0, 0]
                    === DDARing 1 ===
                    Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
                    === Heat ===
                    Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
                    Heater 0 is on, I-accum = 0.4
                    Heater 1 is on, I-accum = 0.0
                    === GCodes ===
                    Movement locks held by null, null
                    HTTP is idle in state(s) 0
                    Telnet is idle in state(s) 0
                    File is doing "G1 X192.529 Y130.297 E.90485" 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 doing "G4 P250" in state(s) 0 0, running macro
                    Aux2 is idle in state(s) 0
                    Autopause is idle in state(s) 0
                    File2 is idle in state(s) 0
                    Queue2 is idle in state(s) 0
                    Q0 segments left 1, axes/extruders owned 0x0000807
                    Code queue 0 is empty
                    Q1 segments left 0, axes/extruders owned 0x0000000
                    Code queue 1 is empty
                    === Filament sensors ===
                    check 0 clear 0
                    Extruder 0 sensor: no filament
                    === CAN ===
                    Messages queued 247, received 600, lost 0, ignored 0, errs 0, boc 0
                    Longest wait 6ms for reply type 6024, peak Tx sync delay 132, free buffers 26 (min 25), ts 128/128/0
                    Tx timeouts 0,0,0,0,0,0
                    === Network ===
                    Slowest loop: 20.21ms; fastest: 0.07ms
                    Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                    HTTP sessions: 1 of 8
                    === WiFi ===
                    Interface state: active
                    Module is connected to access point 
                    Failed messages: pending 0, notrdy 0, noresp 0
                    Firmware version 2.1.0
                    MAC address c4:5b:be:ce:91:93
                    Module reset reason: Power up, Vcc 3.37, flash size 2097152, free heap 43044
                    WiFi IP address 192.168.30.50
                    Signal strength -50dBm, channel 1, mode 802.11n, reconnections 0
                    Clock register 00002001
                    Socket states: 0 0 0 0 0 0 0 0
                    30.8.2024, 20:23:54	M122 B121
                    Diagnostics for board 121:
                    Duet TOOL1LC rev 1.1 or later firmware version 3.6.0-alpha.4+3 (2024-08-28 11:24:12)
                    Bootloader ID: SAMC21 bootloader version 2.8 (2023-07-25)
                    All averaging filters OK
                    Never used RAM 6672, free system stack 79 words
                    Tasks: Move(3,nWait 7,0.0%,84) TMC(2,delaying,3.6%,52) HEAT(2,nWait 6,0.4%,88) CanAsync(5,nWait 4,0.0%,48) CanRecv(3,nWait 1,0.0%,70) CanClock(5,nWait 1,0.0%,58) ACCEL(3,nWait 6,0.0%,52) MAIN(1,running,91.0%,318) IDLE(0,ready,0.0%,26) AIN(2,delaying,5.0%,112), total 100.0%
                    Owned mutexes:
                    Last reset 02:41:43 ago, cause: power up
                    Last software reset at 2024-03-12 16:55, reason: StackOverflow, available RAM 2968, slot 0
                    Software reset code 0x0100 ICSR 0x0042600e SP 0x20007f34 Task Move Freestk 3342 ok
                    Stack: 20004a80 20004ab4 0001cf33 20004c98 20004938 00000000 0001c011 20003320 fffffffd a5a5a5a5 00000000 20007f8c 00000000 20007f8c 0001cc97 00000000 200017c4 20001748 0001c4d7 20001748 200017c4 00000032 454c4449 00022700 0001ac77 200018e0 200018e0
                    Moves scheduled 65223, hiccups 0 (39.68/39.68ms), segs 58, step errors 0 (types 0x0), maxLate 0 maxPrep 0, ebfmin 0.00 max 0.00
                    Peak sync jitter -1/8, peak Rx sync delay 199, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 3459548387 ticks, disabled
                    VIN voltage: min 24.5, current 24.5, max 24.6
                    MCU temperature: min 41.1C, current 75.3C, max 75.5C
                    Driver 0: pos 2824553, 568.8 steps/mm, standstill, SG min 2, read errors 0, write errors 0, ifcnt 12, reads 9061, writes 0, timeouts 0, DMA errors 0, CC errors 0
                    Last sensors broadcast 0x00000012 found 2 164 ticks ago, 0 ordering errs, loop time 0
                    CAN messages queued 405, send timeouts 0, received 171, lost 0, ignored 0, errs 0, boc 0, free buffers 18, min 18, error reg 0
                    dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
                    Accelerometer: LIS3DH, status: 00
                    I2C bus errors 0, naks 0, contentions 0, other errors 0
                    === Filament sensors ===
                    Interrupt 5726621 to 0us, poll 9 to 925us
                    Driver 0: ok
                    
                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @Exerqtor
                      last edited by dc42

                      Thanks everyone, looks like we are getting a lot more step error code 3 than before with this build.

                      We've found a few other issues too:

                      • After a homing move there was sometimes a short pause before movement resumes. This is now fixed in the 3.6-dev source code. It may affect probing moves too.
                      • When an endstop switch is triggered during a homing move and the drivers concerned are on an expansion board, it's normal for the expansion board motor(s) to overshoot very slightly and then move back to the correct position. However, in this release the overshoot is often somewhat greater than it is in RRF 3.5.3-rc1, resulting in a noticeable jolt. This occurs with main board firmware 3.6.0-alpha.4+3 even if the expansion board is running firmware 3.5.3-rc.1.
                      • When EXP1HCL boards running 3.6.0-alpha.4+3 firmware are used in open loop mode, the start and end of the moves are jerky. Closed loop and assisted open loop modes work properly. This probably affects M23CL motors too.

                      I won't be able to fix these issues for a while because of other commitments.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 2
                      • gloomyandyundefined
                        gloomyandy
                        last edited by

                        Folks if anyone has a print that generates a "Movement halted error" after a short time (so relatively early in the print) can you please post the gcode file and the config.g file for the printer. That way we can try and reproduce the issue.

                        @Exerqtor did your error occur on the first print after a printer restart or had you already printed a previous file? I ask because your m122 is showing a hiccup delay, but no hiccups (maybe you have run m122 more than once after the failure). If this was the second print that failed can you test to see if the same print fails as the first print after the printer is restarted?

                        Exerqtorundefined 1 Reply Last reply Reply Quote 0
                        • balajiramaniundefined
                          balajiramani @Adrian52
                          last edited by

                          @Adrian52 I haven't been able to run a successful delta calibration with the 3.6.0 firmware. This was not an issue in 3.5.2. The head crashes into the bed. The movement is not straight from one probe point to the other and it more of a 'U' shaped move. Can you post your bed.g, so that I can compare it with what I have?

                          Thanks,
                          Balaji

                          dc42undefined Adrian52undefined 2 Replies Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators @balajiramani
                            last edited by dc42

                            @balajiramani a U shaped move suggests that the auto-generated travel move is not being segmented. Please run M669 without parameters, to check that segmentation hasn't been disabled. Also please send M115 to verify that you really are running the latest alpha firmware.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            balajiramaniundefined 1 Reply Last reply Reply Quote 0
                            • balajiramaniundefined
                              balajiramani @dc42
                              last edited by

                              @dc42 Here are the output of the commands:

                              8/31/2024, 1:20:52 PM	M115
                              FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.6.0-alpha.4+3 ELECTRONICS: Duet WiFi 1.0 or 1.01 FIRMWARE_DATE: 2024-08-28 10:03:28
                              8/31/2024, 1:20:40 PM	M669
                              Kinematics is Linear delta, 100 segments/sec, min. segment length 0.20mm
                              
                              dc42undefined 2 Replies Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators @balajiramani
                                last edited by dc42

                                Those of you with the code 3 errors, how long was the print running? I think I've just found a bug that could cause a code 3 error if a print was running about 47 minutes after the Duet 3 was booted up (about 38 minutes for Duet 2).

                                Duet WiFi hardware designer and firmware engineer
                                Please do not ask me for Duet support via PM or email, use the forum
                                http://www.escher3d.com, https://miscsolutions.wordpress.com

                                tasundefined Adrian52undefined curieosundefined 3 Replies Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @balajiramani
                                  last edited by

                                  @balajiramani thanks. Are you sure that the delta radius and rod length are set to approximately the correct value before calibration? I don't think anyone else has reported issues with delta calibration running recent 3.6.0 alpha versions, and calibration works perfectly on my own delta. So I am wondering whether the reason for the U-shaped moves is that either the rod length or delta radius is set incorrectly. Possibly there is an error in your M665 or M666 command and RRF 3.6 responds differently to that error. So please run M665 and M666 without parameters and check that the reported values are as expected.

                                  Duet WiFi hardware designer and firmware engineer
                                  Please do not ask me for Duet support via PM or email, use the forum
                                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                                  balajiramaniundefined 1 Reply Last reply Reply Quote 0
                                  • tasundefined
                                    tas @dc42
                                    last edited by

                                    @dc42 Duet 2 Wifi on an Ender 5 plus stopped with the code 3 error. Your 38 minute mark sounds about right but I don't have an exact time when it stopped.

                                    I installed 3.5.3 rc1 and ran the same gcode without issues.

                                    1 Reply Last reply Reply Quote 0
                                    • Exerqtorundefined
                                      Exerqtor @gloomyandy
                                      last edited by Exerqtor

                                      @gloomyandy said in RepRapFirmware 3.6.0-alpha.4+3 available for testing:

                                      Folks if anyone has a print that generates a "Movement halted error" after a short time (so relatively early in the print) can you please post the gcode file and the config.g file for the printer. That way we can try and reproduce the issue.

                                      For me it happened roughly 35min into the print.

                                      @Exerqtor did your error occur on the first print after a printer restart or had you already printed a previous file? I ask because your m122 is showing a hiccup delay, but no hiccups (maybe you have run m122 more than once after the failure). If this was the second print that failed can you test to see if the same print fails as the first print after the printer is restarted?

                                      Yeah it was the first print after the update! And you're right, it was the second M122 output. Here is the first output (including the print startinfo, error message etc:

                                      30.8.2024, 20:23:36	M122 B121
                                      Diagnostics for board 121:
                                      Duet TOOL1LC rev 1.1 or later firmware version 3.6.0-alpha.4+3 (2024-08-28 11:24:12)
                                      Bootloader ID: SAMC21 bootloader version 2.8 (2023-07-25)
                                      All averaging filters OK
                                      Never used RAM 6672, free system stack 79 words
                                      Tasks: Move(3,nWait 7,0.3%,84) TMC(2,nWait 6,3.6%,52) HEAT(2,nWait 6,0.4%,88) CanAsync(5,nWait 4,0.0%,48) CanRecv(3,nWait 1,0.1%,70) CanClock(5,nWait 1,0.0%,58) ACCEL(3,nWait 6,0.0%,52) MAIN(1,running,90.5%,318) IDLE(0,ready,0.0%,26) AIN(2,delaying,5.0%,112), total 100.0%
                                      Owned mutexes:
                                      Last reset 02:41:25 ago, cause: power up
                                      Last software reset at 2024-03-12 16:55, reason: StackOverflow, available RAM 2968, slot 0
                                      Software reset code 0x0100 ICSR 0x0042600e SP 0x20007f34 Task Move Freestk 3342 ok
                                      Stack: 20004a80 20004ab4 0001cf33 20004c98 20004938 00000000 0001c011 20003320 fffffffd a5a5a5a5 00000000 20007f8c 00000000 20007f8c 0001cc97 00000000 200017c4 20001748 0001c4d7 20001748 200017c4 00000032 454c4449 00022700 0001ac77 200018e0 200018e0
                                      Moves scheduled 65223, hiccups 782 (39.68/39.68ms), segs 58, step errors 2 (types 0x8), maxLate 0 maxPrep 1303, ebfmin 0.00 max 0.00
                                      Peak sync jitter -4/10, peak Rx sync delay 255, resyncs 0/0, no timer interrupt scheduled, next step interrupt due in 3473139117 ticks, disabled
                                      VIN voltage: min 23.7, current 24.5, max 25.0
                                      MCU temperature: min 41.1C, current 75.4C, max 75.5C
                                      Driver 0: pos 2824553, 568.8 steps/mm, standstill, SG min 0, read errors 1, write errors 0, ifcnt 12, reads 44905, writes 12, timeouts 3, DMA errors 0, CC errors 0, failedOp 0x6f
                                      Last sensors broadcast 0x00000012 found 2 43 ticks ago, 0 ordering errs, loop time 0
                                      CAN messages queued 200813, send timeouts 0, received 154587, lost 0, ignored 0, errs 0, boc 0, free buffers 18, min 17, error reg 0
                                      dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 825, adv 35393/74627
                                      Accelerometer: LIS3DH, status: 00
                                      I2C bus errors 0, naks 3, contentions 0, other errors 0
                                      === Filament sensors ===
                                      Interrupt 5726621 to 0us, poll 4 to 2225us
                                      Driver 0: ok
                                      
                                      30.8.2024, 20:23:32	M122
                                      === Diagnostics ===
                                      RepRapFirmware for Duet 3 Mini 5+ version 3.6.0-alpha.4+3 (2024-08-28 10:03:49) running on Duet 3 Mini5plus WiFi (standalone mode)
                                      Board ID: XNHXF-HR6KL-K65J0-409N2-K9W1Z-RV2MZ
                                      Used output buffers: 4 of 40 (37 max)
                                      === RTOS ===
                                      Static ram: 92328
                                      Dynamic ram: 95720 of which 0 recycled
                                      Never used RAM 45628, free system stack 126 words
                                      Tasks: NETWORK(1,ready,18.9%,179) HEAT(3,nWait 6,0.0%,325) Move(4,invalid,0.3%,247) TMC(4,nWait 6,0.9%,65) CanReceiv(6,nWait 1,0.1%,794) CanSender(5,nWait 7,0.0%,327) CanClock(7,delaying,0.0%,339) MAIN(1,running,77.7%,627) IDLE(0,ready,1.2%,29) AIN(4,delaying,0.8%,259), total 100.0%
                                      Owned mutexes: WiFi(NETWORK)
                                      === Platform ===
                                      Last reset 02:41:20 ago, cause: software
                                      Last software reset at 2024-08-30 17:42, reason: User, Gcodes spinning, available RAM 52612, slot 0
                                      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,1,0
                                      MCU temperature: min 35.7, current 46.0, max 46.6
                                      Supply voltage: min 2.7, current 23.9, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
                                      Heap OK, handles allocated/used 99/34, heap memory allocated/used/recyclable 2048/1396/920, gc cycles 2164
                                      Events: 0 queued, 0 completed
                                      Date/time: 2024-08-30 20:23:27
                                      Slowest loop: 223.44ms; fastest: 0.10ms
                                      === Storage ===
                                      Free file entries: 17
                                      SD card 0 detected, interface speed: 22.5MBytes/sec
                                      SD card longest read time 10.2ms, write time 69.6ms, max retries 0
                                      === Move ===
                                      Segments created 178, maxWait 603453ms, bed comp in use: mesh, height map offset 0.000, hiccups added 0 (0.00/39.68ms), max steps late 0, ebfmin 0.00, ebfmax 0.00
                                      Pos req/act/dcf: -2663.00/-3086/0.45 -23548.00/-23971/0.43 33160.00/33160/-0.00
                                      no step interrupt scheduled
                                      Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 47, reads 50443, writes 47, timeouts 0, DMA errors 0, CC errors 0
                                      Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 47, reads 50443, writes 47, timeouts 0, DMA errors 0, CC errors 0
                                      Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 22, reads 50467, writes 22, timeouts 0, DMA errors 0, CC errors 0
                                      Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 22, reads 50467, writes 22, timeouts 0, DMA errors 0, CC errors 0
                                      Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 23, reads 50467, writes 23, timeouts 0, DMA errors 0, CC errors 0
                                      Driver 5: not present
                                      Driver 6: not present
                                      === DDARing 0 ===
                                      Scheduled moves 66586, completed 66560, LaErrors 217, Underruns [0, 0, 0]
                                      === DDARing 1 ===
                                      Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
                                      === Heat ===
                                      Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
                                      Heater 0 is on, I-accum = 0.4
                                      Heater 1 is on, I-accum = 0.0
                                      === GCodes ===
                                      Movement locks held by null, null
                                      HTTP is idle in state(s) 0
                                      Telnet is idle in state(s) 0
                                      File is doing "G1 X192.529 Y130.297 E.90485" 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 doing "G4 P250" in state(s) 0 0, running macro
                                      Aux2 is idle in state(s) 0
                                      Autopause is idle in state(s) 0
                                      File2 is idle in state(s) 0
                                      Queue2 is idle in state(s) 0
                                      Q0 segments left 1, axes/extruders owned 0x0000807
                                      Code queue 0 is empty
                                      Q1 segments left 0, axes/extruders owned 0x0000000
                                      Code queue 1 is empty
                                      === Filament sensors ===
                                      check 0 clear 0
                                      Extruder 0 sensor: no filament
                                      === CAN ===
                                      Messages queued 154539, received 200688, lost 0, ignored 0, errs 1318, boc 0
                                      Longest wait 7ms for reply type 6029, peak Tx sync delay 10782, free buffers 26 (min 24), ts 48405/48403/0
                                      Tx timeouts 0,0,1,0,0,0 last cancelled message type 30 dest 127
                                      === Network ===
                                      Slowest loop: 210.77ms; fastest: 0.00ms
                                      Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
                                      HTTP sessions: 1 of 8
                                      === WiFi ===
                                      Interface state: active
                                      Module is connected to access point 
                                      Failed messages: pending 0, notrdy 0, noresp 0
                                      Firmware version 2.1.0
                                      MAC address c4:5b:be:ce:91:93
                                      Module reset reason: Power up, Vcc 3.38, flash size 2097152, free heap 43020
                                      WiFi IP address 192.168.30.50
                                      Signal strength -50dBm, channel 1, mode 802.11n, reconnections 0
                                      Clock register 00002001
                                      Socket states: 0 0 0 0 0 0 0 0
                                      
                                      30.8.2024, 18:29:54	Error: Movement halted because a step timing error occurred (code 3). Please reset the controller.
                                      
                                      30.8.2024, 17:55:27	ABS filament loaded
                                      ABS filament loaded & config applied
                                      30.8.2024, 17:54:49	16 points probed, min error -0.030, max error 0.016, mean -0.012, deviation 0.013
                                      Height map saved to file 0:/sys/heightmap.csv
                                      Height map saved to file 0:/sys/adaptive_heightmap.csv
                                      30.8.2024, 17:54:18	Default grid: X10.0:340.0, Y10.0:340.0, Number of points: X12 Y12, 144 points
                                      Adaptive grid: X120.833:229.167, Y120.833:229.136, Number of points: X4 Y4, 16 points
                                      30.8.2024, 17:53:57	M32 "0:/gcodes/ringing_text_test_0.2mm_ABS_0.4n_48m59s.gcode"
                                      File 0:/gcodes/ringing_text_test_0.2mm_ABS_0.4n_48m59s.gcode selected for printing
                                      
                                      dc42undefined 1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @Exerqtor
                                        last edited by

                                        @Exerqtor @tas thanks. I will release 3.6.-alpha.5 after doing a couple of test prints.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        Exerqtorundefined 1 Reply Last reply Reply Quote 0
                                        • Exerqtorundefined
                                          Exerqtor @dc42
                                          last edited by

                                          @dc42 Awesome, i will install it and try the same testprint right away 😃

                                          dc42undefined 1 Reply Last reply Reply Quote 0
                                          • balajiramaniundefined
                                            balajiramani @dc42
                                            last edited by

                                            @dc42 The delta calibration procedure works fine with 3.5.2. With 3.6.0-alpha*, I run into the issue. I checked the values of M665 and M666 in both 3.5.2 and 3.6.0-alpha and they are the same values.

                                            Here is what I see with 3.5.2:

                                            8/31/2024, 5:09:41 PM	M666
                                                                    Endstop adjustments X-1.26 Y-1.03 Z2.30, tilt X0.00% Y0.00%
                                            8/31/2024, 5:09:38 PM	M665
                                                                    Diagonals 395.647:395.647:395.647, delta radius 214.803, homed height 359.884, bed radius 160.0, X -0.068°, Y -0.015°, Z 0.000°
                                            
                                            

                                            Here is what I see with 3.6.0-alpha.4+3

                                            8/31/2024, 5:58:57 PM	M666
                                                                    Endstop adjustments X-1.26 Y-1.03 Z2.30, tilt X0.00% Y0.00%
                                            8/31/2024, 5:58:56 PM	M665
                                                                    Diagonals 395.647:395.647:395.647, delta radius 214.803, homed height 359.884, bed radius 160.0, X -0.068°, Y -0.015°, Z 0.000°
                                            
                                            o_lampeundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA