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

    Upgrade to 3.5.3 failed

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    4
    23
    535
    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.
    • marcel.kastlerundefined
      marcel.kastler @marcel.kastler
      last edited by

      Is there someone from Duet3d who has a solution for my problem, please?

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

        Do you have a Raspberry Pi?
        Is your Mac Intel based?

        Z-Bot CoreXY Build | Thingiverse Profile

        marcel.kastlerundefined 1 Reply Last reply Reply Quote 0
        • marcel.kastlerundefined
          marcel.kastler @Phaedrux
          last edited by

          @Phaedrux Hi, currently no free raspberry pi. I have one older Intel based Mac.

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

            You could try booting a live USB linux and running bossac from there, or borrowing/procuring a rpi and using a spare SD card to install a Pi desktop and flash from there.

            Z-Bot CoreXY Build | Thingiverse Profile

            marcel.kastlerundefined 1 Reply Last reply Reply Quote 0
            • marcel.kastlerundefined
              marcel.kastler @Phaedrux
              last edited by

              @Phaedrux Good morning, I organised myself a raspberry pi, but ran into the next problem and need your guidance.
              I receive a fatal error installing Bossa on the board. I reinstalled the OS to the raspberry, but I get the same error and cannot continue. No idea what to do now. Here the error:

              marcel@voron2:~ $ sudo apt update && sudo apt install -y libwxgtk3.0-dev libreadline-dev
              git clone https://github.com/shumatech/BOSSA
              cd BOSSA
              make
              Hit:1 http://deb.debian.org/debian bookworm InRelease
              Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
              Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
              Get:4 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [191 kB]
              Get:5 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [187 kB]
              Get:6 http://deb.debian.org/debian-security bookworm-security/main Translation-en [116 kB]
              Get:7 http://archive.raspberrypi.com/debian bookworm InRelease [39.2 kB]
              Get:8 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [533 kB]
              Get:9 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [503 kB]
              Fetched 1569 kB in 3s (482 kB/s)
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              42 packages can be upgraded. Run 'apt list --upgradable' to see them.
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              Package libwxgtk3.0-dev is not available, but is referred to by another package.
              This may mean that the package is missing, has been obsoleted, or
              is only available from another source

              E: Package 'libwxgtk3.0-dev' has no installation candidate
              Cloning into 'BOSSA'...
              remote: Enumerating objects: 1727, done.
              remote: Total 1727 (delta 0), reused 0 (delta 0), pack-reused 1727 (from 1)
              Receiving objects: 100% (1727/1727), 1.15 MiB | 5.62 MiB/s, done.
              Resolving deltas: 100% (1321/1321), done.
              make: wx-config: No such file or directory
              make: wx-config: No such file or directory
              CPP APPLET src/WordCopyArm.cpp
              CPP COMMON src/Samba.cpp
              CPP COMMON src/Flash.cpp
              CPP COMMON src/D5xNvmFlash.cpp
              CPP COMMON src/D2xNvmFlash.cpp
              CPP COMMON src/EfcFlash.cpp
              CPP COMMON src/EefcFlash.cpp
              CPP COMMON src/Applet.cpp
              CPP COMMON src/WordCopyApplet.cpp
              CPP COMMON src/Flasher.cpp
              CPP COMMON src/Device.cpp
              CPP COMMON src/PosixSerialPort.cpp
              CPP COMMON src/LinuxPortFactory.cpp
              CPP BOSSA src/BossaForm.cpp
              In file included from src/BossaForm.cpp:8:
              src/BossaForm.h:11:10: fatal error: wx/artprov.h: No such file or directory
              11 | #include <wx/artprov.h>
              | ^~~~~~~~~~~~~~
              compilation terminated.
              make: *** [Makefile:260: obj/BossaForm.o] Error 1

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @marcel.kastler
                last edited by

                @marcel-kastler Sorry you are having problems flashing your Duet board. Both myself and @Phaedrux are Mac users too, and we have tried many times to fix Bossa to work on Macs for the 6HC/6XD, but have yet to be successful. The workarounds described in this thread https://forum.duet3d.com/topic/11445/flashing-firmware-on-mac-os-x do work, but I understand if they don't work for you.

                When this thread started, I thought I'd check the Linux instructions on the 'Bossa' tab here https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware#all-other-duet-boards
                I have also run into the same problem, in that I get the same "Package libwxgtk3.0-dev is not available" message. Apparently this version of the library has been abandoned, and removed from package repositories. It has been replaced by "libwxgtk3.2-dev", but if you install this, the 'make' command to compile Bossa doesn't work. We are currently searching for a workaround.

                However, if you have a Raspberry Pi now, the easiest thing to do is to write the DuetPi image to the Raspberry Pi SD card, has a working version of Bossa on it. NOTE: this will overwrite whatever is currently on the SD card. Follow the first step here https://docs.duet3d.com/User_manual/Machine_configuration/SBC_setup (make sure you DON'T use the 'DuetPi-lite' version, as this doesn't support a connected screen)
                Then follow the 'Bossa' and 'Linux and DuetPi (after March 2022)' tabs here https://docs.duet3d.com/User_manual/RepRapFirmware/Updating_firmware#all-other-duet-boards

                The 6HC firmware is already on the DuetPi image, so you should be able to connect the 6HC to the Raspberry Pi, open a Terminal window and send:

                bossac -e -w -v -b /opt/dsf/sd/firmware/Duet3Firmware_MB6HC.bin
                

                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

                marcel.kastlerundefined 1 Reply Last reply Reply Quote 0
                • marcel.kastlerundefined
                  marcel.kastler @droftarts
                  last edited by

                  @droftarts Hi Ian, yes, quite tedious to get the board back running. Just to confirm. Should I connect the Duet 6HC board via USB to the raspberry pi or should I use the flat ribbon cable, which was included with the duet board?

                  droftartsundefined 2 Replies Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @marcel.kastler
                    last edited by

                    @marcel-kastler via USB. And I feel your pain! I'm trying to get a Ubuntu live USB to flash on a 2013 MacBook Pro.

                    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
                    • droftartsundefined
                      droftarts administrators @marcel.kastler
                      last edited by droftarts

                      @marcel-kastler I've rewritten the Bossa instructions here, and have tested it all: https://docs.duet3d.com/en/User_manual/RepRapFirmware/Updating_firmware#all-other-duet-boards

                      If you have a Raspberry Pi, with the standard Raspberry Pi OS on it still, rather than doing the 'Compiling Bossa' instructions (which you were following), use the 'Linux - Debian/Ubuntu/Raspberry Pi OS' instructions, which are much simpler.

                      If you have already written the DuetPi image to the Raspberry Pi SD card, follow the 'Raspberry Pi running Duet Pi (after March 2022)' instructions.

                      Alternatively, you can flash on your Intel Mac if you have a 8GB USB stick. Follow the 'Linux Live USB' instructions in the same section.

                      I'm still trying to make a working macOS version of Bossa that is capable of flashing the 6HC.

                      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

                      marcel.kastlerundefined 1 Reply Last reply Reply Quote 0
                      • marcel.kastlerundefined
                        marcel.kastler @droftarts
                        last edited by

                        @droftarts Dear Ian, I made it. It worked. I used a DuetPi image and I could flash the 6HC. A bit tedious and I hope that the normal flashing works for the next firmware version. Many thanks for your help and guidance. Would not have been able to do it without you. Thanks.

                        droftartsundefined 1 Reply Last reply Reply Quote 2
                        • droftartsundefined
                          droftarts administrators @marcel.kastler
                          last edited by

                          @marcel-kastler I'm still trying to get a version of Bossa to compile for macOS. I've tried most of the pull requests that make sense in the Shumatec version, but so far no luck. This one seems to be the best candidate for fixing it: https://github.com/shumatech/BOSSA/issues/106#issuecomment-2462378313
                          Unfortunately, the author of the fix didn't post all the code, and I'm not able to reconstruct what the intent of the code is to reproduce it. Hopefully they will reply with the full code.

                          Ian

                          mbavaro created this issue in shumatech/BOSSA

                          open MacOS fails programming SAM S70, Windows succeeds #106

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

                          marcel.kastlerundefined 1 Reply Last reply Reply Quote 0
                          • marcel.kastlerundefined
                            marcel.kastler @droftarts
                            last edited by

                            @droftarts Dear Ian, your efforts are highly appreciated. However, I consider now to use my 6HC in SBC mode, since I bought a new raspberry. Then firmware updates hopefully become less of a problem since Bossa worked like a charm on your raspi OS.

                            1 Reply Last reply Reply Quote 1
                            • droftartsundefined droftarts marked this topic as a question
                            • droftartsundefined droftarts has marked this topic as solved
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA