Quality RTOS & Embedded Software

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


FreeRTOS +GCC+STM32f4 Discovery board

Posted by kudiarasu on May 26, 2015

Hi, I have started to evaluate the stm32f4 examples , using stm32f4 discovery board, i have used Lwip 1.4.1 , freeRTOS 8.0.0 and GCC command line to build the code, Downloaded the "STM32F4DIS-BB Software Examples" experimenting the example "STM32F4xxEthernetExample/Project/FreeRTOS/httpserver_socket" build it successfully using GCC Makefile.

After downloading the code into flash, i have noticed that system restarted after calling "vTaskStartScheduler" Through the uart debug.

What could be the reason for continuous restart?. regards kudiarasu

FreeRTOS +GCC+STM32f4 Discovery board

Posted by rtel on May 26, 2015

It could be one of many many things. Starting from a watchdog peripheral that needs either periodically kicking or disabling, to failure to install the correct interrupt handlers, incorrect linker script, memory regions overlapping, incorrectly structured tasks, one of the many reasons on the page in the FAQ titled "My application does not run, what could be wrong", etc. etc. You will have to do a little investigation yourself to track it down, then if you are still having an issue, provide additional details here so we can direct our assistance.


[ 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