• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    evomotors @dc42
    last edited by 16 Jan 2021, 23:07

    @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

    undefined 1 Reply Last reply 16 Jan 2021, 23:08 Reply Quote 0
    • undefined
      dc42 administrators @evomotors
      last edited by 16 Jan 2021, 23:08

      @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

      undefined 2 Replies Last reply 16 Jan 2021, 23:10 Reply Quote 0
      • undefined
        evomotors @dc42
        last edited by 16 Jan 2021, 23:10

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

        @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.

        I'm taking about stuff that's happening on my videos. I cannot call this printing. Did you actually see the videos?

        1 Reply Last reply Reply Quote 0
        • undefined
          evomotors @dc42
          last edited by 16 Jan 2021, 23:12

          @dc42 There are 2 videos I posted earlier in this thread. One showing motors connected to Duet3 and another then motors connected to expansion board. Please watch

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 16 Jan 2021, 23:31

            I was confusing you with the other guy having a problem with print quality when the extruder is on an expansion board. I searched through the 128 posts in this thread and eventually found your video. It looks like it's printing correctly most of the time, but occasionally there is a big jolt which results in a shift in X and/or Y. That ties in with the lost CAN messages that are reported by M122 B1.

            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

            undefined undefined 2 Replies Last reply 16 Jan 2021, 23:37 Reply Quote 0
            • undefined
              evomotors @dc42
              last edited by 16 Jan 2021, 23:37

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

              I was confusing you with the other guy having a problem with print quality when the extruder is on an expansion board. I searched through the 128 posts in this thread and eventually found your video. It looks like it's printing correctly most of the time, but occasionally there is a big jolt which results in a shift in X and/or Y. That ties in with the lost CAN messages that are reported by M122 B1.

              The bottom line is when I connect XY motors to Duet3 board that problem disappears, but E steps still missing or not synchronized with XY movement and that produces bad quality print. Unfortunately I cannot connect extruder to duet3 as well as Duet3 has 6 stepper drivers, but I need 7.

              1 Reply Last reply Reply Quote 0
              • undefined
                jbarros @dc42
                last edited by 16 Jan 2021, 23:38

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

                I was confusing you with the other guy having a problem with print quality when the extruder is on an expansion board.

                If you're refering to a ToolBoard then I'm the guy 🙂 and this is my thread: https://forum.duet3d.com/topic/20899/duet3d-6hc-toolboard-missing-filament-on-curves

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by dc42 16 Jan 2021, 23:56

                  Yes, it figures that extrusion will be affected as well. Most of the moves in a print involve X, Y and E movement. So even if you move X and Y to the main board, there is still a CAN packet sent for the E movement.

                  I think the reason we haven't seen this before is that your print uses sequences of tiny movements, smaller than our other tests use. For example:

                  G0 F12000 X273.288 Y248.054
                  G1 F4800 X273.303 Y248.082 E0.00106
                  G1 X273.539 Y248.591 E0.01866
                  G1 X273.542 Y248.6 E0.00032
                  G1 X273.603 Y248.759 E0.00566
                  G1 X273.682 Y248.966 E0.00737
                  G1 X273.759 Y249.171 E0.00728
                  G1 X273.763 Y249.184 E0.00045

                  Here are those moves imported into a spreadsheet. The columns are X, Y, change in X, change in Y, move distance, and move time.

                  d21e1da1-2f59-4adb-93e4-f0637b734902-image.png

                  There are really small moves. The fourth one is less than 10 microns long and it will execute in just 120 microseconds. The longest one takes only 7 milliseconds and all the rest are below 3 milliseconds. So the system is having to process a very high rate of moves. Still, I don't see any evidence that the CAN bus is being overloaded, so I expect to resolve the issues with this print by improving the efficiency of processing the incoming move commands on the expansion board.

                  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

                  undefined 2 Replies Last reply 17 Jan 2021, 00:10 Reply Quote 0
                  • undefined
                    evomotors @dc42
                    last edited by 17 Jan 2021, 00:10

                    @dc42 Could my issue exists due to faulty Duet board ? I'm dead in the water. I cannot print at all for several weeks already.

                    undefined 1 Reply Last reply 17 Jan 2021, 01:26 Reply Quote 0
                    • undefined
                      Luke'sLaboratory @evomotors
                      last edited by 17 Jan 2021, 01:26

                      @evomotors

                      @dc42 said:

                      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.

                      Luke
                      http://lukeslab.online

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        evomotors @dc42
                        last edited by 18 Jan 2021, 14:21

                        @dc42 do you have any time estimates? I’m wondering when I’ll be able to print.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          evomotors
                          last edited by 19 Jan 2021, 18:48

                          Can I have some updates? Please...

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            Phaedrux Moderator
                            last edited by 19 Jan 2021, 18:52

                            Still being worked on. Thanks for your patience.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Multisaft
                              last edited by 20 Jan 2021, 13:09

                              I would like to tell u that ur not alone with this issue. My colleague and myself have exactly the same problem. Connecting xy to the expansion board and we had what u have shown on ur Youtube Video. Switching back to the Mainboard and everything is fine.

                              Unfortunately we need also 7 motors driven to print. Now we have the extruder on the expansion board and have the issue there.

                              It's nice to see that dc is working on it now especially because I have this problem since the board was officially released... It's some time now.

                              Fingers crossed that there is a solution soon.

                              Best regards.
                              Multisaft

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                dc42 administrators
                                last edited by 20 Jan 2021, 13:26

                                @Multisaft, it's likely that the changes already made in 3.3beta will fix the issue for you. The issue I am pinning down now occurs when all of XYE are on the same expansion board and there is a very high rate of very short moves sent to the board. Even if 3.3beta doesn't fix the issue, the improved diagnostics will reveal what is going on.

                                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

                                undefined 1 Reply Last reply 20 Jan 2021, 13:29 Reply Quote 0
                                • undefined
                                  Multisaft @dc42
                                  last edited by 20 Jan 2021, 13:29

                                  @dc42 ty, we will try it.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators
                                    last edited by 20 Jan 2021, 14:15

                                    Good progress today. I had been assuming that the remaining problem seen by @evomotors was caused by the expansion board firmware being too slow, so over the past few days I have been making it more efficient. But additional diagnostics reveal that it's a problem with the way the main board firmware is scheduling CAN moves. With this particular file it's sending the expansion board some moves which are impossible to execute in time. Main board firmware is easier to debug than expansion board firmware, so tracking down why shouldn't take long.

                                    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 0
                                    • undefined
                                      dc42 administrators
                                      last edited by 20 Jan 2021, 15:36

                                      I've located the problem and tested a provisional fix. It affects systems using CAN expansion boards that have DAA enabled.

                                      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

                                      undefined 1 Reply Last reply 20 Jan 2021, 15:52 Reply Quote 1
                                      • undefined
                                        evomotors @dc42
                                        last edited by 20 Jan 2021, 15:52

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

                                        I've located the problem and tested a provisional fix. It affects systems using CAN expansion boards that have DAA enabled.

                                        When and how can I test?

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          dc42 administrators
                                          last edited by dc42 20 Jan 2021, 17:14

                                          I've put new Duet 3 MB6HC firmware in https://www.dropbox.com/sh/wme9k0z86sytg33/AAAT6wrHp2eeJHK-dYoW1Um4a?dl=0. I expect it to work well with the EXP3HC firmware already there. I am testing with newer EXP3HC firmware, but it is still somewhat experimental.

                                          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

                                          undefined 1 Reply Last reply 20 Jan 2021, 17:33 Reply Quote 0
                                          134 out of 153
                                          • First post
                                            134/153
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA