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

    3.5.0-rc.1 Brakes not engaging

    Scheduled Pinned Locked Moved
    Beta Firmware
    7
    32
    1.4k
    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.
    • timschneiderundefined
      timschneider @Amagatth
      last edited by timschneider

      @Amagatth
      yes this is for 3.5.2 and the brake connected to MB6HC

      anyhow, I've applied the patch from @dc42 on RRF to use WriteAnalog and this works.

      c689be7c-b6b1-4bdc-94c6-e6eb0b985d9f-grafik.png

       src/Platform/Platform.cpp | 4 +++-
       1 file changed, 3 insertions(+), 1 deletion(-)
      
      diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp
      index 874b75ac..f3c2f560 100644
      --- a/src/Platform/Platform.cpp
      +++ b/src/Platform/Platform.cpp
      @@ -2732,8 +2732,10 @@ void Platform::EngageBrake(size_t driver) noexcept
       {
       #if SUPPORT_BRAKE_PWM
       	currentBrakePwm[driver] = 0.0;
      -#endif
      +	brakePorts[driver].WriteAnalog(0.0);
      +#else
       	brakePorts[driver].WriteDigital(false);			// turn the brake solenoid off to engage the brake
      +#endif
       }
       
       void Platform::DisengageBrake(size_t driver) noexcept
      
      

      Duet3Firmware_MB6HC.bin

      @p8blr
      this is the file for the 6XD with WriteAnalog(0.0)
      Duet3Firmware_MB6XD.bin

      Amagatthundefined 1 Reply Last reply Reply Quote 1
      • Amagatthundefined
        Amagatth @timschneider
        last edited by

        @timschneider thx for the file i apply it

        Amagatthundefined 1 Reply Last reply Reply Quote 0
        • Amagatthundefined
          Amagatth @Amagatth
          last edited by

          @Amagatth it work ! now m18 engage break !

          1 Reply Last reply Reply Quote 1
          • p8blrundefined
            p8blr @T3P3Tony
            last edited by

            @T3P3Tony

            (1) 6XD
            (5) 3HC
            (2) 1XD
            raspberry pi 5 in sbc mode

            Z motors and brakes on 6XD (out3-6)

            p8blrundefined 1 Reply Last reply Reply Quote 0
            • p8blrundefined
              p8blr @p8blr
              last edited by

              @timschneider I tried that file but it seems to have messed everything up. Now what do I do?
              2024-08-28 14_33_07-Arc.png

              @dc42 When will this issue be fixed? I've also noticed that remapping drives do different axes messes up the brake control as well. Only a reboot will fix.

              timschneiderundefined 1 Reply Last reply Reply Quote 0
              • timschneiderundefined
                timschneider @p8blr
                last edited by timschneider

                @p8blr
                hi maybe you try the 3.5.3 rc-1 the fix is included

                https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.3-rc.1

                https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x-RC#reprapfirmware-353-rc1-changes-since-352

                M17 did not energise the motor brake solenoid (issue 1023)

                p8blrundefined 1 Reply Last reply Reply Quote 1
                • p8blrundefined
                  p8blr @timschneider
                  last edited by p8blr

                  @timschneider I just setup a new image again and M997 S2 F"unstable" doesn't work, sudo apt update, sudo apt upgrade doesn't update the firmware, neither does M997 B0. How do I do this? I don't see any documentation of the sort.

                  p8blrundefined 1 Reply Last reply Reply Quote 0
                  • p8blrundefined
                    p8blr @p8blr
                    last edited by

                    @dc42 M997 S2 V"3.5.3-rc.1" gives "could not find reprapfirmware package....." on a brand new image. Why is this happening?

                    jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @p8blr
                      last edited by

                      have you switched from the stable to the unstable package feed?

                      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

                      p8blrundefined 1 Reply Last reply Reply Quote 0
                      • p8blrundefined
                        p8blr @jay_s_uk
                        last edited by

                        @jay_s_uk Isn't that what M997 S2 F"unstable" does?

                        @dc42 I ditched the Raspberry Pi for the moment, and connected via usb and used a SD card and YAT to update to the 3.5.3-RC-1, that worked fine. All board up to date, but after I connected my raspberry pi, and uploaded my original config file, now I get the same errors I had after updating in my last post. SPI connection reset, lost connection to duet. Keep in mind the printer was working fine with the same config file for ages up until the upgrade and there have been no hardware changes. Also in SBC mode my can bus lights don't blink right.

                        jay_s_ukundefined timschneiderundefined 2 Replies Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @p8blr
                          last edited by droftarts

                          @p8blr said in 3.5.0-rc.1 Brakes not engaging:

                          M997 S2 V"3.5.3-rc.1"

                          I think that should be M997 S2 V"3.5.3.rc.1" I'm wrong, sorry!

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          1 Reply Last reply Reply Quote 0
                          • jay_s_ukundefined
                            jay_s_uk @p8blr
                            last edited by

                            @p8blr yes, the F should switch you over (not tried it though)

                            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
                            • timschneiderundefined
                              timschneider @p8blr
                              last edited by timschneider

                              @p8blr
                              can you send us the output of
                              M98 P"config.g"

                              maybe there is a bug in the config, as it appears to me, that was created for an older version of RRF. As stated in the config, it was created for Firmware Version 3.5.0 Release Candidate 1, since then there have been a few incompatible changes.

                              p8blrundefined 1 Reply Last reply Reply Quote 0
                              • p8blrundefined
                                p8blr @timschneider
                                last edited by

                                @timschneider

                                Sure thing:

                                config.g
                                driveSetup.g
                                variables.g

                                Thanks

                                timschneiderundefined 1 Reply Last reply Reply Quote 0
                                • timschneiderundefined
                                  timschneider @p8blr
                                  last edited by

                                  @p8blr thank you for the files, but can you just make a screenshot of the output when you send the command M98 P"config.g" in the console.

                                  p8blrundefined 1 Reply Last reply Reply Quote 0
                                  • p8blrundefined
                                    p8blr @timschneider
                                    last edited by p8blr

                                    @timschneider
                                    8599dd83-0801-49f4-841b-0a670ce2ee4e-image.png

                                    I started a new thread more relevant to this specific issue: https://forum.duet3d.com/topic/36442/firmware-update-bricked-printer-spi-connection-has-been-reset

                                    dc42undefined 1 Reply Last reply Reply Quote 0
                                    • p8blrundefined p8blr referenced this topic
                                    • dc42undefined dc42 marked this topic as a regular topic
                                    • dc42undefined
                                      dc42 administrators @p8blr
                                      last edited by

                                      @p8blr thanks for starting a new thread. I will lock this one.

                                      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
                                      • dc42undefined dc42 locked this topic
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA