Quality RTOS & Embedded Software

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


LM3S6965 - Crash in vTaskDelay( ) ;

Posted by Philip Weiss on December 1, 2008
In one of my threads, a call to vTaskDelay( 1 ) causes an immediate vector to FaultISR.

I am using Red Suite, and I'm not sure how to proceed to see why the code is crashing. Using single steps, I can see exactly where the code crashes, but I don't know why.

Any help would be greatly appreciated.

RE: LM3S6965 - Crash in vTaskDelay( ) ;

Posted by Richard on December 2, 2008
Could this be a simple stack overflow. Try increasing the stack size allocated to the task or using some of the stack checking utilities provided with the kernel. Also the free plug-in that comes with Code Red will show you stack usage. If your version of Red Suite does not include the plug-in either upgrade or download the plug-in separately (see link on FreeRTOS.org homepage banner).

Can you share where the crash actually occurs?


RE: LM3S6965 - Crash in vTaskDelay( ) ;

Posted by Philip Weiss on December 6, 2008
Thanks! I was not clear about how to increase the stack size... Nothing changed until I changed both startup.c and the freertos config file. I had only updated one.

Now things are running.

Thanks again.

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

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

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

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

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

Cadence Tensilica Cortes

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