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

Duet 3/Rpi + toolboard on 3.2b3 - G29 fails

Scheduled Pinned Locked Moved
Beta Firmware
8
65
2.6k
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
    chrishamm administrators @oozeBot
    last edited by 10 Nov 2020, 20:49

    @oozeBot I've updated my experimental Duet 3 MB6HC binary again because I found one more potential problem in it.

    @jay_s_uk The same issue will probably affect your Duet 3 Mini 5+ v0.2 as well, so here is another build for you in case you want to test it before the next release.

    Duet software engineer

    undefined undefined undefined 3 Replies Last reply 10 Nov 2020, 20:52 Reply Quote 0
    • undefined
      oozeBot @chrishamm
      last edited by 10 Nov 2020, 20:52

      @chrishamm thanks - I'll try now and report back..

      1 Reply Last reply Reply Quote 0
      • undefined
        jay_s_uk
        last edited by jay_s_uk 11 Oct 2020, 21:10 10 Nov 2020, 21:09

        @chrishamm When trying to upgrade the firmware when the board is connected to an SBC, I get this error.
        Screenshot_20201110-210548.png
        I also got this when I initially upgraded to 3.2beta3 and used the erase method to upgrade the firmware.
        I ran the upgrade for the other build you did in standalone mode as I was doing some testing at the time.

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        undefined 1 Reply Last reply 10 Nov 2020, 21:10 Reply Quote 0
        • undefined
          chrishamm administrators @jay_s_uk
          last edited by chrishamm 11 Oct 2020, 21:13 10 Nov 2020, 21:10

          @jay_s_uk I guess you uploaded that file before when DWS was running as root. To fix that, connect to your Pi via SSH and run sudo chown -R dsf.dsf /opt/dsf. Then you should be able to upload it again when DWS is running as the regular service.

          PS: Be aware that you need to delete the new v0.4 IAP binary and rename the v0.2 IAP binary by removing the _v02 suffix from the other filename, else the upgrade will fail on the v0.2 prototype.

          Duet software engineer

          undefined 2 Replies Last reply 10 Nov 2020, 21:17 Reply Quote 0
          • undefined
            oozeBot @chrishamm
            last edited by 10 Nov 2020, 21:17

            @chrishamm first try of 169 point mesh worked! I'm going to reboot and do it again here in just a few minutes..

            1 Reply Last reply Reply Quote 0
            • undefined
              oozeBot @chrishamm
              last edited by oozeBot 11 Oct 2020, 22:05 10 Nov 2020, 22:04

              @chrishamm After rebooting, I cannot get my z-axis to home.. it is not following the macro, which is pasted below. It only touches the probe down once in the middle of the plate on line 20. It skips line 27 and immediately moves to X20 Y20. On line 29, it touches down once or twice and then goes down again without extending the probe - I have moments to pull the plug at this point or else it will crash into the bed.

              This is new to the last file you uploaded after a reboot.

              ; == home the Z axis ================================================
              M400 ; wait until idle
              M280 P0 S160 ; reset BL Touch
              if move.axes[0].homed == false
              M98 P"homex.g"
              if move.axes[1].homed == false
              M98 P"homey.g"
              G92 Z0
              G1 X132.5 Y0 Z5 F24000 ; move to the front center of the build plate
              M400 ; wait until idle
              M561 ; clear any bed transforms
              M558 F1200 A1
              G92 Z333
              G30 Z-99999 ; sets z-height relative to print bed
              M566 Z140.00
              M201 Z300.00
              M558 F120 A10
              M561
              G30 Z-99999
              G30 P0 X20 Y20 Z-99999 ; probe midway between front and rear belt on left side
              G30 P1 X284.80 Y20 Z-99999 S2 ; probe midway between front and rear belt on right side
              M566 Z300.00
              M201 Z300.00
              G1 X0 Y0 Z10 F24000 ; park the tool
              M400 ; wait until idle
              undefined 1 Reply Last reply 10 Nov 2020, 22:19 Reply Quote 0
              • undefined
                chrishamm administrators @oozeBot
                last edited by 10 Nov 2020, 22:19

                @oozeBot Okay, I'll test some more conditional G-code tomorrow. Unfortunately your macro is rather difficult to test for me because I don't have two Z motors, so it would help if you could share the debug log again.

                Duet software engineer

                undefined 1 Reply Last reply 10 Nov 2020, 22:25 Reply Quote 0
                • undefined
                  oozeBot @chrishamm
                  last edited by 10 Nov 2020, 22:25

                  @chrishamm I'll get that uploaded here in the next hour or two. FYI - here are my deployprobe.g and retractprobe.g.

                  deployprobe.g

                  M280 P0 S10
                  

                  retractprobe.g

                  M280 P0 S90
                  
                  undefined 1 Reply Last reply 10 Nov 2020, 22:34 Reply Quote 0
                  • undefined
                    chrishamm administrators @oozeBot
                    last edited by 10 Nov 2020, 22:34

                    @oozeBot Thanks, I use the same commands on my machine with a BLTouch. I haven't seen any more problems with bed probing with the build that I shared before but I admit I haven't tried many conditional G-codes yet.

                    Duet software engineer

                    undefined 3 Replies Last reply 10 Nov 2020, 22:55 Reply Quote 0
                    • undefined
                      oozeBot @chrishamm
                      last edited by 10 Nov 2020, 22:55

                      @chrishamm here is what I could capture before cutting power before it crashed into the build plate. Note that it actually did complete homing Z successfully the first time I tried in this log, but failed the second time. I had tried right before this and saw it fail several ways, sometimes not extending the probe, other times it seems to skip to the next probe point without completing the current probe. Also note this is the behavior in 3.2b2 that I reported which ultimately led to me rolling back to 3.2b1.

                      log2.txt

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        jay_s_uk @chrishamm
                        last edited by 10 Nov 2020, 22:58

                        @chrishamm I can confirm I was able to probe a bed with 400 points.
                        I'll check the homing of the printer in the morning once I'm physically in front of it

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          oozeBot @chrishamm
                          last edited by oozeBot 11 Nov 2020, 00:29 10 Nov 2020, 23:35

                          @chrishamm ok, caught a better crash while running homez.g which I posted earlier. I just let it probe with the bltouch retracted and protected the bed with a piece of cardboard..

                          log3.txt

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            oozeBot @chrishamm
                            last edited by oozeBot 11 Nov 2020, 00:38 10 Nov 2020, 23:48

                            @chrishamm last log file for now. This is also from homez.g which I posted earlier. This time, the first g30 completed successfully, it moved to the left side, touched the probe down once, moved to the right side, probed several times, and then moved back to the left side and started probing again, eventually probing with the probe retracted..

                            log4.txt

                            Also, could this be related? Note the 0 at the end of deployprobe0.g and retractprobe0.g. It's found throughout the log but only around 1/3 of the calls seem to be wrong - the rest properly reference deployprobe.g and retractprobe.g..

                            [debug] Macro file deployprobe0.g not found
                            [debug] HTTP: ==> Starting code G30 Z-99999 ; sets z-height relative to print bed
                            [debug] HTTP: Disposing macro file deployprobe0.g
                            [debug] Macro file retractprobe0.g not found
                            [debug] HTTP: ==> Starting code G30 Z-99999 ; sets z-height relative to print bed
                            [debug] HTTP: Disposing macro file retractprobe0.g
                            undefined 1 Reply Last reply 11 Nov 2020, 09:25 Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 11 Nov 2020, 06:53

                              RRF allows each Z probe to have its own deploy and retract files. That's why it's looking for deployprobe0.g first before falling back to deployprobe.g.

                              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
                                chrishamm administrators @oozeBot
                                last edited by 11 Nov 2020, 09:25

                                @oozeBot Thanks for the logs. I'm afraid I could not reproduce any of the out-of-order replies or stack underruns that I could discover in your log - please make sure the Duet 3 firmware is 3.2-b3+2-ch and NOT 3.2-b2+1 or older (check on Settings -> Machine).

                                The reason for your problem is probably a combination of these issues but I was unable to provoke them on my setup with the latest firmware.

                                Duet software engineer

                                undefined 1 Reply Last reply 11 Nov 2020, 11:40 Reply Quote 0
                                • undefined
                                  oozeBot @chrishamm
                                  last edited by 11 Nov 2020, 11:40

                                  @chrishamm crap - it appears I am on 3.2-beta2+1. I just ran sudo apt update / upgrade again but nothing new was installed. I also ran M997 from DWC to make sure I updated the firmware.

                                  snip.JPG

                                  What am I missing? I'll try to upload it directly to DWC. I'm sorry to have wasted any of your time on my mistake..

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    oozeBot
                                    last edited by 11 Nov 2020, 11:48

                                    After downloading the firmware from the following link and uploading it through DWC, it has now been properly updated. I don't know how that was missed or even installed as I was on 3.2b1 and upgraded to 3.2b3 (skipping 3.2b2) - none of the 3.2b2 resources should have been available to install..?

                                    https://github.com/Duet3D/RepRapFirmware/releases/tag/3.2beta3

                                    It is now properly homing. I am moving forward with a few more mesh bed leveling tested before calling this complete.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      chrishamm administrators @chrishamm
                                      last edited by 11 Nov 2020, 11:54

                                      @chrishamm said in Duet 3/Rpi + toolboard on 3.2b3 - G29 fails:

                                      @oozeBot I've updated my experimental Duet 3 MB6HC binary again because I found one more potential problem in it.

                                      Please upload this file on the system page and confirm the update prompt.

                                      Duet software engineer

                                      undefined 2 Replies Last reply 11 Nov 2020, 11:57 Reply Quote 0
                                      • undefined
                                        oozeBot @chrishamm
                                        last edited by oozeBot 11 Nov 2020, 12:48 11 Nov 2020, 11:57

                                        @chrishamm Sorry - it is very early here and I haven't had any coffee.. I now recognize I've been manually updating RRF at your request.

                                        I just updated the file directly at the link you've provided - it reverted to:

                                        Board: Duet 3 MB6HC (MB6HC)
                                        DSF Version: 3.2.0-beta3
                                        Firmware: RepRapFirmware for Duet 3 MB6HC 3.2-beta2+1 (2020-10-02b1)

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          oozeBot @chrishamm
                                          last edited by 11 Nov 2020, 13:52

                                          @chrishamm OK, I'm now properly caffeinated. I just tested everything again and can confirm the RRF firmware you've linked to is 3.2B2 - not 3.2b3. Any thoughts on this? Was the wrong file uploaded?

                                          undefined 1 Reply Last reply 11 Nov 2020, 13:58 Reply Quote 0
                                          41 out of 65
                                          • First post
                                            41/65
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA