# \#debug

**URL:** https://forums.freertos.org/tag/debug/2.md

[Latest](https://forums.freertos.org/latest.md) · [Categories](https://forums.freertos.org/categories.md) · [Tags](https://forums.freertos.org/tags.md)

---

## [Data transfer time is toggling with same amount of data in atum3 with Nios-V Freertos](https://forums.freertos.org/t/data-transfer-time-is-toggling-with-same-amount-of-data-in-atum3-with-nios-v-freertos/25163)

<div class="topic-metadata">

**Author:** [@raguram](https://forums.freertos.org/u/raguram)\
**Replies:** 9\
**Last updated:** [October 4, 2026, 4:47pm UTC](https://forums.freertos.org/t/data-transfer-time-is-toggling-with-same-amount-of-data-in-atum3-with-nios-v-freertos/25163 "2026-10-04T16:47:36Z")

</div>

Hi i am working on the atum3 terasic board using NiosV with FreeRTOS , where i am implementing WebServer application, basically Http Server is running on the board and http client on the linux host which is connected to…

---

## [AArch64 single-core FreeRTOS mutex and ARM exclusive instructions](https://forums.freertos.org/t/aarch64-single-core-freertos-mutex-and-arm-exclusive-instructions/25172)

<div class="topic-metadata">

**Author:** [@H\_a\_r\_i\_n\_i](https://forums.freertos.org/u/H_a_r_i_n_i)\
**Replies:** 1\
**Last updated:** [October 4, 2026, 2:10pm UTC](https://forums.freertos.org/t/aarch64-single-core-freertos-mutex-and-arm-exclusive-instructions/25172 "2026-10-04T14:10:49Z")

</div>

Hi, I am working with a single-core FreeRTOS application on an ARM Cortex-A55 using AArch64. I traced xSemaphoreTake() → xQueueSemaphoreTake() and inspected the generated AArch64 assembly. The mutex acquisition is per…

---

## [FreeRTOS hangs - iMX8 CM7 RPMSG](https://forums.freertos.org/t/freertos-hangs-imx8-cm7-rpmsg/23801)

<div class="topic-metadata">

**Author:** [@jbaum](https://forums.freertos.org/u/jbaum)\
**Replies:** 129\
**Last updated:** [October 1, 2026, 1:27am UTC](https://forums.freertos.org/t/freertos-hangs-imx8-cm7-rpmsg/23801 "2026-10-01T01:27:58Z")

</div>

Hi! We have been troubleshooting a problem for weeks now and could use some clues how the behavior we are seeing could be happening. We suspect the issue comes from bad usage of FreeRTOS, not from an actual bug in Free…

---

## [Race in xTaskGenericNotifyWait() when cache enabled](https://forums.freertos.org/t/race-in-xtaskgenericnotifywait-when-cache-enabled/24983)

<div class="topic-metadata">

**Author:** [@posner](https://forums.freertos.org/u/posner)\
**Replies:** 31\
**Last updated:** [September 1, 2026, 11:36am UTC](https://forums.freertos.org/t/race-in-xtaskgenericnotifywait-when-cache-enabled/24983 "2026-09-01T11:36:28Z")

</div>

Hi everyone, I am debugging an issue on my costum Cortex-R5 FreeRTOS port. I’m currently using FreeRTOS Kernel V11.1.0. I traced my wait API call OS\_WaitForNotificationIndexed() down to xTaskNotifyWaitIndexed, which ma…

---

## [FreeRTOS MPU v10.3.1 with STM32H7 Core](https://forums.freertos.org/t/freertos-mpu-v10-3-1-with-stm32h7-core/25122)

<div class="topic-metadata">

**Author:** [@tanvi2931](https://forums.freertos.org/u/tanvi2931)\
**Replies:** 10\
**Last updated:** [September 1, 2026, 6:09am UTC](https://forums.freertos.org/t/freertos-mpu-v10-3-1-with-stm32h7-core/25122 "2026-09-01T06:09:06Z")

</div>

Has anyone ported the FreeRTOS v10.3.1 with MPU Support with M7? I am facing multiple problems in doing so eg. LDREX instruction throwing a HardFault, Cache issues in context switching (task heap corruption), 16 MPU port…

---

## [Zynq UltraScale+ FreeRTOS: XDpPsu interrupts work, but XDpDma interrupts never reach the driver handler](https://forums.freertos.org/t/zynq-ultrascale-freertos-xdppsu-interrupts-work-but-xdpdma-interrupts-never-reach-the-driver-handler/25136)

<div class="topic-metadata">

**Author:** [@SaraCliff](https://forums.freertos.org/u/SaraCliff)\
**Replies:** 5\
**Last updated:** [August 31, 2026, 7:00am UTC](https://forums.freertos.org/t/zynq-ultrascale-freertos-xdppsu-interrupts-work-but-xdpdma-interrupts-never-reach-the-driver-handler/25136 "2026-08-31T07:00:23Z")

</div>

Hi everyone, I am having an issue running the AMD/Xilinx xdpdma\_video\_example.c with FreeRTOS on a Zynq UltraScale+ MPSoC. Setup: AUP-ZU3 / XCZU3EG Vitis Unified 2025.2 FreeRTOS PS DisplayPort + DPDMA SDT flow The o…

---

## [ZYNQ7000 XPAR\_XILTIMER\_ENABLED Macro definition prevents initialization of interrupt controller](https://forums.freertos.org/t/zynq7000-xpar-xiltimer-enabled-macro-definition-prevents-initialization-of-interrupt-controller/17356)

<div class="topic-metadata">

**Author:** [@xiuyangzhang](https://forums.freertos.org/u/xiuyangzhang)\
**Replies:** 5\
**Last updated:** [August 14, 2026, 6:50am UTC](https://forums.freertos.org/t/zynq7000-xpar-xiltimer-enabled-macro-definition-prevents-initialization-of-interrupt-controller/17356 "2026-08-14T06:50:27Z")

</div>

In zynq7000, the interrupt controller scugic is defined by freertos as a global variable xInterruptController. And in the task scheduling start function, FreeRTOS\_ The SetupTickInterrupt function is initialized. Since mo…

---

## [New free trace tool from Percepio](https://forums.freertos.org/t/new-free-trace-tool-from-percepio/22678)

<div class="topic-metadata">

**Author:** [@johankraft](https://forums.freertos.org/u/johankraft)\
**Replies:** 4\
**Last updated:** [July 16, 2026, 8:31am UTC](https://forums.freertos.org/t/new-free-trace-tool-from-percepio/22678 "2026-07-16T08:31:12Z")

</div>

Percepio has just released Percepio View, a new simplified version of Percepio Tracealyzer, provided free of charge also for commercial use. No registration is required. A reference project for Percepio View is found…

---

## [Beginner Question: pxFirstFreeBlock-\>xBlockSize initialization in prvHeapInit() in heap\_2.c](https://forums.freertos.org/t/beginner-question-pxfirstfreeblock-xblocksize-initialization-in-prvheapinit-in-heap-2-c/25064)

<div class="topic-metadata">

**Author:** [@zhangcoder](https://forums.freertos.org/u/zhangcoder)\
**Replies:** 1\
**Last updated:** [July 2, 2026, 5:15am UTC](https://forums.freertos.org/t/beginner-question-pxfirstfreeblock-xblocksize-initialization-in-prvheapinit-in-heap-2-c/25064 "2026-07-02T05:15:56Z")

</div>

Hello, I’m a beginner learning FreeRTOS Kernel and currently studying the heap\_2.c memory allocator in detail. In prvHeapInit(), the first free block is initialized as follows: /\* To start with there is a single free …

---

## [Viability of configMAX\_SYSCALL\_INTERRUPT\_PRIORITY on Cortex-M0+](https://forums.freertos.org/t/viability-of-configmax-syscall-interrupt-priority-on-cortex-m0/25061)

<div class="topic-metadata">

**Author:** [@mrodriguezme](https://forums.freertos.org/u/mrodriguezme)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 5:35am UTC](https://forums.freertos.org/t/viability-of-configmax-syscall-interrupt-priority-on-cortex-m0/25061 "2026-06-23T05:35:51Z")

</div>

Hi everyone, I just had a quick question regarding configMAX\_SYSCALL\_INTERRUPT\_PRIORITY on Cortex-M0+. I understand that this configuration option is not respected on Cortex-M0+, and I’m wondering if it is viable to sup…

---

## [FreeRTOS+TCP STM32H743 Ping/Broadcasts triggers RX Buffer Starvation](https://forums.freertos.org/t/freertos-tcp-stm32h743-ping-broadcasts-triggers-rx-buffer-starvation/25040)

<div class="topic-metadata">

**Author:** [@bjolaine](https://forums.freertos.org/u/bjolaine)\
**Replies:** 8\
**Last updated:** [June 18, 2026, 9:01am UTC](https://forums.freertos.org/t/freertos-tcp-stm32h743-ping-broadcasts-triggers-rx-buffer-starvation/25040 "2026-06-18T09:01:27Z")

</div>

Hi! I encounter a problem that seem to be the exact same as the one encountered by @pgreenland in his FreeRTOS+TCP STM32H7 UDP Ping Lockup RX Buffer Starvation or at least a very similar one. The problem occurs even whe…

---

## [SEGGER Ozone FreeRTOS Awareness Plugin for TMS570LC4357 (Cortex-R5F) - Example Projects or Resources](https://forums.freertos.org/t/segger-ozone-freertos-awareness-plugin-for-tms570lc4357-cortex-r5f-example-projects-or-resources/25039)

<div class="topic-metadata">

**Author:** [@Electronics](https://forums.freertos.org/u/Electronics)\
**Replies:** 1\
**Last updated:** [June 10, 2026, 10:33am UTC](https://forums.freertos.org/t/segger-ozone-freertos-awareness-plugin-for-tms570lc4357-cortex-r5f-example-projects-or-resources/25039 "2026-06-10T10:33:18Z")

</div>

Hi All I am planning to use SEGGER J-Trace PRO with Ozone for real-time trace and RTOS awareness debugging on TI TMS570LC4357 MCU. I understand that Ozone’s built-in FreeRTOS awareness plugins do not natively support C…

---

## [Cmake build error for cmake\_example in FreeRTOSv202604.00-LTS](https://forums.freertos.org/t/cmake-build-error-for-cmake-example-in-freertosv202604-00-lts/25029)

<div class="topic-metadata">

**Author:** [@Akshay](https://forums.freertos.org/u/Akshay)\
**Replies:** 7\
**Last updated:** [June 4, 2026, 11:45pm UTC](https://forums.freertos.org/t/cmake-build-error-for-cmake-example-in-freertosv202604-00-lts/25029 "2026-06-04T23:45:08Z")

</div>

I have downloaded and extracted FreeRTOSv202604.00-LTS and FreeRTOSv202406.05-LTS from freertosORG. In both versions, I tried to build cmake\_example (\\FreeRTOS-LTS\\FreeRTOS\\FreeRTOS-Kernel\\examples\\cmake\_example\\) using…

---

## [Race condition when using -O0 with GCC on Cortex-M4 (PendSV context corruption)](https://forums.freertos.org/t/race-condition-when-using-o0-with-gcc-on-cortex-m4-pendsv-context-corruption/24999)

<div class="topic-metadata">

**Author:** [@nikolay-rogovoy](https://forums.freertos.org/u/nikolay-rogovoy)\
**Replies:** 1\
**Last updated:** [May 18, 2026, 6:26am UTC](https://forums.freertos.org/t/race-condition-when-using-o0-with-gcc-on-cortex-m4-pendsv-context-corruption/24999 "2026-05-18T06:26:31Z")

</div>

Target: Nucleo F411RE (Cortex-M4) Toolchain: arm-none-eabi-gcc (multiple versions) FreeRTOS: v26.4 (also reproduces on v24.4) Optimization flags: works with -Og / -Os / -O1 / -O2, fails with -O0 Problem summary I ha…

---

## [Do I need to provide static memory allocators?](https://forums.freertos.org/t/do-i-need-to-provide-static-memory-allocators/19522)

<div class="topic-metadata">

**Author:** [@Rocketmagnet](https://forums.freertos.org/u/Rocketmagnet)\
**Replies:** 4\
**Last updated:** [May 13, 2026, 11:46pm UTC](https://forums.freertos.org/t/do-i-need-to-provide-static-memory-allocators/19522 "2026-05-13T23:46:11Z")

</div>

I’m a bit confused if I should provide vApplicationGetIdleTaskMemory() etc. According to FreeRTOS - The Free RTOS configuration constants and configuration options - FREE Open Source RTOS for small real time embedded sy…

---

## [Confusion about vPortTickISR %10 logic in XTmrCtr FreeRTOS port.c](https://forums.freertos.org/t/confusion-about-vporttickisr-10-logic-in-xtmrctr-freertos-port-c/24991)

<div class="topic-metadata">

**Author:** [@fyilmaz](https://forums.freertos.org/u/fyilmaz)\
**Replies:** 2\
**Last updated:** [May 9, 2026, 9:04am UTC](https://forums.freertos.org/t/confusion-about-vporttickisr-10-logic-in-xtmrctr-freertos-port-c/24991 "2026-05-09T09:04:49Z")

</div>

Hi, I am using the Xilinx MicroBlaze FreeRTOS port with AXI Timer (XTmrCtr) and I have a question regarding the vPortTickISR() implementation when configGENERATE\_RUN\_TIME\_STATS is enabled. In the current implementation…

---

## [STM32 + Freertos + Audio recording + FATFS. Audio really choppy and white noisy](https://forums.freertos.org/t/stm32-freertos-audio-recording-fatfs-audio-really-choppy-and-white-noisy/24970)

<div class="topic-metadata">

**Author:** [@maitju\_ut](https://forums.freertos.org/u/maitju_ut)\
**Replies:** 2\
**Last updated:** [May 5, 2026, 6:45am UTC](https://forums.freertos.org/t/stm32-freertos-audio-recording-fatfs-audio-really-choppy-and-white-noisy/24970 "2026-05-05T06:45:21Z")

</div>

I’m working on STM32F405RGT6, receiving audio from ICS43432 (MSB First, 24bit on 32 bit frame). sing Circular DMA (double buffering) to read it in. After 3 days of debugging and millions of mem corruptions and stackover…

---

## [Possible buffer overflow in FF\_Write() after FF\_BlockWrite() error](https://forums.freertos.org/t/possible-buffer-overflow-in-ff-write-after-ff-blockwrite-error/24955)

<div class="topic-metadata">

**Author:** [@T.Ichikawa](https://forums.freertos.org/u/T.Ichikawa)\
**Replies:** 3\
**Last updated:** [April 20, 2026, 9:06am UTC](https://forums.freertos.org/t/possible-buffer-overflow-in-ff-write-after-ff-blockwrite-error/24955 "2026-04-20T09:06:34Z")

</div>

Hello, I believe I found a bug in FreeRTOS+FAT, in ff\_file.c. As I understand the logic, FF\_Write() writes full sectors using FF\_BlockWrite(), and then writes the remaining tail bytes using FF\_WritePartial(). However,…

---

## [How to integrate LVGL with FreeRTOS on STM32N6570-DK?](https://forums.freertos.org/t/how-to-integrate-lvgl-with-freertos-on-stm32n6570-dk/24949)

<div class="topic-metadata">

**Author:** [@Keval.Bhalodia](https://forums.freertos.org/u/Keval.Bhalodia)\
**Replies:** 2\
**Last updated:** [April 15, 2026, 6:56pm UTC](https://forums.freertos.org/t/how-to-integrate-lvgl-with-freertos-on-stm32n6570-dk/24949 "2026-04-15T18:56:56Z")

</div>

Hi everyone, I am working with the STM32N6570-DK board and would like to integrate LVGL with FreeRTOS. Could anyone guide me on the correct approach to run LVGL on top of FreeRTOS for this platform? Specifically, I am …

---

## [FreeRtos+TCP multivlan handling with socket bound to specific ip](https://forums.freertos.org/t/freertos-tcp-multivlan-handling-with-socket-bound-to-specific-ip/24943)

<div class="topic-metadata">

**Author:** [@rangasai](https://forums.freertos.org/u/rangasai)\
**Replies:** 1\
**Last updated:** [April 13, 2026, 5:43am UTC](https://forums.freertos.org/t/freertos-tcp-multivlan-handling-with-socket-bound-to-specific-ip/24943 "2026-04-13T05:43:34Z")

</div>

Hi Team, We are using FreeRTOS+TCP 4.0.0 with multiple VLANs and endpoints: - VLAN10 → IP 100.64.10.5 - VLAN14 → IP 100.64.14.5 - DLT socket bound to 100.64.14.5:3490 During debugging we observed that when a TCP SYN…

---

## [Need stronger protection? Integer overflow in xStreamBufferSend() for message buffers — v10.6.2 is configASSERT-only protection](https://forums.freertos.org/t/need-stronger-protection-integer-overflow-in-xstreambuffersend-for-message-buffers-v10-6-2-is-configassert-only-protection/24944)

<div class="topic-metadata">

**Author:** [@fuzzrt26](https://forums.freertos.org/u/fuzzrt26)\
**Replies:** 1\
**Last updated:** [April 11, 2026, 4:21pm UTC](https://forums.freertos.org/t/need-stronger-protection-integer-overflow-in-xstreambuffersend-for-message-buffers-v10-6-2-is-configassert-only-protection/24944 "2026-04-11T16:21:30Z")

</div>

Description In stream\_buffer.c, the function xStreamBufferSend() (also invoked via the xMessageBufferSend() macro) adds sbBYTES\_TO\_STORE\_MESSAGE\_LENGTH to xRequiredSpace without a runtime overflow check. The only protect…

---

## [Integer overflow in xStreamBufferSendFromISR() for message buffers — no overflow check - V10.6.2](https://forums.freertos.org/t/integer-overflow-in-xstreambuffersendfromisr-for-message-buffers-no-overflow-check-v10-6-2/24946)

<div class="topic-metadata">

**Author:** [@fuzzrt26](https://forums.freertos.org/u/fuzzrt26)\
**Replies:** 1\
**Last updated:** [April 11, 2026, 4:15pm UTC](https://forums.freertos.org/t/integer-overflow-in-xstreambuffersendfromisr-for-message-buffers-no-overflow-check-v10-6-2/24946 "2026-04-11T16:15:27Z")

</div>

Description In stream\_buffer.c, the function xStreamBufferSendFromISR() (also invoked via xMessageBufferSendFromISR()) adds sbBYTES\_TO\_STORE\_MESSAGE\_LENGTH to xRequiredSpace with no overflow check , also no configASSERT. …

---

## [After transplanting the latest FreeRTOS on the STM32G0B1 and using the From\_ISR() series of functions, the system will crash](https://forums.freertos.org/t/after-transplanting-the-latest-freertos-on-the-stm32g0b1-and-using-the-from-isr-series-of-functions-the-system-will-crash/24927)

<div class="topic-metadata">

**Author:** [@dddddxp](https://forums.freertos.org/u/dddddxp)\
**Replies:** 46\
**Last updated:** [April 9, 2026, 6:18am UTC](https://forums.freertos.org/t/after-transplanting-the-latest-freertos-on-the-stm32g0b1-and-using-the-from-isr-series-of-functions-the-system-will-crash/24927 "2026-04-09T06:18:28Z")

</div>

The MCU model I am using is STM32G0B1 (with M0+ core). I generated the Hal library code using CubeMX, and then plan to port the latest FreeRTOS. The following problem occurred: Currently, if no external interrupt is use…

---

## [Seeking Help: Pico VS Code Extension "Buttons Grayed Out" & Configuration Failures (Restricted Environment)](https://forums.freertos.org/t/seeking-help-pico-vs-code-extension-buttons-grayed-out-configuration-failures-restricted-environment/24921)

<div class="topic-metadata">

**Author:** [@Devadath](https://forums.freertos.org/u/Devadath)\
**Replies:** 3\
**Last updated:** [March 23, 2026, 9:13am UTC](https://forums.freertos.org/t/seeking-help-pico-vs-code-extension-buttons-grayed-out-configuration-failures-restricted-environment/24921 "2026-03-23T09:13:24Z")

</div>

I am attempting to build and run the FreeRTOS SMP (Symmetric Multi-Processing) Demo (CORTEX\_M0+\_RP2040) on a Raspberry Pi Pico. At first, I installed the Raspberry Pi Pico extension, then downloaded the example blink pro…

---

## [FreeRTOS+TCP STM32H7 UDP Ping Lockup RX Buffer Starvation](https://forums.freertos.org/t/freertos-tcp-stm32h7-udp-ping-lockup-rx-buffer-starvation/24834)

<div class="topic-metadata">

**Author:** [@pgreenland](https://forums.freertos.org/u/pgreenland)\
**Replies:** 21\
**Last updated:** [March 15, 2026, 4:27pm UTC](https://forums.freertos.org/t/freertos-tcp-stm32h7-udp-ping-lockup-rx-buffer-starvation/24834 "2026-03-15T16:27:05Z")

</div>

Hi All, I’m looking for some pointers on debugging a FreeRTOS+TCP issue on an STM32H7. Using FreeRTOS: 11.2.0 With FreeRTOS+TCP: 4.3.3 The unit receives requests and sends responses via UDP. On the whole it performs…

---

## [FreeRTOS-PLUS-TCP Port poor TCP troughput](https://forums.freertos.org/t/freertos-plus-tcp-port-poor-tcp-troughput/22807)

<div class="topic-metadata">

**Author:** [@MuhammedZamroodh](https://forums.freertos.org/u/MuhammedZamroodh)\
**Replies:** 18\
**Last updated:** [March 9, 2026, 9:10am UTC](https://forums.freertos.org/t/freertos-plus-tcp-port-poor-tcp-troughput/22807 "2026-03-09T09:10:45Z")

</div>

Hi, I am porting the Plus-TCP stack (git tag V3.1.0) for my Ethernet driver, Here I am using the Iperf port I got from the community from: post in forum freertos-tcp-iperf3-server. In my test with 100M connection, For…

---

## [Yet another task starvation question!](https://forums.freertos.org/t/yet-another-task-starvation-question/24896)

<div class="topic-metadata">

**Author:** [@DiBosco](https://forums.freertos.org/u/DiBosco)\
**Replies:** 10\
**Last updated:** [February 25, 2026, 2:26pm UTC](https://forums.freertos.org/t/yet-another-task-starvation-question/24896 "2026-02-25T14:26:59Z")

</div>

I have a relatively simple program with three tasks as follows: A housekeeping thread A GPIB thread A serial thread I can run the program for a long time (days under normal conditions) and then the GPIB stops…

---

## [Why vTaskPrioritySet doesn't set xEventListItem value according to uxPriority?](https://forums.freertos.org/t/why-vtaskpriorityset-doesnt-set-xeventlistitem-value-according-to-uxpriority/24895)

<div class="topic-metadata">

**Author:** [@wirelinker](https://forums.freertos.org/u/wirelinker)\
**Replies:** 9\
**Last updated:** [February 25, 2026, 3:21am UTC](https://forums.freertos.org/t/why-vtaskpriorityset-doesnt-set-xeventlistitem-value-according-to-uxpriority/24895 "2026-02-25T03:21:36Z")

</div>

Hello, I was reading the code of vTaskPrioritySet() in tasks.c. And I found the API just set value of xEventListItem depends on uxNewPriority directly. If the target task didn’t use inherited uxPriority, then that woul…

---

## [FreeRTOS on Teknic Clearcore, task created but not scheduled](https://forums.freertos.org/t/freertos-on-teknic-clearcore-task-created-but-not-scheduled/24888)

<div class="topic-metadata">

**Author:** [@ykim](https://forums.freertos.org/u/ykim)\
**Replies:** 3\
**Last updated:** [February 21, 2026, 8:39am UTC](https://forums.freertos.org/t/freertos-on-teknic-clearcore-task-created-but-not-scheduled/24888 "2026-02-21T08:39:18Z")

</div>

Hello, I’m completely new to FreeRTOS and trying to use it on a Teknic Clearcore board (specifications below) Although a working demo would have been helpful to start the project with, one didn’t exist for these spec…

---

## [MALLOC / FREE repeated allocation makes application to crash](https://forums.freertos.org/t/malloc-free-repeated-allocation-makes-application-to-crash/24839)

<div class="topic-metadata">

**Author:** [@UnixDev](https://forums.freertos.org/u/UnixDev)\
**Replies:** 2\
**Last updated:** [February 7, 2026, 12:42pm UTC](https://forums.freertos.org/t/malloc-free-repeated-allocation-makes-application-to-crash/24839 "2026-02-07T12:42:21Z")

</div>

We have a code where over FTP where we create and copy a file. Since we do not know the original size of file - hence as and when data arrives over FTP data socket we first malloc buffer of bigger size - copy old buffere…

[Next page](https://forums.freertos.org/tag/debug/2.md?match_all_tags=true&page=1&tags%5B%5D=debug)
