Skip to main content

Site Navigation

Your Account

Choose Language

Help

Revision to Installing and Updating Firmware

David Crocker

Upgrading a Duet 2 Wifi or Duet 2 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 firmware binary file. It may be called something like Duet2CombinedFirmware-xxx.bin where xxx is a version number. This is ok because it will be renamed automatically by removing the -xxx part.
*

#
After uploading, Duet 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.
*# Connect DuetWebControl.
*

#
Go to the Settings page.
*

#
On the General tab, press Upload File(s) and browse to the new firmware binary file. It may be called something like Duet2CombinedFirmware-xxx.bin where xxx is a version number. This is ok because it will be renamed automatically by removing the -xxx part.
*

#
After uploading, Duet 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 ==
 
If WiFi is not workingyou are unable to connect to your Duet from a browser, but you can connect to the boardDuet via USB/PronterfaceUSB using Pronterface or YAT etc:
If WiFi is not workingyou are unable to connect to your Duet from a browser, but you can connect to the boardDuet via USB/PronterfaceUSB using Pronterface or YAT etc:
 
*# Take the on-board SD card out and put it in a computer,
*
computer
# Delete any existing firmware files in /sys (Duet2CombinedFirmware.bin, DuetMaestroFirmware.bin, DuetWiFiFirmware.bin or DuetEthernetFirmware.bin)
#
Copy the new '''DuetWiFiFirmware.bin'''firmware binary file to the '''/sys''' folder. ItFor a Duet WiFi or Duet Ethernet, it must be called exactly '''DuetWiFiFirmware.binDuet2CombinedFirmware.bin''' on the SD card. For a Duet Maestro it must be called '''DuetMaestroFirmware.bin'''.
#
Also make sure thatcopy file '''iap4e.bin''' (for Duet WiFi/Ethernet) or '''iap4s.bin''' (for Duet Maestro) into '''/sys'''
# If your board
is present in '''/sys'''.
*
a Duet WiFi, also copy the new DuetWiFiServer.bin file into /sys
# Eject/safely remove the SD card from the PC
#
Replace the on-board SD card in the Duet 2 WiFi
*

#
Restart the Duet 2 WiFi and connect with Pronterface
*
or YAT
#
Send command '''M997 S0''' to install the firmware.
*

#
Press the Disconnect button in Pronterface, then when the USB port disappears and reappears about 20 seconds later, press Connect.
# Send M115 to confirm the new firmware version
# If the board is a Duet WiFi, send '''M997 S1''' to install the WiFi module firmware

Note: when you run M997 S0, if your board is a Duet WiFi or Ethernet running old firmware, you may get an error message telling you that file DuetWiFiFirmware.bin or DuetEthernetFirmware.bin was not found. If that happens, copy or rename the Duet2CombinedFirmware.bin file to that filename and try again.
*# Take the on-board SD card out and put it in a computer,
*
computer
# Delete any existing firmware files in /sys (Duet2CombinedFirmware.bin, DuetMaestroFirmware.bin, DuetWiFiFirmware.bin or DuetEthernetFirmware.bin)
#
Copy the new '''DuetWiFiFirmware.bin'''firmware binary file to the '''/sys''' folder. ItFor a Duet WiFi or Duet Ethernet, it must be called exactly '''DuetWiFiFirmware.binDuet2CombinedFirmware.bin''' on the SD card. For a Duet Maestro it must be called '''DuetMaestroFirmware.bin'''.
#
Also make sure thatcopy file '''iap4e.bin''' (for Duet WiFi/Ethernet) or '''iap4s.bin''' (for Duet Maestro) into '''/sys'''
# If your board
is present in '''/sys'''.
*
a Duet WiFi, also copy the new DuetWiFiServer.bin file into /sys
# Eject/safely remove the SD card from the PC
#
Replace the on-board SD card in the Duet 2 WiFi
*

#
Restart the Duet 2 WiFi and connect with Pronterface
*
or YAT
#
Send command '''M997 S0''' to install the firmware.
*

#
Press the Disconnect button in Pronterface, then when the USB port disappears and reappears about 20 seconds later, press Connect.
# Send M115 to confirm the new firmware version
# If the board is a Duet WiFi, send '''M997 S1''' to install the WiFi module firmware

Note: when you run M997 S0, if your board is a Duet WiFi or Ethernet running old firmware, you may get an error message telling you that file DuetWiFiFirmware.bin or DuetEthernetFirmware.bin was not found. If that happens, copy or rename the Duet2CombinedFirmware.bin file to that filename and try again.
 
== Fallback procedure #2 ==

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

Revert Changes