Quality RTOS & Embedded Software

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


void prvPortStartFirstTask(); CRASH

Posted by danadarme on July 13, 2016


I am an EE student working on a project using Code Composer Studio IDE. I am running into an error with the FreeRTOS function void prvPortStartFirstTask( void );

during runtime, the program reaches this point and then crashes. I have read from a discussion posted two years ago that that the address is being mapped to the top of the stack but then the program doesnt know where to go from there? Im not keen on how to fix this as I am fairly new to embedded systems.

Please advise.

Thank you,


void prvPortStartFirstTask(); CRASH

Posted by rtel on July 13, 2016

Which processor architecture are you using?

void prvPortStartFirstTask(); CRASH

Posted by danadarme on July 13, 2016

Hey Real Time,

Im using a ARM M4 however, false alarm.

I neglected to add a request in one of my functions so there was no crash or timeout. It was simply the task handler waiting for another task to execute but there wasn't one.

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

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

Latest News

Version 10.1.0 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