FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2012 Threads]
Hey. I am really not an expert, I am an hobbyist trying to work with FreeRTOS + STM32F4 (discovery board)
I managed to set up the toolchain (summon arm) and Eclipse IDE. "Plain" LED Blinking works fine.
I tried to add the FreeRTOS code to my project. I managed to compile the Source but when it comes to creating a task, I get stuck while debugging.
I fgured that eventually after 'memset' I end up in the "Infinite_Loop" trap in startup_stm32f3xx.S which is the processors handler for "unexpected interrupts".
Ehm ... I am lost. Totally.
These are the steps of my debugging session which lead to the trap.
main.c: xTaskCreate( testtask, ( signed char * ) "test", configMINIMAL_STACK_SIZE, NULL, mainQUEUE_RECEIVE_TASK_PRIORITY, NULL );
-> task.c(406): pxNewTCB = prvAllocateTCBAndStack( usStackDepth, puxStackBuffer );
-> -> task.c(2154): memset( pxNewTCB->pxStack, ( int ) tskSTACK_FILL_BYTE, ( size_t ) usStackDepth * sizeof( portSTACK_TYPE ) );
-> -> -> startup_stm32f3xx.S(121): b Infinite_Loop
regards
Christoph
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.