FreeRTOS OTA update job with a file of size larger than 16 MB

0

Hi I have successfully run the OTA demos https://github.com/aws/aws-iot-device-sdk-embedded-C/tree/main/demos/ota but if I try to point to a file that is larger than 16 MB, the web interface won't allow that.

Is there a way to increase such limit?

profile picture
feita há 8 meses282 visualizações
2 Respostas
1
Resposta aceita

Hi,

The standard quota for FreeRTOS is 16 MB as per https://docs.aws.amazon.com/general/latest/gr/amazon-freertos.html (bottom of page)

This service quota is not upgradeable, it seems: when so, there is additional column in the table saying that it can be upgraded. It0s absent here.

Best,

Didier

profile pictureAWS
ESPECIALISTA
respondido há 8 meses
1

Hi Giuseppe. What is your device? Several of your questions suggest that your device has much more resource than what the embedded C SDK is typically intended for. It's perhaps not the best device software for your device.

Nonetheless, you can transfer larger files if you move from AWS IoT OTA Updates to AWS IoT Jobs instead: https://docs.aws.amazon.com/iot/latest/developerguide/jobs-what-is.html. An OTA Update is just a job with a pre-defined job document. If you take the level abstraction down to just jobs, you will have more freedom. OTA updates are intended specifically for constrained devices, and that's why only the C SDK has an OTA library.

profile pictureAWS
ESPECIALISTA
Greg_B
respondido há 8 meses
  • Hi Greg, indeed my device has resources to run the C++ SDK (it's an i-mx-8m-nano, running on the A53 core) but the C SDK fits perfectly the purpose, it is lightning fast and doesn't add load to a system that is already heavily used. I tried to use the OTA just as a template so that I could modify it while reusing most of the OTA part that is exactly what I need, but then when creating a job based on that template I didn't find the way. I will try again. Thanks for your answer!

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas