Amazon FreeRTOS OTA – Detailed Documentation?

So I’m looking for the best way to research the Amazon FreeRTOS OTA stuff. I’m having some trouble finding more than just the high level stuff on the Amazone site (https://docs.aws.amazon.com/freertos/latest/userguide/ota-agent-library.html) but maybe I’m just bad at search or putting the pieces together (like I know there is a BLE library for MQTT). Some of the type of questions I’m looking for are: 1. Can we use OTA over a BLE connection to a phone with this library? 2. Do we really need two bankable copies or can we have one in main flash and the other in serial flash (we would right the bootloader part that handled the switch)? What is the best way to do this kind of reasearch? Is it best just to pull down the code and start trying to wire it up or am I missing a good resource?

Amazon FreeRTOS OTA – Detailed Documentation?

  1. Can we use OTA over a BLE connection to a phone with this library?
It is in beta, but yes. You will find the latest in github beta branches here for FreeRTOS: https://github.com/aws/amazon-freertos/tree/feature/ble-beta and here for the libs being used in the above link: https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/v4_beta
  1. Do we really need two bankable copies or can we have one in main flash and the other in serial flash (we would right the bootloader part that handled the switch)?
Different systems have different requirements. We have some systems that work in the way you describe here, but as each is different, you will need to manage the saving/swapping. Having two banks is the simplest provided you can boot from either flash bank – otherwise you require additional logic to ensure you can recover when swapping images in memory.

Amazon FreeRTOS OTA – Detailed Documentation?

Thanks for your quick response. This is good news for me and I’m looking forward to playing with it.

Amazon FreeRTOS OTA – Detailed Documentation?

Double Post 🙁