Quality RTOS & Embedded Software

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


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 ]    [ 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.


Careers

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

Renesas

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