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
posta 8 mesi fa282 visualizzazioni
2 Risposte
1
Risposta accettata

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
ESPERTO
con risposta 8 mesi fa
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
ESPERTO
Greg_B
con risposta 8 mesi fa
  • 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!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande