Skip to main content

Site Navigation

Your Account

Choose Language

Help

Revision to Installing and Updating Firmware

David Crocker

* Take the SD card out of the Duet and put it in an adapter connected to your PC.
* Use Notepad++ or another text editor to put a semicolon character at the start of the M552 line in file /sys/config.g so that the main firmware does not attempt to enable the WiFi module at startup.
* CopyIn a browser go to https://github.com/dc42/RepRapFirmware/releases and foinr the versionslatest stable release - that's the one nearest the top of Duet2CombinedFirmware.binthe page without "beta" or "RC" in the name
* Download files Duet2CombinedFirmware.bin, iap4e.bin
and DuetWiFiServer.bin you want to use
* Copy those files
into /sys on the SD card. They must have exactly those filenames, so if the files you downloaded had the version number included in the filename, then you will need to rename them. Note, if your existing firmware is 1.21 or earlier then you will also need a second copy of Duet2CombinedFirmware.bin renamed to DuetWiFiFirmware.bin, also in /sys.
* Also copy the latest iap4e.bindownload file into /sys.DuetWebControl.zip (it may have a version number in the filename, for example DuetWebControl-1.22.6.zip)
* CopyIn a browser go to https://github.com/dc42/RepRapFirmware/releases and foinr the versionslatest stable release - that's the one nearest the top of Duet2CombinedFirmware.binthe page without "beta" or "RC" in the name
* Download files Duet2CombinedFirmware.bin, iap4e.bin
and DuetWiFiServer.bin you want to use
* Copy those files
into /sys on the SD card. They must have exactly those filenames, so if the files you downloaded had the version number included in the filename, then you will need to rename them. Note, if your existing firmware is 1.21 or earlier then you will also need a second copy of Duet2CombinedFirmware.bin renamed to DuetWiFiFirmware.bin, also in /sys.
* Also copy the latest iap4e.bindownload file into /sys.DuetWebControl.zip (it may have a version number in the filename, for example DuetWebControl-1.22.6.zip)
* Delete or rename the existing /www folder on the SD card, and create a new one.
* Unzip the contents of your chosen DuetWebControl.zip file into that new /www folder. When done, inside /www there should be subfolders css, fonts and js.
* Safely remove or eject the SD card and put it back in the Duet. If you didn't power the Duet down before you removed the SD card, send M21 to the Duet to tell it to re-mount the SD card.
* Safely remove or eject the SD card and put it back in the Duet. If you didn't power the Duet down before you removed the SD card, send M21 to the Duet to tell it to re-mount the SD card.
 
=== Connect via USB ===
* If the firmware responds with an error message, or it doesn't respond at all even after one minute, then the WiFi firmware is incompatible with the main firmware and needs to be reinstalled. Otherwise, send M122 and look at the WiFi firmware version reported, so see if you have the correct version installed.
* To install the WiFi firmware that you copied to the SD card, send command M997 S1.
* Depending on the firmware versions you upgraded from/to (for example, if you upgraded from pre-1.19 firmware to 1.19 or later), you may need to re-enter the WiFi access point details. See the Getting Connected page for how to do this.

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

Revert Changes