Quality RTOS & Embedded Software

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




Loading

problem with vTaskDelayUntil() stalling

Posted by Daniel Nilsson on December 6, 2009
I have a periodic task with plenty of stack. When I call

xLastWakeTime = xTaskGetTickCount();
TaskDelayUntil(&xLastWakeTime, /*LAMBDA_CTRL_RATE*/ 5);

which should delay for 5 ticks, I never return from this call. Neither is any other task in the system contonuing to run.

The platform is a LPC2138. Is there anything special I should think of to get this to work

RE: problem with vTaskDelayUntil() stalling

Posted by Daniel Nilsson on December 6, 2009
I should mention that by using the debugger, it seems like the idle task continues to run, but nothing else ever happens.

RE: problem with vTaskDelayUntil() stalling

Posted by Daniel Nilsson on December 7, 2009
Nevermind, I placed an ISR for another thing on #0 that was already configured for the tick timer.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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