Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Suspend / Resume task

Posted by valeriv on September 24, 2017

Hi all I have system with several tasks and one of them manage another, I mean that the first resume or suspend another depend on different contitions. The problem is that I saw ( in tracealyzer) that after I resume task it does something that doesn't exist in it's main loop. Furthermore, sometimes it takes 30 mili and sometimes more than 800 mili to finish this work (unstable time). It looks like task stuck up during this work. It is happening only once (after resume), after this I see task work properly - make what in its loop and it takes fixed time

I don't understand what task do after I set it to resume and why it takes different time.

Thanks a lot


Suspend / Resume task

Posted by rtel on September 24, 2017

I'm afraid I would need a lot more information to even guess what might be happening - perhaps it is that the task was suspended at different times in its implementation loop. Can you try and find out what the task is doing when you think it is not doing what it is supposed to? You could possibly do that by using Tracealyzer to add user events into the log to so you can what the task is doing, and which code it is executing.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner