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
已提問 8 個月前檢視次數 282 次
2 個答案
1
已接受的答案

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
專家
已回答 8 個月前
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
專家
Greg_B
已回答 8 個月前
  • 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!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南