Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists