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.
For all versions of RepRapFirmware up to RRF 3.1.1, and all versions of PanelDue, use PanelDue firmware version 1.25.0.
From RepRapFirmware 3.1.1, late V2/V3/5i/7i PanelDue can use the improved PanelDue firmware version 3.2.x and later.
Unfortunately, due to the lack of RAM, these versions will not run on V1 or early V2 PanelDue boards that use the ATSAM3S2B chip. See PanelDue firmware notes for details.
Locate and download PanelDue firmware for your display from Duet3D PanelDue Github.
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 v1.0, v1.1, v2.0 | 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:
PanelDueFirmware[-<ext>]-<major>.<minor>.<patch>[-<suffix>]-<hardware>.bin
ext - optional name extension; usually blank, 'logo' or 'nologo' (see note below)
major - major version
minor - minor version
patch - patchlevel version
suffix - optional suffix version, specifies pre-release, rc versions
hardware - hardware version
Examples are PanelDueFirmware-3.4.1-pre1-5.0i.bin or PanelDueFirmware-logo-3.4.1-pre1-7.0i.bin.
For the 5" and 7" integrated versions of PanelDue, use file PanelDue firmware versions ending in -5.0i.bin or -7.0i.bin.
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 version 3.4, firmware filenames that have 'logo' in the name, eg PanelDueFirmware-logo-3.4.0-5.0i.bin, have a Duet3D logo splash screen on startup. Firmware filenames that have do not have 'logo' have no logo.
For PanelDue firmware versions up to 3.3, firmware filenames that DO NOT have logo in the name have the Duet3D splash screen. Firmware filenames that have 'nologo' in them have... no logo.
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-pre3-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, 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.