What FreeRTOS Boards are fully supported for OTA updates?

0

I’m aware of the supported devices for FreeRTOS here, but I’m wondering if all of these also fully support OTA updates with AWS IoT OTA feature. I am specifically asking if these devices would fully work with OTA updates out of the box if they simply have FreeRTOS installed.

I’m asking because I have learned that certain FOTA solutions from other companies claim to support their entire RTOS, yet only works on a select few devices because each device needs an additional “flashing driver” that actually takes the received update and flashes it to the device’s custom memory. These drivers are custom to each specific board within broader families of MCUs. So I am wondering if all FreeRTOS supported MCUs have this capability to flash to the specific device's memory, or if it is only supported on a subset of chips?

For example, looking at demos, I only see OTA examples for ESP32 MCU, but are there any other examples, or is OTA only supported on these?

1 Answer
1

Hi. You are correct that there's a distinction between the FreeRTOS kernel having been ported to a certain processor, and a reference implementation of AWS IoT OTA being available for that processor. The link you've pointed to is referring specifically to just ports of the kernel. Only a subset of these have an OTA reference implementation.

Implementations of AWS IoT OTA will usually also make use of the optional FreeRTOS for AWS IoT libraries and specifically the AWS IoT OTA library. As part of porting the OTA library to a particular device, a developer needs to supply a Platform Abstraction Layer (PAL) to integrate the OTA library with the underlying hardware. This is probably what you meant by "flashing driver".

The amazon-freertos repository contains references implementations and demos of FreeRTOS and the FreeRTOS for AWS IoT libraries for a variety of boards and processors. Some of these implementations support OTA. One way to tell is to check for the existence of an OTA PAL implementation for a particular vendor and board. For example:

More information here: https://docs.aws.amazon.com/freertos/latest/userguide/dev-guide-ota-workflow.html

Additionally, some vendors have their own AWS IoT OTA implementations for various MCUs and boards. ST offer an X-CUBE-AWS expansion package for several of their IoT Discovery kits. For example: https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-aws.html

profile pictureAWS
EXPERT
Greg_B
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions