This page describes how to update the PanelDue firmware.
With the PanelDue connected to the Duet, and powered up, click on "Setup" on the display. Current firmware version is at the top of the 'Setup' screen.
Generally, use the same PanelDue firmware version as the RepRapFirmware version installed on the mainboard. For example, for RepRapFirmware 3.5.x, use PanelDue firmware 3.5.x.
From RepRapFirmware 3.6.0 you will need to upgrade your PanelDue to firmware 3.5.1 or later. This is because some floating point values in the object model returned by M409 and HTTP call rr_model are now expressed using exponential format, which older versions of PanelDueFirmware don't handle.
From RepRapFirmware 3.7.x including alpha, beta and RC versions, you will need to upgrade your PanelDue to firmware 3.5.2 or later. This is because of a change in the way that RRF reports delta kinematics.
From RepRapFirmware 3.1.1, PanelDue hardware versions 7i, 5i, V3 and those V2 with ATSAM3S4B processor (shipped after August 2016) can use the improved PanelDue firmware version 3.2.x and later. Unfortunately, due to the lack of RAM, this and later versions of PanelDue firmware will not run on V1 or early V2 PanelDue boards that use the ATSAM3S2B chip. See PanelDue firmware notes for details.
For all versions of RepRapFirmware prior to RRF 3.1.1 use PanelDue firmware version 1.25.0 on all versions of PanelDue hardware.
Locate and download PanelDue firmware for your display from Duet3D PanelDue Github.
The following table shows the filenames for the PanelDue Firmware 3.5.2 and later.
PanelDue version | Screen size | Firmware file (Duet3D logo) | Firmware file (no logo) |
---|---|---|---|
PanelDue 5i | 5" | PanelDueFirmware-5.0i-7.0i.bin | PanelDueFirmware-5.0i-7.0i-nologo.bin |
PanelDue 7i | 7" | ||
PanelDue v3.0 | 4.3" | PanelDueFirmware-v3-4.3.bin | PanelDueFirmware-v3-4.3-nologo.bin |
5" | PanelDueFirmware-v3-5.0.bin | PanelDueFirmware-v3-5.0-nologo.bin | |
7" | PanelDueFirmware-v3-7.0.bin | PanelDueFirmware-v3-7.0-nologo.bin | |
7"C | PanelDueFirmware-v3-7.0C.bin | PanelDueFirmware-v3-7.0C-nologo.bin | |
PanelDue v2.0 (after August 2016) |
4.3" | PanelDueFirmware-v2-4.3.bin | PanelDueFirmware-v2-4.3-nologo.bin |
5" | PanelDueFirmware-v2-5.0.bin | PanelDueFirmware-v2-5.0-nologo.bin | |
7" | PanelDueFirmware-v2-7.0.bin | PanelDueFirmware-v2-7.0-nologo.bin | |
7"C | PanelDueFirmware-v2-7.0C.bin | PanelDueFirmware-v2-7.0C-nologo.bin |
The following table shows the filenames for the PanelDue Firmware 3.4 release.
PanelDue version | Screen size | Firmware file (Duet3D logo) | Firmware file (no logo) |
---|---|---|---|
PanelDue 5i | 5" | PanelDueFirmware-logo-3.4.0-5.0i.bin | PanelDueFirmware-3.4.0-5.0i.bin |
PanelDue 7i | 7" | PanelDueFirmware-logo-3.4.0-7.0i.bin | PanelDueFirmware-3.4.0-7.0i.bin |
PanelDue v3.0 | 4.3" | PanelDueFirmware-logo-3.4.0-v3-4.3.bin | PanelDueFirmware-3.4.0-v3-4.3.bin |
5" | PanelDueFirmware-logo-3.4.0-v3-5.0.bin | PanelDueFirmware-3.4.0-v3-5.0.bin | |
7" | PanelDueFirmware-logo-3.4.0-v3-7.0.bin | PanelDueFirmware-3.4.0-v3-7.0.bin | |
7"C | PanelDueFirmware-logo-3.4.0-v3-7.0c.bin | PanelDueFirmware-3.4.0-v3-7.0c.bin | |
PanelDue v2.0 (after August 2016) |
4.3" | PanelDueFirmware-logo-3.4.0-v2-4.3.bin | PanelDueFirmware-3.4.0-v2-4.3.bin |
5" | PanelDueFirmware-logo-3.4.0-v2-5.0.bin | PanelDueFirmware-3.4.0-v2-5.0.bin | |
7" | PanelDueFirmware-logo-3.4.0-v2-7.0.bin | PanelDueFirmware-3.4.0-v2-7.0.bin | |
7"C | PanelDueFirmware-logo-3.4.0-v2-7.0c.bin | PanelDueFirmware-3.4.0-v2-7.0c.bin |
The naming scheme is generally:
PanelDueFirmware[-<major>.<minor>.<patch>-<suffix>]-<hardware>[<-ext>].bin
major - major version
minor - minor version
patch - patchlevel version
suffix - optional suffix version, specifies pre-release, rc versions
hardware - hardware version and screen size
ext - optional name extension; usually blank, 'logo' or 'nologo' (see note below)
NOTE: The order of the parts in the naming scheme hasn't always been consistent through the PanelDue firmware versions, and some parts may be in a different order, or omitted.
PanelDue 5i and PanelDue 7i: (5" and 7" integrated versions of PanelDue) Use PanelDue firmware file versions that ends in -5.0i-7.0i.bin, or ending in -5.0i.bin or -7.0i.bin for older firmware versions.
PanelDue V1/V2/V3: For versions of PanelDue with a separate controller board that plugs into the back of the display, choose the file name with -v3- in it if you have a version 3 PanelDue controller, or the one with -v2- in it if you have a version 1 or 2 PanelDue controller, and the file name that ends with the screen size you are using.
The files ending in '-7.0C' are for 7" displays using a CPLD controller (not sold by Duet3D or their distributors).
From PanelDue firmware 3.5.2, firmware file filenames have either '-nologo', or no name extension.
This naming convention hasn't been applied consistently through the PanelDue firmware versions. Sometimes there is a '-logo' version of the firmware, which has the Duet3D logo splash screen, in which case the firmware version with no name extension is the 'nologo' version.
You can create your own splash screen images; see readme on the PanelDue firmware GitHub page for instructions.
From RepRapFirmware version 3.2 (beta 4.1), you can flash firmware to a PanelDue V3, 5i or 7i from the Duet itself. The PanelDue can have any firmware installed, or none, but may need the erase and reset buttons to be pressed.
Upload the PanelDue firmware file to the Duet via the System > Upload system files button in Duet Web Control. Check it is in the Duet's '0:/firmware' (RRF 3.3 and later) or '0:/sys' (RRF 3.2) folder.
To update the PanelDue firmware, do one of the following:
M997 S4
. This will install the PanelDue firmware, so long as the firmware file is named 'PanelDueFirmware.bin' If necessary, rename the PanelDue firmware file to 'PanelDueFirmware.bin'.M997 S4 P"PanelDueFirmware-3.4.0-v3-7.0.bin"
. Use M997 with the P parameter to update the PanelDue firmware with a specific binary firmware file.Your Duet will attempt to Erase the PanelDue flash memory, and upload the PanelDue firmware. If you are updating from an old PanelDue version, you may need to press the 'erase' button on the PanelDue, followed by the 'reset' button first.
The Duet will upload and verify the firmware, then reset the PanelDue. You may need to manually reset the PanelDue, if it does not reset automatically.
If your Duet is running versions of RepRapFirmware older than RRF 3.2, or you are using V1 or V2 PanelDue hardware, you will need to update the PanelDue firmware via its USB port by connecting it to a PC. Download the version
The easiest way to update the firmware is using the Bossa application.
ls /dev/tty.*
The response will be something like:/dev/tty.Bluetooth-Incoming-Port /dev/tty.usbmodem14101
/dev/tty.usbmodem14101
is the PanelDue.If you are unable to use the BOSSA application, try the command line tool.
Identify the COM port number or port name of the PanelDue board on your PC.
ls /dev/tty.*
The response will be something like:/dev/tty.Bluetooth-Incoming-Port /dev/tty.usbmodem14101
/dev/tty.usbmodem14101
is the PanelDue.If you can’t find the port, try repeating the Erase and Reset sequence, or disconnecting and reconnecting the USB cable, or try a different USB port on your computer. Make sure the USB cable you are using is a USB data cable; some USB cables only provide power. Note: the port number of the Bossa port for PanelDue will not be the same as the one you use when uploading firmware to Duet electronics.
Use bossac to program the board. Under Windows, open a command prompt and use this command:
"C:\Program Files\BOSSA\bossac.exe" --port=COM9 -e -w -v -b PanelDueFirmware.bin
Replace COM9 in this command by the COM port number you found, and PanelDueFirmware.bin by the path to your downloaded firmware file.
When bossac has completed and reported “Verify successful”, press the Reset button again. If you have successfully installed firmware that is correct for the type of display you are using, the display should be legible.
Disconnect the USB cable.
Most firmware update problems are related to flashing the wrong firmware binary ot the PanelDue. If you do this, you may get one or more of the following problems:
Check the firmware version and that the colour bars are displayed correctly by clicking on the 'Setup' menu (if possible). Your PanelDue should look like this:
Check the firmware file used is correct for your PanelDue hardware. If not, reflash the firmware to the PanelDue.