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!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ