Downgrade from 3.2beta2 to 3.1.1



  • Hi,
    I tried 3.2beta2 on Duet3 with Rpi but nothing really works for me. I was unable to make a print, the Z axis moves very slowly, and the start of the print is not done correctly. The head and the bed seem to go their own way .... until the bed hits the head.

    I tried downgrading with:

    apt-get install duetsoftwareframework=3.1.1 duetcontrolserver=3.1.1 duetsd=1.0.6 duettools=3.1.1 duetwebserver=3.1.0 duetwebcontrol=3.1.1 reprapfirmware=3.1.1-1 duetruntime=3.1.1
    

    DuetSoftwareFramework goes wrong:

    Oct 17 17:06:52 raspiduet systemd[1]: Started Duet Control Server.
    Oct 17 17:06:53 raspiduet DuetControlServer[1482]: Duet Control Server v3.1.1
    Oct 17 17:06:53 raspiduet DuetControlServer[1482]: Written by Christian Hammacher for Duet3D
    Oct 17 17:06:53 raspiduet DuetControlServer[1482]: Licensed under the terms of the GNU Public License Version 3
    Oct 17 17:06:54 raspiduet DuetControlServer[1482]: [info] Settings loaded
    Oct 17 17:06:55 raspiduet DuetControlServer[1482]: [info] Environment initialized
    Oct 17 17:06:55 raspiduet DuetControlServer[1482]: [warn] Kernel SPI buffer size is smaller than RepRapFirmware buffer size (4096 configured vs 8192 required)
    Oct 17 17:06:55 raspiduet DuetControlServer[1482]: [fatal] Could not connect to Duet (Invalid protocol version 3)
    log file: ize is smaller than RepRapFirmware buffer size
    

    How can I downgrade to 3.1.1 correctly?
    Thanks



  • @Gio I would suggest using this.
    https://github.com/DanalEstes/DuetVersions
    It will give you the correct command to regress to the correct version.
    But, the SPI control has changed considerably so you will first have to downgrade the firmware on the duet 3. This can be found on github



  • After having run apt the simplest might be to use the usb method to install the firmware

    https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Updating_Duet_3_main_board_firmware
    (or wrapped in a convenient script for the pi wget https://pastebin.com/raw/Wa1kYf3G -O - | tr -d "\r" | bash )

    alternatively get back to 3.2, download 3.1.1 firmware and use M997 to flash the board, then use apt to downgrade the software on the pi.

    sudo wget -O /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet3Firmware_MB6HC.bin
    echo M997 | sudo /opt/dsf/bin/CodeConsole
    


  • Thanks a lot for your help.
    I think I'm ok on rpi, I also copy my backup system folder to rpi but the error persist.

    echo M997 | sudo /opt/dsf/bin/CodeConsole
    

    Don't work:

    Unhandled exception. System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (99): Cannot assign requested address /var/run/dsf/dcs.sock
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
       at DuetAPIClient.BaseConnection.Connect(ClientInitMessage initMessage, String socketPath, CancellationToken cancellationToken) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetAPIClient/BaseConnection.cs:line 98
       at CodeConsole.Program.Main(String[] args) in /home/christian/Duet3D/DuetSoftwareFramework/src/CodeConsole/Program.cs:line 44
       at CodeConsole.Program.<Main>(String[] args)
    Aborted
    

    I never had to flash the board till now.

    Thanks a lot.



  • Got it!!
    Did it with bossa.
    Thanks.



  • I have sucsessfully downgraded from 3.2beta2 to 3.1.1.

    1. Revert Duet3Firmware_MB6HC to 3.1.1
    sudo wget -O /opt/dsf/sd/sys/Duet3Firmware_MB6HC.bin https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet3Firmware_MB6HC.bin
    echo M997 | sudo /opt/dsf/bin/CodeConsole
    
    1. Revert the rest:
    sudo apt -y --allow-downgrades install duetsoftwareframework=3.1.1 duetcontrolserver=3.1.1 duetruntime=3.1.1 duetsd=1.0.6 duettools=3.1.1 duetwebcontrol=3.1.1 duetwebserver=3.1.0 reprapfirmware=3.1.1-1
    

    Cheers
    Max



  • @MaxGyver said in Downgrade from 3.2beta2 to 3.1.1:

    1. Revert Duet3Firmware_MB6HC to 3.1.1

    without M977? if so apt should have worked without wget i reckon?



  • @bearer said in Downgrade from 3.2beta2 to 3.1.1:

    @MaxGyver said in Downgrade from 3.2beta2 to 3.1.1:

    1. Revert Duet3Firmware_MB6HC to 3.1.1

    without M977? if so apt should have worked without wget i reckon?

    Sry my bad! of course with

    echo M997 | sudo /opt/dsf/bin/CodeConsole
    

    I have edited my previous post in order to avoid confusing other users!

    Cheers
    Max


Log in to reply