In the IoT Platform console, you can create a new firmware, upload a firmware file package, complete firmware verification, and push the firmware to a specified device for update.

Prerequisites

  • OTA update is enabled for the device. For more information, see Configure OTA update for devices.

    Only devices that have OTA enabled can report firmware versions, receive update messages from the cloud, download firmware, and perform OTA update operations.

  • You have edited new firmware files based on your requirements. For the firmware file in this example, see the appendix of Configure OTA update for devices.

Procedure

  1. Log on to the IoT Platform console.
  2. In the left-side navigation pane, choose Maintenance > OTA Update.
  3. On the OTA Update page, click Add Update Package.
  4. In the Add Update Package dialog box that appears, enter the firmware information, and upload the firmware file. For more information, see Push firmware files to devices.

    Upload the firmware file app_1001 which is the BIN file generated when you Configure OTA update for devices in the previous step.

  5. Click Verify to verify the device firmware. For more information, see Push firmware files to devices.
    The verification is successful after the device is updated. The Batch Update function is available.
  6. Click Batch Update. Set the update object and update policy, and push the update notification to the device. For more information, see Push firmware files to devices.

View device logs

You can view the information about the firmware update from the logs of the devices after IoT Platform pushes the firmware update notification. The logs include notification messages, process messages, downloaded firmware, update progress, and update progress.

  • The log about update notification received by the device.IoT firmware update
  • The log about the new firmware, and the firmware package download address.IoT firmware update
  • The log about downloading the firmware and reporting the progress.IoT firmware update