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

    Duet3 6CH + 3CH expansion board - Missing steps.

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    12
    153
    8.7k
    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

      Thanks, I'll run those files on my bench system. I guess I should have done that earlier, rather than assuming that the bug that Tony and I reproduced was the one that affected your machine.

      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

      evomotorsundefined 1 Reply Last reply Reply Quote 0
      • evomotorsundefined
        evomotors @dc42
        last edited by

        @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

        Thanks, I'll run those files on my bench system. I guess I should have done that earlier, rather than assuming that the bug that Tony and I reproduced was the one that affected your machine.

        Let me know if you need me to run some other tests.

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          It's running. So far I am seeing the extruder have more reported steps than commanded steps, but X and Y doing exactly the correct number of steps.

          It's occurred to me that any homing commands or other G1 H1 moves will mess up the step count, making steps done be less than steps requested. Does your cancel.g file have a homing command in it?

          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

          evomotorsundefined 2 Replies Last reply Reply Quote 0
          • evomotorsundefined
            evomotors @dc42
            last edited by evomotors

            @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

            It's running. So far I am seeing the extruder have more reported steps than commanded steps, but X and Y doing exactly the correct number of steps.

            It's occurred to me that any homing commands or other G1 H1 moves will mess up the step count, making steps done be less than steps requested. Does your cancel.g file have a homing command in it?

            No, no homing in cancel.g

            I did another print with print and move speed 40mm/s . Still the same issue. Is your kinematics the same? My is CoreXY

            1 Reply Last reply Reply Quote 0
            • evomotorsundefined
              evomotors @dc42
              last edited by

              @dc42
              I don't have cancel.g

              1 Reply Last reply Reply Quote 0
              • evomotorsundefined
                evomotors
                last edited by evomotors

                This was longer run on slow speeds.

                M122 B1
                Diagnostics for board 1:
                Duet EXP3HC firmware version 3.3beta (2021-01-16 08:18:18)
                Bootloader ID: not available
                Never used RAM 154420, free system stack 164 words
                HEAT 92 CanAsync 92 CanRecv 86 TMC 30 MAIN 282 AIN 259
                Last reset 03:11:52 ago, cause: power up
                Last software reset data not available
                Driver 0: position -687060, 160.0 steps/mm,  standstill, reads 32218, writes 22 timeouts 0, SG min/max 0/622, steps req 7128898 done 6785821
                Driver 1: position -104279, 160.0 steps/mm,  standstill, reads 32217, writes 22 timeouts 0, SG min/max 0/1023, steps req 6693175 done 6454161
                Driver 2: position 64560, 172.0 steps/mm,  standstill, reads 32221, writes 18 timeouts 0, SG min/max 0/693, steps req 218156 done 219933
                Moves scheduled 20756, completed 20756, in progress 0, hiccups 25, step errors 0
                Peak sync jitter 15, peak Rx sync delay 49081, resyncs 93, no step interrupt scheduled
                VIN: 24.7V, V12: 12.3V
                MCU temperature: min 43.8C, current 43.8C, max 44.2C
                Ticks since heat task active 94, ADC conversions started 11512336, completed 11512334, timed out 0
                Last sensors broadcast 0x00000000 found 0 98 ticks ago, loop time 0
                CAN messages queued 77, send timeouts 0, received 110725, lost 356, free buffers 36, error reg 1
                
                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by dc42

                  Thanks. I can see three possible issues in that M122 report:

                  1. The X and Y steps done are not the same as steps requested. However, I think this must be because you are doing a homing command somewhere in the sequence, because I don't see this. Perhaps your pause.g or start.g file contains a G28 command? Or you ran the initial M122 command, then homed the printer, then started the print? If you can find and remove that G28 command (or pause and run M122 after doing it) then please do that and do another run, to check that the X and Y steps are correct. To be clear, in the M122 B1 report I expect the X and Y steps done to be the same as steps reported, provided that the axes where not moving when this M122 or the previous M122 were run and there have been no G1 H1 or G1 H3 moves executed between the two M122 commands.

                  2. The extruder steps done is greater than the steps commanded. The primary reason for this is that pressure advance causes retraction steps to be generated at the end of a move that ends at low speed, and the steps commanded figure doesn't take account of that. However, if I set pressure advance to zero then the extruder steps done is slightly less than the steps commanded, which is wrong. So I think there is a rounding error in the pressure advance calculation.

                  3. Probably the most serious issue is that it has reported that some CAN messages have been lost and the peak Rx sync delay is very high. This suggests that movement messages are not being queued as fast as they are arriving. I was already planning to do that part of the move processing in a different way with lower latency, and I will now work on that urgently.

                  Thanks for your patience. With your permission, I will retain and use your GCode file as one of our test files.

                  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

                  evomotorsundefined 2 Replies Last reply Reply Quote 0
                  • evomotorsundefined
                    evomotors @dc42
                    last edited by evomotors

                    @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                    The X and Y steps done are not the same as steps requested. However, I think this must be because you are doing a homing command somewhere in the sequence, because I don't see this. Perhaps your pause.g or start.g file contains a G28 command? Or you ran the initial M122 command, then homed the printer, then started the print? If you can find and remove that G28 command (or pause and run M122 after doing it) then please do that and do another run, to check that the X and Y steps are correct. To be clear, in the M122 B1 report I expect the X and Y steps done to be the same as steps reported, provided that the axes where not moving when this M122 or the previous M122 were run and there have been no G1 H1 or G1 H3 moves executed between the two M122 commands.

                    Homing and leveling is done before every print. I will follow your directions if you need me to change something and re-test.

                    1 Reply Last reply Reply Quote 0
                    • evomotorsundefined
                      evomotors @dc42
                      last edited by

                      @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                      pause.g or start.g file contains a G28 command?

                      start.g and stop.g are empty.

                      This what I have in pause.g

                      ; pause.g
                      ; called when a print from SD card is paused
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Aug 01 2020 21:20:26 GMT-0400 (Eastern Daylight Time)
                      M83            ; relative extruder moves
                      G1 E-10 F3600  ; retract 10mm of filament
                      G91            ; relative positioning
                      G1 Z5 F360     ; lift Z by 5mm
                      G90            ; absolute positioning
                      ;G1 X0 Y0 F6000 ; go to X=0 Y=0
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        OK, perhaps you were homing between running the first M122 and starting the print?

                        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

                        evomotorsundefined 2 Replies Last reply Reply Quote 0
                        • evomotorsundefined
                          evomotors @dc42
                          last edited by

                          @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                          OK, perhaps you were homing between running the first M122 and starting the print?

                          I do have G28 Z in bed.g and it's been calling before every print. Let me change that. But I will still need to home somehow.

                          1 Reply Last reply Reply Quote 0
                          • evomotorsundefined
                            evomotors @dc42
                            last edited by

                            @dc42 Ok , none of my homing files contains G28, it's only in bed. let me remove it and run another test.

                            1 Reply Last reply Reply Quote 0
                            • evomotorsundefined
                              evomotors
                              last edited by evomotors

                              Restarted the printer:
                              @dc42 not sure if it's expected fresh after restart

                              Peak sync jitter 13, peak Rx sync delay 176
                              

                              Full log:

                              M122 B1
                              Diagnostics for board 1:
                              Duet EXP3HC firmware version 3.3beta (2021-01-16 08:18:18)
                              Bootloader ID: not available
                              Never used RAM 154492, free system stack 200 words
                              HEAT 104 CanAsync 92 CanRecv 86 TMC 64 MAIN 282 AIN 259
                              Last reset 00:01:26 ago, cause: software
                              Last software reset data not available
                              Driver 0: position 0, 160.0 steps/mm,  standstill, reads 8690, writes 0 timeouts 0, SG min/max not available, steps req 0 done 0
                              Driver 1: position 0, 160.0 steps/mm,  standstill, reads 8689, writes 0 timeouts 0, SG min/max not available, steps req 0 done 0
                              Driver 2: position 0, 172.0 steps/mm,  standstill, reads 8689, writes 0 timeouts 0, SG min/max not available, steps req 0 done 0
                              Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0
                              Peak sync jitter 13, peak Rx sync delay 176, resyncs 0, no step interrupt scheduled
                              VIN: 24.7V, V12: 12.3V
                              MCU temperature: min 43.8C, current 44.0C, max 44.0C
                              Ticks since heat task active 99, ADC conversions started 86340, completed 86340, timed out 0
                              Last sensors broadcast 0x00000000 found 0 103 ticks ago, loop time 0
                              CAN messages queued 24, send timeouts 0, received 105, lost 0, free buffers 36, error reg 4f
                              

                              Now will run print

                              1 Reply Last reply Reply Quote 0
                              • evomotorsundefined
                                evomotors
                                last edited by evomotors

                                @dc42
                                No G28 anywhere, no homing moves between M122 commands. And I only ran M122 once after pausing the print. This time I didn't stop, just pause. Still reporting missing steps.

                                M122
                                === Diagnostics ===
                                RepRapFirmware for Duet 3 MB6HC version 3.3beta running on Duet 3 MB6HC v1.01 or later (SBC mode)
                                Board ID: 08DJM-956L2-G43S8-6JKDL-3SJ6L-1802G
                                Used output buffers: 1 of 40 (12 max)
                                === RTOS ===
                                Static ram: 149772
                                Dynamic ram: 64248 of which 104 recycled
                                Never used RAM 140548, free system stack 130 words
                                Tasks: Linux(ready,141) HEAT(blocked,299) CanReceiv(blocked,893) CanSender(blocked,346) CanClock(blocked,326) TMC(blocked,52) MAIN(running,655) IDLE(ready,19)
                                Owned mutexes: HTTP(MAIN)
                                === Platform ===
                                Last reset 00:30:20 ago, cause: power up
                                Last software reset at 2021-01-16 20:06, reason: MemoryProtectionFault mmarValid daccViol, GCodes spinning, available RAM 140596, slot 1
                                Software reset code 0x4163 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x00400804 BFAR 0x00000038 SP 0x204235e8 Task MAIN Freestk 1658 ok
                                Stack: 00000000 00000001 00000001 00000000 20423633 0046dd2d 0046d97c 61010000 2042ad78 00000000 00000000 0046dd37 00000000 00000000 3ca3d70a 0000000a 4374da1d 2042b29c 00000000 00000001 00000000 0046d9e7 2042b29c fffc0000 003fffff 0046dd27 00000000
                                Error status: 0x00
                                Aux0 errors 0,0,0
                                Aux1 errors 0,0,0
                                MCU temperature: min 35.0, current 37.3, max 37.4
                                Supply voltage: min 24.0, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
                                12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0
                                Driver 0: position 79788, standstill, reads 18682, writes 3 timeouts 0, SG min/max 0/240
                                Driver 1: position -219, standstill, reads 18682, writes 3 timeouts 0, SG min/max 0/240
                                Driver 2: position 1321, standstill, reads 18682, writes 3 timeouts 0, SG min/max 0/240
                                Driver 3: position 0, standstill, reads 18682, writes 3 timeouts 0, SG min/max 0/254
                                Driver 4: position 0, standstill, reads 18685, writes 0 timeouts 0, SG min/max not available
                                Driver 5: position 0, standstill, reads 18684, writes 0 timeouts 0, SG min/max not available
                                Date/time: 2021-01-16 20:36:44
                                Slowest loop: 183.43ms; fastest: 0.03ms
                                === Storage ===
                                Free file entries: 10
                                SD card 0 not detected, interface speed: 37.5MBytes/sec
                                SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                                === Move ===
                                DMs created 125, maxWait 768639ms, bed compensation in use: mesh, comp offset 0.000
                                === MainDDARing ===
                                Scheduled moves 13893, completed moves 13893, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 2], 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 = -1 -1 -1 -1
                                Heater 0 is on, I-accum = 0.4
                                Heater 1 is on, I-accum = 0.3
                                === GCodes ===
                                Segments left: 0
                                Movement lock held by null
                                HTTP* is doing "M122" 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.
                                === CAN ===
                                Messages queued 20932, send timeouts 0, received 67, lost 0, longest wait 19ms for reply type 6024, peak Tx sync delay 387, free buffers 48
                                === SBC interface ===
                                State: 4, failed transfers: 0
                                Last transfer: 1ms ago
                                RX/TX seq numbers: 4299/4299
                                SPI underruns 0, overruns 0
                                Number of disconnects: 0, IAP RAM available 0x2c478
                                Buffer RX/TX: 0/0-0
                                === Duet Control Server ===
                                Duet Control Server v3.2.0
                                Code buffer space: 4096
                                Configured SPI speed: 8000000 Hz
                                Full transfers per second: 38.79
                                Maximum length of RX/TX data transfers: 3032/1688
                                File /opt/dsf/sd/gcodes/ZR_BearingTopMount_FR.gcode is selected, paused
                                
                                M122 B1
                                Diagnostics for board 1:
                                Duet EXP3HC firmware version 3.3beta (2021-01-16 08:18:18)
                                Bootloader ID: not available
                                Never used RAM 154492, free system stack 165 words
                                HEAT 92 CanAsync 92 CanRecv 86 TMC 30 MAIN 274 AIN 259
                                Last reset 00:30:25 ago, cause: software
                                Last software reset data not available
                                Driver 0: position -252890, 160.0 steps/mm,  standstill, reads 47021, writes 1 timeouts 0, SG min/max 0/431, steps req 4754028 done 4495266
                                Driver 1: position 11122, 160.0 steps/mm,  standstill, reads 47021, writes 1 timeouts 0, SG min/max 0/1023, steps req 4516310 done 4257548
                                Driver 2: position 43107, 172.0 steps/mm,  standstill, reads 47022, writes 1 timeouts 0, SG min/max 0/609, steps req 146093 done 148150
                                Moves scheduled 13764, completed 13764, in progress 0, hiccups 462, step errors 0
                                Peak sync jitter 15, peak Rx sync delay 48876, resyncs 16, no step interrupt scheduled
                                VIN: 24.7V, V12: 12.3V
                                MCU temperature: min 43.8C, current 44.0C, max 44.2C
                                Ticks since heat task active 148, ADC conversions started 1825390, completed 1825388, timed out 0
                                Last sensors broadcast 0x00000000 found 0 152 ticks ago, loop time 0
                                CAN messages queued 43, send timeouts 0, received 29446, lost 76, free buffers 36, error reg 24
                                
                                1 Reply Last reply Reply Quote 0
                                • evomotorsundefined
                                  evomotors
                                  last edited by

                                  By the way, I just got this comment on my YouTube video:
                                  67344bfb-72fa-4b52-b290-b5d093504a9d-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • evomotorsundefined
                                    evomotors
                                    last edited by

                                    @dc42 Ok, I see your point, I added

                                    M122
                                    M122 B1
                                    

                                    To my startup GCode after all preparation moves. So it will execute just before actual print.

                                    1 Reply Last reply Reply Quote 0
                                    • evomotorsundefined
                                      evomotors
                                      last edited by evomotors

                                      @dc42 I added M112 & M112 B1 to the end of my start GCode in slicer then power cycle the printer and started print job.

                                      These are all console enrties in chronological order:

                                      1/16/2021, 4:25:51 PM
                                      Connection established
                                      
                                      1/16/2021, 4:35:56 PM	
                                      M32 "0:/gcodes/2ZR_BearingTopMount_FR.gcode"
                                      File 0:/gcodes/2ZR_BearingTopMount_FR.gcode selected for printing
                                      
                                      1/16/2021, 4:40:20 PM	
                                      Leadscrew adjustments made: 0.196 0.148 0.149 0.184, points used 4, (mean, deviation) before (0.167, 0.017) after (0.000, 0.000)
                                      
                                      1/16/2021, 4:40:20 PM	
                                      Bed Leveling Cycle: 1 - Difference was 0.017mm
                                      
                                      1/16/2021, 4:40:20 PM	
                                      Leadscrew adjustments made: 0.005 -0.005 -0.005 -0.007, points used 4, (mean, deviation) before (-0.003, 0.003) after (0.000, 0.000)
                                      
                                      1/16/2021, 4:40:20 PM	
                                      Bed Tramming Cycle: 2 - Difference was 0.003mm
                                      
                                      1/16/2021, 4:40:20 PM	
                                      Height map loaded from file heightmap.csv
                                      
                                      1/16/2021, 4:40:46 PM	
                                      === Diagnostics ===
                                      RepRapFirmware for Duet 3 MB6HC version 3.3beta running on Duet 3 MB6HC v1.01 or later (SBC mode)
                                      Board ID: 08DJM-956L2-G43S8-6JKDL-3SJ6L-1802G
                                      Used output buffers: 1 of 40 (10 max)
                                      === RTOS ===
                                      Static ram: 149772
                                      Dynamic ram: 64248 of which 104 recycled
                                      Never used RAM 140548, free system stack 126 words
                                      Tasks: Linux(ready,111) HEAT(blocked,299) CanReceiv(blocked,893) CanSender(blocked,354) CanClock(blocked,326) TMC(blocked,52) MAIN(running,615) IDLE(ready,19)
                                      Owned mutexes: File(MAIN)
                                      === Platform ===
                                      Last reset 00:15:28 ago, cause: power up
                                      Last software reset details not available
                                      Error status: 0x00
                                      Aux0 errors 0,0,0
                                      Aux1 errors 0,0,0
                                      MCU temperature: min 29.0, current 36.6, max 36.9
                                      Supply voltage: min 24.1, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
                                      12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0
                                      Driver 0: position 39840, standstill, reads 53659, writes 18 timeouts 0, SG min/max 0/237
                                      Driver 1: position 37920, standstill, reads 53659, writes 18 timeouts 0, SG min/max 0/235
                                      Driver 2: position 64, standstill, reads 53659, writes 18 timeouts 0, SG min/max 0/235
                                      Driver 3: position 0, standstill, reads 53659, writes 18 timeouts 0, SG min/max 0/255
                                      Driver 4: position 0, standstill, reads 53666, writes 11 timeouts 0, SG min/max 0/0
                                      Driver 5: position 0, standstill, reads 53666, writes 11 timeouts 0, SG min/max 0/0
                                      Date/time: 2021-01-16 21:40:45
                                      Slowest loop: 203.63ms; fastest: 0.04ms
                                      === Storage ===
                                      Free file entries: 10
                                      SD card 0 not detected, interface speed: 37.5MBytes/sec
                                      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                                      === Move ===
                                      DMs created 125, maxWait 677116ms, bed compensation in use: mesh, comp offset 0.000
                                      === MainDDARing ===
                                      Scheduled moves 94, completed moves 89, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 2], CDDA state 3
                                      === 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 = -1 -1 -1 -1
                                      Heater 0 is on, I-accum = 0.4
                                      Heater 1 is on, I-accum = 0.3
                                      === 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 "M122" 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.
                                      === CAN ===
                                      Messages queued 3723, send timeouts 0, received 32, lost 0, longest wait 1ms for reply type 6018, peak Tx sync delay 354, free buffers 48
                                      === SBC interface ===
                                      State: 0, failed transfers: 0
                                      Last transfer: 31ms ago
                                      RX/TX seq numbers: 32108/32108
                                      SPI underruns 0, overruns 0
                                      Number of disconnects: 0, IAP RAM available 0x2c478
                                      Buffer RX/TX: 504/1744-0
                                      
                                      1/16/2021, 4:40:47 PM	=== Duet Control Server ===
                                      Duet Control Server v3.2.0
                                      File:
                                      Buffered code: M122 B1
                                      Buffered code: M83 ;relative extrusion mode
                                      Buffered code: G10
                                      Buffered code: ;LAYER_COUNT:205
                                      Buffered code: ;LAYER:0
                                      Buffered code: M107
                                      Buffered code: G0 F6000 X239.301 Y214.311 Z0.2
                                      Buffered code: G11
                                      Buffered code: G1 F1200 X239.779 Y213.81 E0.02303
                                      Buffered code: G1 X240.312 Y213.368 E0.02303
                                      Buffered code: G1 X240.892 Y212.99 E0.02303
                                      Buffered code: G1 X241.512 Y212.681 E0.02304
                                      Buffered code: G1 X242.164 Y212.446 E0.02305
                                      Buffered code: G1 X242.838 Y212.288 E0.02303
                                      Buffered code: G1 X243.703 Y212.2 E0.02892
                                      Buffered code: G1 X244.192 Y212.189 E0.01627
                                      Buffered code: G1 X248.16 Y212.189 E0.13198
                                      Buffered code: G1 X248.944 Y212.2 E0.02608
                                      Buffered code: G1 X249.571 Y212.239 E0.02089
                                      Buffered code: G1 X250.221 Y212.326 E0.02181
                                      Buffered code: G1 X250.899 Y212.466 E0.02303
                                      Buffered code: G1 X251.539 Y212.677 E0.02241
                                      Buffered code: G1 X252.018 Y212.865 E0.01711
                                      Buffered code: G1 X252.647 Y213.155 E0.02304
                                      Buffered code: G1 X253.403 Y213.633 E0.02975
                                      Buffered code: G1 X253.852 Y213.968 E0.01863
                                      Buffered code: G1 X253.926 Y214.025 E0.00311
                                      Buffered code: G1 X254.45 Y214.478 E0.02304
                                      ==> 1212 bytes
                                      Pending code: G1 X254.842 Y214.899 E0.01913
                                      Pending code: G1 X255.098 Y215.201 E0.01317
                                      Code buffer space: 2352
                                      Configured SPI speed: 8000000 Hz
                                      Full transfers per second: 22.65
                                      Maximum length of RX/TX data transfers: 3468/1236
                                      File /opt/dsf/sd/gcodes/2ZR_BearingTopMount_FR.gcode is selected, processing
                                      
                                      1/16/2021, 4:40:47 PM	
                                      Diagnostics for board 1:
                                      Duet EXP3HC firmware version 3.3beta (2021-01-16 08:18:18)
                                      Bootloader ID: not available
                                      Never used RAM 154492, free system stack 166 words
                                      HEAT 92 CanAsync 92 CanRecv 86 TMC 30 MAIN 306 AIN 259
                                      Last reset 00:15:28 ago, cause: power up
                                      Last software reset data not available
                                      Driver 0: position -276160, 160.0 steps/mm,  ok, reads 9067, writes 18 timeouts 0, SG min/max 0/212, steps req 1080640 done 822518
                                      Driver 1: position 53120, 160.0 steps/mm,  ok, reads 9071, writes 18 timeouts 0, SG min/max 0/230, steps req 933120 done 675001
                                      Driver 2: position 3886, 172.0 steps/mm,  ok, reads 9076, writes 18 timeouts 0, SG min/max 0/94, steps req 10750 done 10072
                                      Moves scheduled 29, completed 27, in progress 1, hiccups 0, step errors 0
                                      Peak sync jitter 15, peak Rx sync delay 187, resyncs 0, next step interrupt due in 68 ticks, enabled
                                      VIN: 24.7V, V12: 12.3V
                                      MCU temperature: min 43.8C, current 43.8C, max 44.0C
                                      Ticks since heat task active 155, ADC conversions started 928646, completed 928646, timed out 0
                                      Last sensors broadcast 0x00000000 found 0 159 ticks ago, loop time 0
                                      CAN messages queued 52, send timeouts 0, received 8373, lost 0, free buffers 36, error reg 110054
                                      
                                      1/16/2021, 4:46:45 PM	
                                      M25
                                      Printing paused at X246.2 Y236.3 Z0.4
                                      
                                      1/16/2021, 4:46:53 PM	
                                      M122
                                      === Diagnostics ===
                                      RepRapFirmware for Duet 3 MB6HC version 3.3beta running on Duet 3 MB6HC v1.01 or later (SBC mode)
                                      Board ID: 08DJM-956L2-G43S8-6JKDL-3SJ6L-1802G
                                      Used output buffers: 1 of 40 (14 max)
                                      === RTOS ===
                                      Static ram: 149772
                                      Dynamic ram: 64248 of which 104 recycled
                                      Never used RAM 140548, free system stack 126 words
                                      Tasks: Linux(ready,111) HEAT(blocked,299) CanReceiv(blocked,893) CanSender(blocked,346) CanClock(blocked,326) TMC(blocked,52) MAIN(running,615) IDLE(ready,19)
                                      Owned mutexes: HTTP(MAIN)
                                      === Platform ===
                                      Last reset 00:21:35 ago, cause: power up
                                      Last software reset details not available
                                      Error status: 0x00
                                      Aux0 errors 0,0,0
                                      Aux1 errors 0,0,0
                                      MCU temperature: min 36.5, current 37.2, max 37.2
                                      Supply voltage: min 24.1, current 24.3, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
                                      12V rail voltage: min 12.1, current 12.2, max 12.2, under voltage events: 0
                                      Driver 0: position 73845, standstill, reads 62142, writes 0 timeouts 0, SG min/max 0/233
                                      Driver 1: position 5906, standstill, reads 62142, writes 0 timeouts 0, SG min/max 0/230
                                      Driver 2: position 1080, standstill, reads 62143, writes 0 timeouts 0, SG min/max 0/231
                                      Driver 3: position 0, standstill, reads 62143, writes 0 timeouts 0, SG min/max 0/250
                                      Driver 4: position 0, standstill, reads 62143, writes 0 timeouts 0, SG min/max not available
                                      Driver 5: position 0, standstill, reads 62143, writes 0 timeouts 0, SG min/max not available
                                      Date/time: 2021-01-16 21:46:52
                                      Slowest loop: 39.49ms; fastest: 0.04ms
                                      === Storage ===
                                      Free file entries: 10
                                      SD card 0 not detected, interface speed: 37.5MBytes/sec
                                      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                                      === Move ===
                                      DMs created 125, maxWait 0ms, bed compensation in use: mesh, comp offset 0.000
                                      === MainDDARing ===
                                      Scheduled moves 4372, completed moves 4372, 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 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                                      Heater 0 is on, I-accum = 0.4
                                      Heater 1 is on, I-accum = 0.3
                                      === GCodes ===
                                      Segments left: 0
                                      Movement lock held by null
                                      HTTP* is doing "M122" 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.
                                      === CAN ===
                                      Messages queued 5754, send timeouts 0, received 24, lost 0, longest wait 21ms for reply type 6024, peak Tx sync delay 373, free buffers 48
                                      === SBC interface ===
                                      State: 4, failed transfers: 0
                                      Last transfer: 1ms ago
                                      RX/TX seq numbers: 47336/47336
                                      SPI underruns 0, overruns 0
                                      Number of disconnects: 0, IAP RAM available 0x2c478
                                      Buffer RX/TX: 0/0-0
                                      === Duet Control Server ===
                                      Duet Control Server v3.2.0
                                      Code buffer space: 4096
                                      Configured SPI speed: 8000000 Hz
                                      Full transfers per second: 41.53
                                      Maximum length of RX/TX data transfers: 4664/1664
                                      File /opt/dsf/sd/gcodes/2ZR_BearingTopMount_FR.gcode is selected, paused
                                      
                                      1/16/2021, 4:47:01 PM	
                                      M122 B1
                                      Diagnostics for board 1:
                                      Duet EXP3HC firmware version 3.3beta (2021-01-16 08:18:18)
                                      Bootloader ID: not available
                                      Never used RAM 154492, free system stack 165 words
                                      HEAT 92 CanAsync 92 CanRecv 86 TMC 30 MAIN 282 AIN 259
                                      Last reset 00:21:43 ago, cause: power up
                                      Last software reset data not available
                                      Driver 0: position -257449, 160.0 steps/mm,  standstill, reads 50071, writes 0 timeouts 0, SG min/max 0/897, steps req 1128627 done 1136804
                                      Driver 1: position 12303, 160.0 steps/mm,  standstill, reads 50071, writes 0 timeouts 0, SG min/max 0/810, steps req 1156019 done 1164193
                                      Driver 2: position 12182, 172.0 steps/mm,  standstill, reads 50069, writes 0 timeouts 0, SG min/max 0/703, steps req 44372 done 45391
                                      Moves scheduled 4269, completed 4269, in progress 0, hiccups 110, step errors 0
                                      Peak sync jitter 15, peak Rx sync delay 47157, resyncs 17, no step interrupt scheduled
                                      VIN: 24.7V, V12: 12.3V
                                      MCU temperature: min 43.8C, current 44.0C, max 44.0C
                                      Ticks since heat task active 80, ADC conversions started 1303072, completed 1303070, timed out 0
                                      Last sensors broadcast 0x00000000 found 0 84 ticks ago, loop time 0
                                      CAN messages queued 24, send timeouts 0, received 7601, lost 56, free buffers 36, error reg 3c
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators
                                        last edited by

                                        Thanks for the additoinal data.

                                        I've just run your print up to the 93% finished mark. This is the data:

                                        m122b1
                                        Diagnostics for board 1:
                                        Duet EXP3HC firmware version 3.3beta (2021-01-16 19:11:54)
                                        Bootloader ID: SAME5x bootloader version 2.2 (2021-01-16b1)
                                        Never used RAM 154492, free system stack 142 words
                                        HEAT 92 CanAsync 92 CanRecv 79 TMC 30 MAIN 274 AIN 259
                                        Last reset 03:06:56 ago, cause: power up
                                        Last software reset data not available
                                        Driver 0: position 78458, 160.0 steps/mm,  standstill, reads 11912, writes 2 timeouts 0, SG min/max 0/72, steps req 49298753 done 49298753
                                        Driver 1: position 82701, 160.0 steps/mm,  standstill, reads 11912, writes 2 timeouts 0, SG min/max 0/72, steps req 50413393 done 50413393
                                        Driver 2: position 719839, 172.0 steps/mm,  standstill, reads 11913, writes 2 timeouts 0, SG min/max 0/67, steps req 1793879 done 1791393
                                        Moves scheduled 210097, completed 210097, in progress 0, hiccups 15372, step errors 0
                                        Peak sync jitter 24, peak Rx sync delay 49110, resyncs 200, no step interrupt scheduled
                                        VIN: 24.4V, V12: 12.2V
                                        MCU temperature: min 44.1C, current 44.2C, max 44.4C
                                        Ticks since heat task active 40, ADC conversions started 11216032, completed 11216031, timed out 0
                                        Last sensors broadcast 0x00000000 found 0 44 ticks ago, loop time 0
                                        CAN messages queued 27, send timeouts 0, received 245625, lost 2226, free buffers 36, error reg 0
                                        

                                        So I am still not seeing any loss of XY done vs. requested steps, only a loss of 0.14% of E steps. This is with pressure advance set to zero. OTOH there have been 2226 lost CAN messages, presumably mostly movement messages, so moves will have been lost.

                                        My pause.g and resume.g are currently empty. You've provided your pause.g. Please provide your resume.g file too, then I will try again using your files, in case it makes a difference.

                                        I will work on fixing the lost CAN messages tomorrow or Monday.

                                        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

                                        evomotorsundefined 1 Reply Last reply Reply Quote 0
                                        • evomotorsundefined
                                          evomotors @dc42
                                          last edited by

                                          @dc42 said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                          Thanks for the additoinal data.

                                          I've just run your print up to the 93% finished mark. This is the data:

                                          m122b1
                                          Diagnostics for board 1:
                                          Duet EXP3HC firmware version 3.3beta (2021-01-16 19:11:54)
                                          Bootloader ID: SAME5x bootloader version 2.2 (2021-01-16b1)
                                          Never used RAM 154492, free system stack 142 words
                                          HEAT 92 CanAsync 92 CanRecv 79 TMC 30 MAIN 274 AIN 259
                                          Last reset 03:06:56 ago, cause: power up
                                          Last software reset data not available
                                          Driver 0: position 78458, 160.0 steps/mm,  standstill, reads 11912, writes 2 timeouts 0, SG min/max 0/72, steps req 49298753 done 49298753
                                          Driver 1: position 82701, 160.0 steps/mm,  standstill, reads 11912, writes 2 timeouts 0, SG min/max 0/72, steps req 50413393 done 50413393
                                          Driver 2: position 719839, 172.0 steps/mm,  standstill, reads 11913, writes 2 timeouts 0, SG min/max 0/67, steps req 1793879 done 1791393
                                          Moves scheduled 210097, completed 210097, in progress 0, hiccups 15372, step errors 0
                                          Peak sync jitter 24, peak Rx sync delay 49110, resyncs 200, no step interrupt scheduled
                                          VIN: 24.4V, V12: 12.2V
                                          MCU temperature: min 44.1C, current 44.2C, max 44.4C
                                          Ticks since heat task active 40, ADC conversions started 11216032, completed 11216031, timed out 0
                                          Last sensors broadcast 0x00000000 found 0 44 ticks ago, loop time 0
                                          CAN messages queued 27, send timeouts 0, received 245625, lost 2226, free buffers 36, error reg 0
                                          

                                          So I am still not seeing any loss of XY done vs. requested steps, only a loss of 0.14% of E steps. This is with pressure advance set to zero. OTOH there have been 2226 lost CAN messages, presumably mostly movement messages, so moves will have been lost.

                                          My pause.g and resume.g are currently empty. You've provided your pause.g. Please provide your resume.g file too, then I will try again using your files, in case it makes a difference.

                                          I will work on fixing the lost CAN messages tomorrow or Monday.

                                          So why it's not working for me? I'm not even talking about diagnostics. It is not printing when motors connected to expansion board. But works flawlessly when connected to Duet3.

                                          All configs are attached. Compressed and renamed to txt
                                          [0_1610838265664_RRF_3.3_Bakcup.zip](Uploading 100%) RRF_3.3_Bakcup.zip.txt

                                          dc42undefined 1 Reply Last reply Reply Quote 0
                                          • dc42undefined
                                            dc42 administrators @evomotors
                                            last edited by

                                            @evomotors said in Duet3 6CH + 3CH expansion board - Missing steps.:

                                            It is not printing when motors connected to expansion board.

                                            Please explain what you mean by this. I thought it was printing, but the print quality was poor.

                                            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

                                            evomotorsundefined 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA