Upgrade to 3.5.3 failed
-
@jay_s_uk Singapore
-
@marcel-kastler i'm not aware of them having a reseller etc in Singapore
-
@jay_s_uk I bought it directly from the UK.
-
Is there someone from Duet3d who has a solution for my problem, please?
-
Do you have a Raspberry Pi?
Is your Mac Intel based? -
@Phaedrux Hi, currently no free raspberry pi. I have one older Intel based Mac.
-
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.
-
@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 sourceE: 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 -
@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-boardsThe 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
-
@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?
-
@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
-
@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
-
@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.
-
@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
-
@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.
-
-