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

    Upgrading to RFF 3.0RC2 issues

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    10
    37
    2.0k
    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.
    • blt3dpundefined
      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

      Dougal1957undefined 1 Reply Last reply Reply Quote 1
      • Dougal1957undefined
        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
        • Minionundefined
          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
            • Minionundefined
              Minion
              last edited by

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

              jay_s_ukundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
              • jay_s_ukundefined
                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
                • deckingmanundefined
                  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

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

                    @jay_s_uk I'll start reading on how to do that, ty
                    @deckingman tried that, still same.

                    Ok, got some extra info I failed to mention which may be of relevance: I have two expansion boards attached to my duet. Those I managed to update to 3.0RC2 2019-12-28b4 - (that's what I get if I sent M115 B1 / M115 B2).

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

                      @Minion that's the correct expansion board firmware.

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

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

                        @deckingman said in Upgrading to RFF 3.0RC2 issues:

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

                        It should also be possible to use Duet3iap_sd_MB6HC.bin to upgrade direct from beta 11 to RC2. Just make sure you have both IAP files in /sys. RRF will pick the one that it wants to use.

                        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
                        • Minionundefined
                          Minion
                          last edited by Minion

                          @dc42 got both IAP files in sys.

                          Now, while calling M997 to update, I actually get an error:

                          Error: Failed to create directory 0:/sys
                          Error: Failed to create folder 0:/sys while trying to open file 0:/sys/filaments.csv
                          

                          Ideas anyone?

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

                            @Minion said in Upgrading to RFF 3.0RC2 issues:

                            0:/sys/filaments.csv

                            Maybe you can kind of work around it by going to the filaments section on the left and creating a filament to see if maybe it will create the filaments.csv for you? Unsure why the firmware update would need that but maybe that'll be enough to get past it?

                            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
                            • Minionundefined
                              Minion
                              last edited by

                              @blt3dp now M997 finishes without errors, but still end up with same "3.0beta12+1".

                              Everything else seems to be updating without problems via apt-get update/upgrade.

                              Here's the list of files in my /sys/, maybe one of you can spot I am missing something or there's anything which doesn't belong there:

                              .      config.g     Duet3Bootloader_EXP.bin   Duet3Firmware_MB6HC.bin  Duet3iap_spi_MB6HC.bin  Duet3_SBCiap_MBP05.bin  filaments.csv  homey.g    pause.g   stop.g    tpre0.g
                              ..     config.json  Duet3Bootloader_TOOL.bin  Duet3Firmware_MBP05.bin  Duet3iap_spi_MBP05.bin  Duet3_SDiap_MB6HC.bin   homeall.g      homez.g    resume.g  tfree0.g
                              bed.g  configOld.g  Duet3Firmware_EXP3HC.bin  Duet3iap_sd_MB6HC.bin    Duet3_SBCiap_MB6HC.bin  dwc2settings.json       homex.g        iap4e.bin  sleep.g   tpost0.g
                              
                              1 Reply Last reply Reply Quote 0
                              • Danalundefined
                                Danal
                                last edited by Danal

                                There may be a solution that allows an M997, and you may want to continue to pursue it. If instead you just want to move on, consider bossa/bossac. Specifically, I also got stuck on that release on the 6HC, and also was able to upgrade expansion boards with M997.

                                I plugged a short USB cable from the Pi to the 6HC, installed the latest release of bossa on the Pi, and ran bossac from the Pi.

                                I do remember something about putting bossa on via apt-get, and then taking it off, and putting on a more current release, directly from the vendor's github page. So just start with https://github.com/shumatech/BOSSA to install bossa if you chose to go this way. The final commands were:

                                git clone https://github.com/shumatech/BOSSA
                                cd BOSSA
                                make bossac
                                ~/BOSSA/bin/bossac -e -w -v -b /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin -R

                                Delta / Kossel printer fanatic

                                1 Reply Last reply Reply Quote 1
                                • gtj0undefined
                                  gtj0
                                  last edited by

                                  I think you still need --port=/dev/ttyUSBxon that bossac command. Anyway, that's how I have mine hooked up as well.

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

                                    bossac will auto-scan! What a great tool.

                                    Delta / Kossel printer fanatic

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

                                      @Danal I am about to give up trying to find a workaround with M997. Will try with bossa/bossac soon and report here how it went. Ty for your suggestion and guide.

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

                                        You should upgrade to 3.0 stable, not 3.0RC2. As you have an attached RPi, you should be able to do this using sudo apt-get-update and apt-get-upgrade. If that doesn't work for you, please start a new thread.

                                        I think the problems you are encountering may be caused by the old version of Duet Software Framework on your RPi. The above procedure will upgrade DSF as well.

                                        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
                                        • Minionundefined
                                          Minion
                                          last edited by Minion

                                          Well, thanks everybody for your input - finally got my stuck RRF version upgraded properly with the help of BOSSA. Went for the 3.0 stable btw.

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