Remote Update from Version 1.2.8 to 1.3.4
Introduction
This update requires updating the EPD bootloader and partition table. Because this process was not previously supported directly, it must be completed in several consecutive steps. The new fwupdate function guides you through the firmware upgrade, bootloader and partition table updates, and final validation.
Requirements
- EPDs must be connected to Wi-Fi and an MQTT broker.
- EPDs need internet access to https://releases.de-signo.de.
- EPDs must have at least 5% battery charge.
- The HTTP server must be enabled on the EPD (
config: { "httpd": { "enable": true } }). - The PC must be on the same subnet as the EPDs.
- FWUpdate version 1.3.4 or later is required.
Warning
If an update to the simple partition layout fails, the device may become unusable. Make sure the devices have sufficient power and the network connection is stable. If the update fails and a device no longer boots, it may need to be reset at the factory.
We recommend testing the upgrade on a small number of devices first, then updating larger groups in smaller batches.
remote-program
Starting with version 1.3.4, fwupdate includes the remote-program command. It uses the MQTT broker to communicate with EPDs and accepts these parameters:
--mqtt-url
MQTT broker URL format:
mqtt(s)://USER:PASSWORD@MQTT-BROKER:PORT--topicor--all
Specifies which EPDs to update. You can provide multiple topics.
To communicate with the EPDs, the command waits for the devices to wake up. This may take some time depending on their settings.
Steps
1. Upgrade the Firmware
.\fwupdate remote-program --mqtt-url <MY_MQTT_URL> --topic <EPD_TOPIC> --firmware <MODEL>/1.3.4
This step updates the firmware to version 1.3.4.
2. Upgrade the Bootloader and Partition Table, Then Validate
.\fwupdate remote-program --mqtt-url <MY_MQTT_URL> --topic <EPD_TOPIC> --firmware 1.3.4 --partitions bootloader --partitions partition_table --test
This updates the bootloader and partition table. The --test option runs a test that succeeds only if the device has a safe version installed.
In FWUpdate version 1.3.4, you must use the --force option. Otherwise, this message appears: "Device ... with firmware 1.3.4 does not support REST self test. Upgrade the firmware first." The message is incorrect and can be suppressed with --force.