![]() |
RA Flexible Software Package Documentation
Release v5.9.0
|
|
AWS OTA PAL layer implementation for downloading firmware updates.
This module provides the hardware port layer for the AWS IoT Over-the-air Update Library. Refer to the AWS OTA documentation: https://docs.aws.amazon.com/freertos/latest/userguide/integrate-ota-agent.html.
Configuration | Options | Default | Description |
---|---|---|---|
Parameter Checking |
| Default (BSP) | If selected code for parameter checking is included in the build. |
Filepath to Slot ID Callback Function | Must be a valid C symbol | NULL | Callback function for determining which Slot ID the image should be downloaded to. |
OTA code signing signature algorithm | sig-sha256-ecdsa | sig-sha256-ecdsa | Code signing algorithm used by AWS to sign the downloaded image. |
Configuration | Options | Default | Description |
---|---|---|---|
Name | Name must be a valid C symbol | g_rm_aws_ota_pal_mcuboot0 | Module name. |
Configuration | Options | Default | Description |
---|---|---|---|
Version | |||
Major | Value must be a non-negative integer | 0 | Major Version number used when updating. |
Minor | Value must be a non-negative integer | 0 | Minor Version number used when updating. |
Build | Value must be a non-negative integer | 1 | Build Version number used when updating. |
Custom ota_config.h | Manual Entry | Add a path to your custom ota_config.h file. It can be used to override some or all of the configurations defined here, and to define additional configurations. | |
Log2 File Block Size | Value must be a non-negative integer | 11 | Log base 2 of the size of the file data block message (excluding the header). e.g. 11: 2^11 = 2048bytes |
Self Test Response Wait (ms) | Value must be a non-negative integer | 16000 | Milliseconds to wait for the self test phase to succeed before we force reset. |
File Request Wait (ms) | Value must be a non-negative integer | 10000 | Milliseconds to wait before requesting data blocks from the OTA service if nothing is happening. |
Max Thingname Length | Value must be a non-negative integer | 64 | The maximum allowed length of the thing name used by the OTA agent. |
Max Num Blocks Request | Value must be a non-negative integer | 1 | The maximum number of data blocks requested from OTA streaming service. |
Max Num Request Momentum | Value must be a non-negative integer | 32 | The maximum number of requests allowed to send without a response before we abort. |
Ota Update Status Frequency | Value must be a non-negative integer | 64 | How frequently the device will report its OTA progress to the cloud. |
Max Num OTA Data Buffers | Value must be a non-negative integer | 1 | The number of data buffers reserved by the OTA agent. |
Allow Downgrade |
| Disallowed | Flag to enable booting into updates that have an identical or lower version than the current version. |
Ota Firmware Update File Type ID | Value must be a non-negative integer | 0 | The file type id received in the job document. |
Enabled Control Protocol | OTA Control Over MQTT | OTA Control Over MQTT | The protocol selected for OTA control operations. |
Enabled Data Protcols |
| OTA Data Over MQTT | The protocol selected for OTA data operations. |
OTA Primary Data Protocol |
| OTA Data Over MQTT | The preferred protocol selected for OTA data operations. |
OTA Events Polling Timeout (ms) | Value must be a non-negative integer | 1000 | The polling timeout (milliseconds) to receive messages from event queue. |
The current implementation utilizes MCUboot Port (rm_mcuboot_port) for switching images.