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

    For a noob updating firmware on a Duet 3 is very confusing

    Scheduled Pinned Locked Moved
    General Discussion
    6
    26
    1.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.
    • Danalundefined
      Danal
      last edited by Danal

      This is probably not a great way to search, it could very easily break if the internals of the web page change... but for now, this will show the version number without needing to know it in advance.

      cat /opt/dsf/dwc2/js/app.*.js | grep -o -P '.{0,0}.e\.exports=JSON\.parse.{0,18}'
      

      Output for 2.0.7 will be:
      {e.exports=JSON.parse('{"a":"2.0.7"}')}

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • luckyflyerundefined
        luckyflyer
        last edited by luckyflyer

        So I decided to start over and reflash the pi sd card since I couldn't get opencv to install correctly. I followed the steps guide up to line 62. However DWC 2.0.7 is still not sticking, it's back to 2.0.4 with relaunch of DWC. I install using the 2.0.7 DuetWebControl-SBC.zip from the system page in DWC.

        With 2.0.7 installed and displaying as 2.0.7 in DWC I run,
        pi@duet3:~/PythonDSF $ cat /opt/dsf/dwc2/js/app..js | grep -o -P '.{0,0}.e.exports=JSON.parse.{0,18}'
        I get,
        -bash: pi@duet3:~/PythonDSF: No such file or directory
        When I run,
        pi@duet3:~/PythonDSF $ cat /opt/dsf/dwc2/js/app.
        .js | grep -o -P '.{0,17}.2.0.7.{0,6}'
        I get,
        -bash: pi@duet3:~/PythonDSF: No such file or directory.
        Any thoughts on this? Also how do I copy from terminal to get the black outline?

        droftartsundefined A Former User? 2 Replies Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @luckyflyer
          last edited by

          @luckyflyer said in For a noob updating firmware on a Duet 3 is very confusing:

          Also how do I copy from terminal to get the black outline?

          I can help with that! Use the ‘code’ format from the text formatting bar above the message you’re typing. Looks like </>

          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
          • A Former User?
            A Former User @luckyflyer
            last edited by

            @luckyflyer said in For a noob updating firmware on a Duet 3 is very confusing:

            /app..js

            missing an astersik in between the two periods there

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

              First, I apologize. I just copy pasted a terminal session, which made it not very apparent what to copy... I've edited it to make it more clear.

              Second, the problem you are seeing is from my lack of clarity... you copied part of the command prompt. Try the edited version above.

              Third, to get the boxes around code you copy/paste int this forum, just like @droftarts said, you can use the "</>" icon above (when you are posting, it will appear above). OR, you can type three back-tick-quotes "`" both before and after the code. Like this

              ```
              Example code a=5
              More lines
              ```

              Will display like this:

              Example code a=5
              More lines
              

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • luckyflyerundefined
                luckyflyer
                last edited by luckyflyer

                Ok, ran the above line and got what you did only twice, ran it twice just to be sure.

                {e.exports=JSON.parse('{"a":"2.0.7"}')}
                {e.exports=JSON.parse('{"a":"2.0.7"}')}
                

                It was all red like yours, so I don't understand why 2.0.7 is reverting back to 2.0.4 and should I even really care that it's not sticking. I suspect that I should because there may come a time when it will be necessary to update dwc to take advantage of additional features and or bug fixes.
                And everyone thanks for helping me out, I'll get it, it may take awhile. 🖖

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

                  @luckyflyer said in For a noob updating firmware on a Duet 3 is very confusing:

                  so I don't understand why 2.0.7 is reverting back to 2.0.4 and should I even really care that it's not sticking

                  Yeah, this needs to be tracked down. If there is 2.0.7 on the (virtual) SD, then the 2.0.4 is coming from somewhere else. Browser cache, etc.

                  First debugging suggestion: When you see the 2.0.4, try opening the printer in a completely different browser. Edge, or Safari, or something.

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • Wallyundefined
                    Wally @Danal
                    last edited by

                    @Danal said in For a noob updating firmware on a Duet 3 is very confusing:

                    sudo chown root:root /etc/apt/sources.list.d/duet3d-unstable.list

                    Thank you for posting this "how to". Try as I might, I wasn't able to locate the exact details to install the unstable lists. Following steps 1 thru 6, then "sudo apt-get update" followed by "sudo apt-get upgrade" gets you the latest RC candidate.

                    I would also mention, users may want to backup their functional install from the system area in the Web control, select all & right click "download as ZIP" prior to doing this in case you want to revert back.

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

                      Given a system that already have the stable list those 6 steps could be simplified to echo "deb https://pkg.duet3d.com/ unstable armv7" | sudo tee /etc/apt/sources.list.d/duet3d-unstable.list

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

                        @bearer is correct. That is the only 'add' needed.

                        And, I realize that there is LOTS of documentation and knowing which piece to use is a challenge when starting from ground zero. The other way to get on the unstable feed is to execute these commands. Copy/Paste exactly as shown.

                        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

                        Delta / Kossel printer fanatic

                        1 Reply Last reply Reply Quote 0
                        • luckyflyerundefined
                          luckyflyer
                          last edited by

                          I happy to report that 2.0.7 is now reliably displaying at every power up, initially it was not, I did nothing to cause it to do so but glad anyway. I have now put Duet 3 and all associated paraphernalia back into their respective boxes since I have no printer to attach them to. My Sec-kit was ordered 3 months ago and has now been delayed some more, don't know when I'll get it. I set Duet 3 up on the workbench to familiarize myself with it and (for the most part) have had fun getting it configured. I'm certainly not up to full speed on the Duet but a lot better than when I started, I have noticed a willingness to help others on this forum which for a guy like me makes the difference between success and failure.

                          I'm starting to research the Jubilee, looks like a great printer and more versatile but for more than 2x the cost of the sec-kit. Also if I did decide on the Jubilee I wonder would all of the parts be available now that we are in the age of Corona. Interesting times for sure.

                          1 Reply Last reply Reply Quote 0
                          • Mandragoraundefined
                            Mandragora
                            last edited by

                            Hello, I need some help/explanations too.
                            Just got myself a duet3, seller already provided SD with some files. I want to run it in standalone mode (no RPi).
                            I decided to upgrade firmware via USB as on guide: https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Updating_Duet_3_main_board_firmware
                            Steps that I've followed:

                            1. Downloaded and installed BOSSA
                            2. Shorted ERASE header with jumper
                            3. Connected duet3 via USB to laptop (WIN 10 64bit)
                            4. Windows correctly sees board: BOSSA Program Port (COM4)
                            5. I wanted to download latest firmware from: https://github.com/dc42/RepRapFirmware/releases Release 3.01-RC5
                            6. Here is where problems start. There are many files, and it isn't clear which is correct. I've tied to download all .bin files (Duet3Firmware_MB6HC, Duet2CombinedFirmware etc. ) When I want to use BOSSE and write I got "file does not exist"
                              Capture.PNG
                              No idea what I am doin wrong, "send help" 🙂

                            Kind regards,

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

                              @Mandragora STRONGLY recommend you start a new thread.

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • luckyflyerundefined
                                luckyflyer
                                last edited by

                                Yes, proper forum etiquette is to start a new thread with every new problem/issue.

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