Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Upgrading to RFF 3.0RC2 issues

    Beta Firmware
    10
    37
    820
    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.
    • Minion
      Minion last edited by Minion

      I am attempting to upgrade to RRF 3.0RC2. Setup: Duet3+Raspberry pi 4. Board: Duet 3 MB6HC (MB6HC)
      DSF Version: 1.1.0.5 Firmware: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-11-11b1)

      Uploading system files via web and initializing installation gives:

      M997 S0
      Error: Failed to find IAP file /opt/dsf/sd/sys/Duet3iap_spi_MB6HC.bin
      

      It's likely I've removed some .bin files required for update from /sd/ while cleaning up. Any way to get it without having to do clean install?

      1 Reply Last reply Reply Quote 0
      • Dougal1957
        Dougal1957 last edited by Dougal1957

        here you go

        just place the file in the SYS folder on the sd card

        1 Reply Last reply Reply Quote 0
        • Minion
          Minion last edited by

          Thanks, but gives me same error about missing "Duet3iap_spi_MB6HC.bin"

          1 Reply Last reply Reply Quote 0
          • themelle
            themelle last edited by

            Please try with https://github.com/dc42/RepRapFirmware/releases/download/3.0RC2/Duet3_SDiap_MB6HC.bin uploaded to the /sys folder on the SD card of your Duet3.

            1 Reply Last reply Reply Quote 0
            • Minion
              Minion last edited by Minion

              Nop, still same. In case you have similar Pi setup, can you see if you can find "Duet3iap_spi_MB6HC.bin" file?

              1 Reply Last reply Reply Quote 0
              • Dougal1957
                Dougal1957 last edited by

                have you updated the image/version of the system on the pi?

                AFAIK It needs to be at least 1.2.x.x

                1 Reply Last reply Reply Quote 0
                • Minion
                  Minion last edited by

                  I am pretty sure I am up to date with my Pi 4. The file(s) I am missing either came on sd with my Duet3 or were supposed to be generated/installed with an update to my current 3.0beta12+1 version.

                  Dougal1957 1 Reply Last reply Reply Quote 0
                  • Dougal1957
                    Dougal1957 @Minion last edited by

                    @Minion if you run a M122 the resulting info will include the DSF Version info

                    1 Reply Last reply Reply Quote 0
                    • blt3dp
                      blt3dp last edited by blt3dp

                      I'm having issues with this too. I think the documentation is lacking. I don't believe uploading stuff like new firmware applies to us anymore.

                      The documentation on github states:

                      You should also upload the new IAP file for your system. You will need it when upgrading firmware in future. These files are called Duet2CombinedIAP.bin, DuetMaestroIAP.bin, Duet3_SBCiap_MB6HC.bin (for Duet 3+SBC)
                      

                      For the Duet and PI combination, you would believe that we should use Duet3_SBCiap_MB6HC.bin
                      But it's not one of the files in the releases.

                      I had been told that the updated firmware is installed when you update the duetsoftwareframework package on the pi using the unstable branch on the package server (since it is RC)

                      Which did successfully update to the most current at the time, which was 3.0RC1

                      But now that RC2 is out, I'd like to update to it and when I go to update duetsoftwareframework it states it's already up to date.

                      I'd like cleared documentation on how to actually upgrade the firmware on a Duet+SBC machine.

                      For your issues, to get you a little closer,

                      SSH into your pi and and run these to get the unstable repository

                      wget -q https://pkg.duet3d.com/duet3d.gpg
                      wget -q https://pkg.duet3d.com/duet3d-unstable.list
                      sudo mv duet3d.gpg /etc/apt/trusted.gpg.d/
                      sudo mv duet3d-unstable.list /etc/apt/sources.list.d/duet3d-unstable.list
                      sudo chown root:root /etc/apt/trusted.gpg.d/duet3d.gpg
                      sudo chown root:root /etc/apt/sources.list.d/duet3d-unstable.list
                      

                      Then do

                      apt-get update
                      apt-get upgrade duetsoftwareframework
                      

                      Edit: in your original post

                      /opt/dsf/sd/sys/
                      

                      Instead of doing it via the web interface, maybe put it into that location on the pi directly?

                      My 3D Printing YouTube Channel
                      Better Living Through 3D Printing

                      Follow me on Instagram and Twitter
                      Instagram
                      Twitter

                      Dougal1957 1 Reply Last reply Reply Quote 1
                      • Dougal1957
                        Dougal1957 @blt3dp last edited by Dougal1957

                        @blt3dp To update to RC2 all you have to do is download the firmware page and then drag and drop it to the upload system files button on dwc!

                        1 Reply Last reply Reply Quote 0
                        • Minion
                          Minion last edited by

                          Thanks to @Dougal1957 and @blt3dp pointing me at right direction - updated DSF to 1.2.1.0.

                          So now uploading "Duet3Firmware_MB6HC.bin" as system file starts update without errors. However, after installation it still shows that Firmware is : RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-11-11b1)

                          What am I missing here?

                          1 Reply Last reply Reply Quote 0
                          • blt3dp
                            blt3dp last edited by

                            Glad I helped, this is where I'm seeing the disconnect. When I upgraded the duetsoftwareframework, it updated me to 3.0RC1

                            Interesting it didn't for you, I wonder if I did something else that updated the firmware.

                            How about if you do

                            apt-get upgrade reprapfirmware
                            

                            My 3D Printing YouTube Channel
                            Better Living Through 3D Printing

                            Follow me on Instagram and Twitter
                            Instagram
                            Twitter

                            Dougal1957 1 Reply Last reply Reply Quote 0
                            • Minion
                              Minion last edited by

                              did that, I get:

                              reprapfirmware is already the newest version (1.2.1.0-1).
                              
                              1 Reply Last reply Reply Quote 0
                              • Dougal1957
                                Dougal1957 @blt3dp last edited by

                                @blt3dp IIRC DC did say to hold off doing the RC1 upgrade until DSF1.2.x.x was released and it would upgrade AIO but that was I think mainly so that the IAP Fit was put in the correct place. RC2 uses the same file so can be installed as per the old method

                                blt3dp 1 Reply Last reply Reply Quote 0
                                • blt3dp
                                  blt3dp @Dougal1957 last edited by

                                  @Dougal1957 said in Upgrading to RFF 3.0RC2 issues:

                                  @blt3dp IIRC DC did say to hold off doing the RC1 upgrade until DSF1.2.x.x was released and it would upgrade AIO but that was I think mainly so that the IAP Fit was put in the correct place. RC2 uses the same file so can be installed as per the old method

                                  Which coincides with the documentation

                                  Before you can update DSF, it is important to install the latest RepRapFirmware version first. If you are using recent DCS (>= 1.0.2.0) and RRF versions, you can put the updated Duet3Firmware.bin file in the /sys directory and run "M997". This will trigger a firmware update. For convenience, you can simply upload Duet3Firmware.bin on the System page of DWC2 and confirm the update.
                                  

                                  But it didn't appear to work:

                                  @Minion said in Upgrading to RFF 3.0RC2 issues:

                                  So now uploading "Duet3Firmware_MB6HC.bin" as system file starts update without errors. However, after installation it still shows that Firmware is : RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-11-11b1)

                                  What am I missing here?

                                  My 3D Printing YouTube Channel
                                  Better Living Through 3D Printing

                                  Follow me on Instagram and Twitter
                                  Instagram
                                  Twitter

                                  Dougal1957 1 Reply Last reply Reply Quote 0
                                  • Dougal1957
                                    Dougal1957 @blt3dp last edited by Dougal1957

                                    @blt3dp I found this which may be your issue.
                                    858699a9-66f9-4249-b942-b84e2a528f68-image.png

                                    4th post in this thread https://forum.duet3d.com/topic/13381/reprapfirmware-3-0rc1-released/3 refers

                                    blt3dp 1 Reply Last reply Reply Quote 0
                                    • blt3dp
                                      blt3dp @Dougal1957 last edited by

                                      @Dougal1957 said in Upgrading to RFF 3.0RC2 issues:

                                      @blt3dp I found this which may be your issue.
                                      858699a9-66f9-4249-b942-b84e2a528f68-image.png

                                      4th post in this thread https://forum.duet3d.com/topic/13381/reprapfirmware-3-0rc1-released/3 refers

                                      I've got DSF 1.2.1.0 installed.

                                      My 3D Printing YouTube Channel
                                      Better Living Through 3D Printing

                                      Follow me on Instagram and Twitter
                                      Instagram
                                      Twitter

                                      1 Reply Last reply Reply Quote 0
                                      • Danal
                                        Danal last edited by Danal

                                        • (1) Be sure your Pi is on the beta feed.

                                        • (2) Do full upgrade
                                          sudo apt-get update
                                          sudo apt-get upgrade

                                        • (3) Maybe need to do specific upgraded for DSF. Maybe. Check version. If needed
                                          sudo apt-get upgrade duetsoftwareframework

                                        • (4) Should be able to m997 and get to RC1

                                        • (5) Should now be able to use Web System upload to get to RC2.

                                        KEY is beta feed and update Pi.

                                        Delta / Kossel printer fanatic

                                        1 Reply Last reply Reply Quote 0
                                        • blt3dp
                                          blt3dp last edited by

                                          Looks like @chrishamm just updated the packages on the unstable, I was able to get to 3.0RC2 by running:

                                          apt-get update
                                          apt-get upgrade duetsoftwareframework
                                          

                                          My 3D Printing YouTube Channel
                                          Better Living Through 3D Printing

                                          Follow me on Instagram and Twitter
                                          Instagram
                                          Twitter

                                          Dougal1957 1 Reply Last reply Reply Quote 1
                                          • Dougal1957
                                            Dougal1957 @blt3dp last edited by Dougal1957

                                            @blt3dp it may be worth running a M997 you may find it updates to RC2+1

                                            This post refers

                                            1 Reply Last reply Reply Quote 0
                                            • Minion
                                              Minion last edited by

                                              apt-get update
                                              apt-get upgrade duetsoftwareframework
                                              

                                              seemed to be working for most part, until I got error:

                                              Setting up duetcontrolserver (1.2.2.0) ...
                                              Setting up duettools (1.2.2.0) ...
                                              Setting up reprapfirmware (1.2.2.0-1) ...
                                              [error] Failed to connect to Duet
                                                 System.IO.IOException: Error 16. Cannot put line into event mode.
                                                 at LinuxDevices.InputGpioPin..ctor(String devNode, Int32 pin, String consumerLabel) in /home/christian/duet/DuetSoftwareFramework/src/LinuxDevices/InputGpioPin.cs:line 60
                                                 at DuetControlServer.SPI.DataTransfer.Init() in /home/christian/duet/DuetSoftwareFramework/src/DuetControlServer/SPI/DataTransfer.cs:line 65
                                                 at DuetControlServer.SPI.Interface.Init() in /home/christian/duet/DuetSoftwareFramework/src/DuetControlServer/SPI/Interface.cs:line 65
                                                 at DuetControlServer.Program.Main(String[] args) in /home/christian/duet/DuetSoftwareFramework/src/DuetControlServer/Program.cs:line 92
                                              

                                              then did

                                              apt reinstall reprapfirmware
                                              

                                              and while

                                              Setting up reprapfirmware (1.2.2.0-1) ...
                                              

                                              no errors occured. So now I have:
                                              DSF: 1.2.2.0
                                              RRF: 1.2.2.0

                                              Sent M997, said updating + restarts. M122 says I am still on "RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-11-11b1) ".

                                              Uploading "Duet3Firmware_MB6HC.bin" for either RC1 or RC2 as system file initializes update, restarts + M997 ....aaaand still says I am on 3.0beta12+1.

                                              Whats up with that?

                                              @Danal, if I am getting the "unstable" versions of DSF+RRF via apt-get upgrades means I am on "beta" feed, right?

                                              A Former User 1 Reply Last reply Reply Quote 0
                                              • A Former User
                                                A Former User @Minion last edited by

                                                @Minion said in Upgrading to RFF 3.0RC2 issues:

                                                , if I am getting the "unstable" versions of DSF+RRF via apt-get upgrades means I am on "beta" feed, right?

                                                yeah, if you added the unstable apt source you'll get the beta

                                                1 Reply Last reply Reply Quote 0
                                                • Minion
                                                  Minion last edited by

                                                  Well in that case I am confused about what am I doing wrong. Very open to suggestions 🙂

                                                  jay_s_uk deckingman 2 Replies Last reply Reply Quote 0
                                                  • jay_s_uk
                                                    jay_s_uk @Minion last edited by

                                                    @Minion if you can't get it to upgrade, you'll have to use bossa to upgrade to the latest version. I rember @Danal mentioning he had to do that to go from beta 12 to RC1

                                                    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 1
                                                    • deckingman
                                                      deckingman @Minion last edited by

                                                      @Minion said in Upgrading to RFF 3.0RC2 issues:

                                                      Well in that case I am confused about what am I doing wrong. Very open to suggestions 🙂

                                                      Your issue sounds very much like this thread https://forum.duet3d.com/topic/13607/duet-3-standalone-rrf3-package/21

                                                      I'm not 100% sure but I think you need to get the file Duet3iap_sd_MB6HC.bin from 3.0Beta11 which will get you to RC1. Then you need Duet3_SDiap_MB6HC to get to RC2.

                                                      Ian
                                                      https://somei3deas.wordpress.com/
                                                      https://www.youtube.com/@deckingman

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