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

    Flashing firmware on Mac OS X

    Scheduled Pinned Locked Moved
    Firmware installation
    14
    38
    5.9k
    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.
    • dc42undefined
      dc42 administrators @Dizzwold
      last edited by dc42

      @dizzwold said in Flashing firmware on Mac OS X:

      @droftarts

      I've also just thought of something else.

      Could the paneldue be flashed by my connected SBC, or another RPi?

      Version 3 PanelDue boards (which includes all 5i and 7i boards) can be flashed from RepRapFirmware 3.2 and later over the serial connection. You could also flash a PanelDue from a Pi over USB, by running Bossa on the Pi.

      Edit - I see that Ian already told you that.

      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

      Dizzwoldundefined 1 Reply Last reply Reply Quote 0
      • Dizzwoldundefined
        Dizzwold @dc42
        last edited by

        @dc42 @droftarts

        Thank you both for you input and help.

        Off-subject, is there a tool anywhere to print out the like of the RRF Config tool, Just to state what's on each io connector and on what pins?
        Just wondered.

        Dizzwold.

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @Dizzwold
          last edited by

          @dizzwold said in Flashing firmware on Mac OS X:

          Off-subject, is there a tool anywhere to print out the like of the RRF Config tool, Just to state what's on each io connector and on what pins?
          Just wondered.

          I'm not sure what you mean by this. Can you describe more what you're looking for?

          Z-Bot CoreXY Build | Thingiverse Profile

          Dizzwoldundefined 1 Reply Last reply Reply Quote 0
          • Dizzwoldundefined
            Dizzwold @Phaedrux
            last edited by Dizzwold

            @phaedrux

            Basically some thing to print out (a table or the likes of), listing what's on each connector gathered from the RRF config tool or from DWC?

            I'm just being lazy really.

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

              @dizzwold not yet, but we're working on being able to read the configuration from the object model.

              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
              • Blacksheep99undefined
                Blacksheep99
                last edited by

                I tried updating my Duet yesterday using my Mac but couldn't simply because when I tried to upload the firmware instead of uploading the zip it automatically extracts it and shows the file contents. I couldn't figure out how to resolve it.

                In the end I had to use my work laptop (Windows). Would love to know how to use the Mac for this.

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

                  @blacksheep99 you shouldn't be using a zip with bossa anyway, just the bin file

                  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

                  Blacksheep99undefined 1 Reply Last reply Reply Quote 0
                  • Blacksheep99undefined
                    Blacksheep99 @jay_s_uk
                    last edited by

                    @jay_s_uk Sorry, I kinda did a thread hijack. I was trying to update via DWC. I was on a 3.4.1rc and wanted to update to 3.4.2

                    It was just incredibly frustrating yesterday trying to get it to work.

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @Blacksheep99
                      last edited by

                      @blacksheep99 Do you mean when you downloaded the zip file from Github it automatically extracted it? That's a browser setting. If you're using Safari, from the menus select Safari > Preferences, and untick the 'Open "safe" files after downloading' on the General tab. Zip files will then not automatically extract. Other browsers have this 'feature' optionally set in preferences, too.

                      When you upload the zip to DWC, it should extract it during upload. Make sure your DWC and RRF version match.

                      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

                      Blacksheep99undefined CrazyCreatorundefined Dizzwoldundefined 3 Replies Last reply Reply Quote 0
                      • Blacksheep99undefined
                        Blacksheep99 @droftarts
                        last edited by

                        @droftarts No, I found that setting. Now I think about it though I had already downloaded the file so changing it afterwards makes no sense. I needed to download the file again..... Sometimes looking at things with fresh eyes help! thanks

                        1 Reply Last reply Reply Quote 0
                        • CrazyCreatorundefined
                          CrazyCreator @droftarts
                          last edited by

                          @droftarts said in Flashing firmware on Mac OS X:

                          @blacksheep99 Do you mean when you downloaded the zip file from Github it automatically extracted it? That's a browser setting. If you're using Safari, from the menus select Safari > Preferences, and untick the 'Open "safe" files after downloading' on the General tab. Zip files will then not automatically extract. Other browsers have this 'feature' optionally set in preferences, too.

                          or go in the waste box and drag&drop to desktop

                          http://www.crazycreatorcube.com

                          1 Reply Last reply Reply Quote 1
                          • Dizzwoldundefined
                            Dizzwold @droftarts
                            last edited by

                            @droftarts @Phaedrux @dc42

                            Hi Guy's,

                            Not sure if I can ask this here, but can I ask how I can update the toolboard?

                            I've read that I need to upload Duet3Firmware_TOOL1LC.bin to the firmware folder on the sd card in my Pi4. But how do I do that?

                            Here's my current setup and running on Raspberry Pi4 in SBC mode;
                            17/10/2022, 19:56:20 m115 b121 Board TOOL1LC firmware 3.1.0 (2020-05-15b1)
                            17/10/2022, 19:55:51 m115 s121 FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.2 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-09-13 15:17:43

                            I'd be grateful for your advice.

                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @Dizzwold
                              last edited by Phaedrux

                              @Dizzwold said in Flashing firmware on Mac OS X:

                              But how do I do that?

                              If you're using the Pi, you should first try sudo apt update and sudo apt upgrade. If that doesn't work to update the toolboard you can send M997 B# where # is the canbus address of the toolboard to flash it using the bin file already on the system.

                              If that fails to work, you can upload that bin file to the system tab in DWC.

                              Otherwise, best to start another thread as this doesn't really have anything to do with flashing firmware on Mac OSX anymore.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              Dizzwoldundefined 1 Reply Last reply Reply Quote 0
                              • Dizzwoldundefined
                                Dizzwold @Phaedrux
                                last edited by Dizzwold

                                @Phaedrux @dc42 @droftarts

                                Because of constant network errors while running G29, I've been advised to get rid of the RPI SBC, backup all my sys files and download and extract the Duet firmware for my 6HC.

                                How do I extract the Duet3Firmware_MB6HC to a www folder on an sd card inserted in to my mac computer?

                                Etcher states Missing partition table and not bootable.
                                Mac Unarchiver cannot extract the contents.
                                Archive Uttility app converts it to .bin.cpgz

                                Any ideas?

                                droftartsundefined 1 Reply Last reply Reply Quote 0
                                • droftartsundefined
                                  droftarts administrators @Dizzwold
                                  last edited by

                                  @Dizzwold for SD card setup in standalone mode, see https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card

                                  The DWC files go in the /www folder, not the firmware files. You will need to get the DuetWebControl-SD.zip from the same release as the firmware you are running. Latest v3.4.4: https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.4/DuetWebControl-SD.zip
                                  Unzip this and copy it to the www folder on the SD card.

                                  The firmware binary files go in the /firmware folder. However, so long as you haven’t deleted the firmware from the 6HC, you don’t need them. The Duet runs the same firmware for standalone and SBC, so you shouldn’t need to update the firmware to get it working. Indeed, if you have a Mac, DON’T erase the firmware; flashing firmware on 6HC using bossac on Mac is currently not working. Though you can use an RPi to do it.

                                  Your config files go in the /sys folder.

                                  Once all is in place, follow the Getting connected guide if you can’t automatically connect: https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet

                                  Any further problems, please start a new thread, as this thread is more aimed at firmware flashing on Mac.

                                  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 1
                                  • droftartsundefined
                                    droftarts administrators
                                    last edited by

                                    Update to flashing Duet firmware on macOS:

                                    I successfully flashed a couple of 6HC boards by installing VMware Fusion, then Windows 11 ARM 64-bit ARM, installing the Microsoft Visual C++ Redistributible ARM version (or Bossa complains about a missing dll), then installing the Duet version of Bossa (bossac command line version also worked). This was tested on an M2 MacBook Pro, running macOS Sonoma 14.5. I couldn't install the Duet device drivers, but YAT and Bossa worked fine anyway. If you have an Intel Mac, I suspect installing VMware Fusion and Windows 11 x64 version (and maybe the Microsoft Visual C++ Redistributible), and running the Duet version of Bossa will also work.

                                    I've added the above to the first post.

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