Skip to main content

Site Navigation

Your Account

Choose Language

Help

Revision to Installing and Updating Firmware

David Crocker

== Usual procedure ==
 
CAUTIONNOTE: Upgrading a Duet WiFi from 1.18.2 or earlier firmware to 1.19 or later firmware required a special procedure. See Ugrading'''Upgrading to 1.19 or later''' lower down this page.

Upgrading a Duet WiFi or Duet Ethernet from 1.20 or earlier firmware to 1.21 or later requires a file to be renamed. See '''Upgrading to 1.21 or later'''
lower down this page.
CAUTIONNOTE: Upgrading a Duet WiFi from 1.18.2 or earlier firmware to 1.19 or later firmware required a special procedure. See Ugrading'''Upgrading to 1.19 or later''' lower down this page.

Upgrading a Duet WiFi or Duet Ethernet from 1.20 or earlier firmware to 1.21 or later requires a file to be renamed. See '''Upgrading to 1.21 or later'''
lower down this page.
 
* Connect DuetWebControl.
* Go to the Settings page.
* On the General tab, press Upload File(s) and browse to the new '''DuetWiFiFirmware.bin'''firmware binary file. It may be called something like DuetWiFiFirmware-xxx.bin whichDuet2CombinedFirmware-xxx.bin where xxx is a version number. This is ok because it will be renamed automaticallyautomatically by removing the -xxx part.
* After uploading, DuetWebControlDuet Web Control will ask you whether you want to install the new firmware. If you are only updating the main firmware, answer '''Yes'''. If you are updating WiFi firmware as well, answer '''No''' so that you can upload the new WiFi firmware too.
* If your 3D printer is idle when you upload the file but Duet Web Control does not offer to install it, then it doesn't recognise the filename as being a firmware binary. Check that you have uploaded the correct file, also see the section later on this page about the filename change that was made at firmware version 1.21.
* On the General tab, press Upload File(s) and browse to the new '''DuetWiFiFirmware.bin'''firmware binary file. It may be called something like DuetWiFiFirmware-xxx.bin whichDuet2CombinedFirmware-xxx.bin where xxx is a version number. This is ok because it will be renamed automaticallyautomatically by removing the -xxx part.
* After uploading, DuetWebControlDuet Web Control will ask you whether you want to install the new firmware. If you are only updating the main firmware, answer '''Yes'''. If you are updating WiFi firmware as well, answer '''No''' so that you can upload the new WiFi firmware too.
* If your 3D printer is idle when you upload the file but Duet Web Control does not offer to install it, then it doesn't recognise the filename as being a firmware binary. Check that you have uploaded the correct file, also see the section later on this page about the filename change that was made at firmware version 1.21.
 
== Fallback procedure #1 ==
* Use the M997 command to install them all at once, specifying which firmwares you want to update in the S parameter. For example, M997 S0:1:2 will update all firmwares, provided that all the firmware files and iap4e.bin are present in /sys on the SD card.
 
== Upgrading a Duet WiFi to DuetWiFiFirmwarefirmware 1.19 or later from 1.18.2 or earlier ==
== Upgrading a Duet WiFi to DuetWiFiFirmwarefirmware 1.19 or later from 1.18.2 or earlier ==
 
In firmware version 1.19 for the Duet WiFi the webserver functionality has been moved off the wifi module onto the Duet main processor. This means that the updates to the main firmware and the wifi firmware need to be synchronised, and the DuetWebControl files are read from the SD card instead of being uploaded to the WiFi module. Also the network SSID and password are sent to the WiFi module using gcodes. So upgrading from earlier firmware versions is not as straightforward as usual.
 
You will need to do a simultaneous installation of DuetWiFiFirmware-1.18.2.bin and DuetWiFiServer-1.03ch.bin. You should not need to re-install DuetWebControl.bin because it should still be resident on the WiFi module. You do not need to roll back the Windows USB driver, because the newer driver versions are compatible with older firmware versions too.
 
== Upgrading a Duet WiFi or Ethernet to firmware 1.21 or later from 1.20 or earlier ==
 
In firmware 1.21 and later, the Duet WiFi and Duet Ethernet use a common firmware binary file, which is named Duet2CombinedFirmware.bin. However, if the current firmware on your Duet is 1.20 or earlier then it won't recognise that name as being a valid firmware binary. Therefore, after downloading Duet2CombinedFirmware.bin, rename it to DuetWiFiFirmware.bin or DuetEthernetFirmware.bin (as appropriate for your board) and then upload it.
 
== How to recover if the main firmware and WiFi firmware versions get out of step on your Duet WiFi ==

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes