# Dynamic analysis of RTOS based firmware

**URL:** <https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195>\
**Category:** Kernel\
**Tags:** tracealyzer\
**Created:** [October 17, 2026, 3:02pm UTC](https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195 "2026-10-17T15:02:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigneshv1](https://avatars.discourse-cdn.com/v4/letter/v/9dc877/32.png) [@vigneshv1](https://forums.freertos.org/u/vigneshv1)\
**Post date:** [October 17, 2026, 3:02pm UTC](https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195/1 "2026-10-17T15:02:13Z")

</div>

Hello guys,

Is there any document available which might have general test cases for dynamic analysis of firmware in RTOS environment?

Like: To find deadlock possibility, event response of any task, missing deadlines.

---

<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:** [October 22, 2026, 6:56am UTC](https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195/2 "2026-10-22T06:56:12Z")

</div>

Not that I am aware of. You likely can benefit from using Tracelyzer for getting visibility into application execution.

---

<div class="post-metadata">

**Author:** ![richard-damon](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/richard-damon/32/38_2.png) [@richard-damon](https://forums.freertos.org/u/richard-damon)\
**Post date:** [October 22, 2026, 1:59pm UTC](https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195/3 "2026-10-22T13:59:26Z")

</div>

Those are generally “hard” problems, some of which are hard to determine even on “big” systems with lots of resources.

Deadlock detection requires a lot of checks (for the general case) and recording more information than FreeRTOS does. While FreeRTOS does record who holds a mutex, it doesn’t keep track of all the mutexes a task holds, or even a list of all the mutexes.

There is no way for it to track “missed deadlines” as it doesn’t have a way to even know what deadlines exist.

---

<div class="post-metadata">

**Author:** ![vigneshv1](https://avatars.discourse-cdn.com/v4/letter/v/9dc877/32.png) [@vigneshv1](https://forums.freertos.org/u/vigneshv1)\
**Post date:** [October 26, 2026, 5:24am UTC](https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195/4 "2026-10-26T05:24:24Z")

</div>

Hi @aggarg , @richard-damon ,

Is there any example test case document if it is available could you share with me?

Thanks and regards

---

<div class="post-metadata">

**Author:** ![richard-damon](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/richard-damon/32/38_2.png) [@richard-damon](https://forums.freertos.org/u/richard-damon)\
**Post date:** [October 26, 2026, 3:19pm UTC](https://forums.freertos.org/t/dynamic-analysis-of-rtos-based-firmware/25195/5 "2026-10-26T15:19:18Z")

</div>

There are plenty of tests for FreeRTOS itself, but those don’t address your criteria, as those are application level. And in a major aspect, the actual definitions of what should be tested is based on the application, and is largely independent of the “OS” you are using.
