Failed Duet3 & SBC firmware update (again)
-
The file name of the downloaded duetpi-lite is 2021-07-12-DuetPi-lite so I assume it's not been updated in a while?
-
@rushmere3d this is a link to the latest file
https://pkg.duet3d.com/DuetPi-lite.zip -
Fresh download of DuetPi-Lite from the docs site and I get the following error trying to load the DWC.
-
@rushmere3d is the duet board plugged into the pi?
are you able to setup standalone and confirm the firmware running on it? -
@jay_s_uk Yes, everything is connected how it has been since I build the toolchanger. And the other SD card with semi updated firmware on works.
No I haven't tried in standalone mode.
-
@rushmere3d I had the same thing with a fresh DuetPi installation.
Can you check what it posts if you type sudo journalctl -u duetcontrolserver into putty.
For me i think it had to do with dissimilair firmware versions on the RPi and duet but i'm not sure. When i updated to the newest stable release (3.4) it started working again. -
@piet How did you update? Via putty I assume?
-
Output from sudo journalctl -u duetcontrolserver
Mar 18 10:37:49 duet3 systemd[1]: duetcontrolserver.service: Failed with result 'protocol'. Mar 18 10:37:49 duet3 systemd[1]: Failed to start Duet Control Server. Mar 18 10:37:49 duet3 systemd[1]: duetcontrolserver.service: Service RestartSec=100ms expired, scheduling restart. Mar 18 10:37:49 duet3 systemd[1]: duetcontrolserver.service: Scheduled restart job, restart counter is at 5. Mar 18 10:37:49 duet3 systemd[1]: Stopped Duet Control Server. Mar 18 10:37:49 duet3 systemd[1]: Starting Duet Control Server... Mar 18 10:37:49 duet3 DuetControlServer[1141]: Duet Control Server v3.3.0 Mar 18 10:37:49 duet3 DuetControlServer[1141]: Written by Christian Hammacher for Duet3D Mar 18 10:37:49 duet3 DuetControlServer[1141]: Licensed under the terms of the GNU Public License Version 3 Mar 18 10:37:50 duet3 DuetControlServer[1141]: [info] Settings loaded Mar 18 10:37:51 duet3 DuetControlServer[1141]: [info] Environment initialized Mar 18 10:37:51 duet3 DuetControlServer[1141]: [fatal] Could not connect to Duet (Invalid protocol version 6)
Now doing a
sudo apt-get update sudo apt-get upgrade
-
@rushmere3d I just updated the default DuetPi and DuetPi-lite builds as well with new images that have v3.4 integrated. That way users don't need to perform extra steps after apt update/upgrade as described in the upgrade notes.
You can always update the firmware using
M997
if the update process fails. TBH I never saw that error message before, but I added some extra checks to avoid it in the future. -
Right that's got me back up and running, after a longer update process everything seems to have updated correctly including the expansion board.
I'd still like to get to the bottom of why things didn't work last time and this time updating from my existing system.
Thinking about it, could me running execonmcode affect it some how?
Thanks for the help all.
-
Good to hear, I'm not sure i had the same error message coming from a clean image (Invalid protocol version 6). Read somewhere on the forum that it had to do with dissimilair versions on the pi and duet but I'm not sure.
-
That definitely helps! Updating to 3.4 takes around 30min I'd say
-
-
Any guidance anywhere in the forum or in docs on updating sbc mode fw when printer has no internet access directly ?
-
@sputnikoc3d said in Failed Duet3 & SBC firmware update (again):
Any guidance anywhere in the forum or in docs on updating sbc mode fw when printer has no internet access directly ?
I suppose you could download the DuetPi image for 3.4 and reflash the SD card (backup your config) and then use M997 to update the firmware on the board.