Quality RTOS & Embedded Software

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


Loading

DAbt with LPC2368

Posted by Nobody/Anonymous on May 7, 2007
Hi!

I used the GCC LPC23xx Port and some startup-, linker- and makefiles from the MCB2300FreeRTOSlwIP Projekt that compiles with GCC.
It compiles fine and runs - sometimes.

For starting I have 4 Tasks, On Displaying Text on the LCD, 3 flashing some LED with different frequency.
Problem is, when i use vTaskDelay in all 4 Tasks, the programm runs into the Dabt Handler. When i remove vTaskDely from any one of these 4 tasks, the programm is running fine.

I've zipped my GCC - Eclipse Projekt, it's here: http://www.comefrom.de/permalinks/FreeRTOS_02.zip

SirSydom

RE: DAbt with LPC2368

Posted by Nobody/Anonymous on May 7, 2007
Did you see that there is an LPC2368 zip file available for download from the freertos site now? It is not in the main download yet. It uses crossworks, which in turn uses gcc. Would this help?

RE: DAbt with LPC2368

Posted by Nobody/Anonymous on May 7, 2007
The files in the new zip file setup the timer differently for the LPC23xx devices. Are you using the original FreeRTOS.org LPC2000 files, or the ones with the LPC23xx timer setup? It might be that the timer is not running, which would mean that tasks blocked using vTaskDelay() would never unblock.

When your tasks stop running, what is the processor doing? If it is running the idle task then I think it is likely that the timer is not running.

Dave.

RE: DAbt with LPC2368

Posted by Nobody/Anonymous on May 7, 2007
Sorry - just read your original post that says it is in the data abort.

Could it be that your tasks are running out of stack? Try increasing the stack allocated to the tasks when they are created.

Dave.

RE: DAbt with LPC2368

Posted by Nobody/Anonymous on May 7, 2007
Yes i know this port and I use it, but instead using the Demo Application i used the source directly, because i had no clue how to get a links script, makefile whatever one needs to compile out of the Crossworks Project.

RE: DAbt with LPC2368

Posted by Nobody/Anonymous on May 7, 2007
The Tasks are not even started.
The program creates the first task and then gets stuck anywhere..


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




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

Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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