This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTOS RTX Stack Usage Monitor Shows Overflow but OS keeps running

Hi,

I have a question but not a problem yet regarding the stack usage monitoring in uVision 5.

I have RTOS RTX running on STM32F407 MCU, with 9 threads running. I have enabled stack usage monitoring.

When I monitor the usages in debug mode, one of the thread stack usages frequently toggle between normal state and overflow alarm. The main thread kept running without going into exception handler.

It behaves the same even when I experimentally increased the stack allocation for that particular thread. The max stack usage remained the same.

This phenomenon worries and confuses me.

Appreciate any help on this subject.

Thanks in advance.

St Goh