# FreeRTOS\_OTA in AWS IOT core

**URL:** <https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670>\
**Category:** AWS\
**Tags:** aws-iot-core\
**Created:** [March 28, 2024, 9:14am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670 "2024-03-28T09:14:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tung](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@Tung](https://forums.freertos.org/u/Tung)\
**Post date:** [March 28, 2024, 9:14am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670/1 "2024-03-28T09:14:58Z")

</div>

![image](https://d2v6vdsk2p900z.cloudfront.net/original/2X/2/2f108e6db1fa6637a8eb0e9b5ebf53383232245c.png)  
When I update OTA, met error [iot\_thread] Error: No OTA data buffers available. Why do the error happen, how do fix it?  
And [ERROR] Firmware signature verification may have failed. Which happen, because error above. I think so. Is it true?

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [March 28, 2024, 9:34am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670/2 "2024-03-28T09:34:35Z")

</div>

Are you using this example in C-SDK - [aws-iot-device-sdk-embedded-C/demos/ota/ota\_demo\_core\_mqtt/ota\_demo\_core\_mqtt.c at main · aws/aws-iot-device-sdk-embedded-C · GitHub](https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/main/demos/ota/ota_demo_core_mqtt/ota_demo_core_mqtt.c#L773)? If yes, you can try increasing the value of `otaconfigMAX_NUM_OTA_DATA_BUFFERS`.

---

<div class="post-metadata">

**Author:** ![Tung](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@Tung](https://forums.freertos.org/u/Tung)\
**Post date:** [March 29, 2024, 2:24am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670/3 "2024-03-29T02:24:28Z")

</div>

I am doing a project and using FreeRTOS Plus library

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [March 29, 2024, 5:32am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670/4 "2024-03-29T05:32:30Z")

</div>

> [@Tung](#):
>
> using FreeRTOS Plus library

Where did you get this FreeRTOS Plus library from? Which OTA library are you using?

---

<div class="post-metadata">

**Author:** ![Tung](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@Tung](https://forums.freertos.org/u/Tung)\
**Post date:** [March 29, 2024, 9:55am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670/5 "2024-03-29T09:55:51Z")

</div>

![image](https://d2v6vdsk2p900z.cloudfront.net/original/2X/0/09fbb727e4cb9814a4cb97b3ae6064f0ea208666.jpeg)

Hello, I checkded and knew error log from here (in image). Reason error that size code is large, isn’t it?

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [March 29, 2024, 10:34am UTC](https://forums.freertos.org/t/freertos-ota-in-aws-iot-core/19670/6 "2024-03-29T10:34:54Z")

</div>

> [@Tung](#):
>
> Reason error that size code is large, isn’t it?

It seems either block offset or size is invalid or the maxImageSize is not large enough. Can you log the values of these variables so that we know what their values are?
