Quality RTOS & Embedded Software

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




Loading

lpc2292 GCC porting

Posted by Nobody/Anonymous on August 2, 2005
Hi,

I'd try to port freertos to a custom lpc2292 with GCC. If I'm compiling the KEIL demo, It's working.
I've modified the linker script,( RAM,ROM size), and the stack size in the FreeRTOS.h (to 14025) according to my proc, but it doesn't working. I've just uart, no JTAG. If I'm placing some UART0_THR='x'; for debug to the main(), I see the characters, but the strange thing is I see a character after calling vTaskStartScheduler(); !?!
So I thing the problem is somewhere the timer or interrupt setup. All other thing is from lpc2106 demo.

Any idea?

Kind Regards,
Andrew


RE: lpc2292 GCC porting

Posted by Nobody/Anonymous on August 2, 2005
Normally if the vTaskStartScheduler() function returns it means the scheduler is unable to create the idle task. This is normally because there is not enough memory on the heap for it.

How many other tasks are you creating?

RE: lpc2292 GCC porting

Posted by Nobody/Anonymous on August 2, 2005
I'm compiled the original lpc2106 demo, so

vStartIntegerMathTasks()
vAltStartComTestTasks();
vStartLEDFlashTasks();
vStartPolledQueueTasks();
vStartMathTasks();
vStartSemaphoreTasks();
vStartDynamicPriorityTasks();
vStartBlockingQueueTasks();

I'll try to comment out some of them.

Regards,
Andrew


RE: lpc2292 GCC porting

Posted by Nobody/Anonymous on August 2, 2005
oh yes, it works now!

Thanks,
Andrew


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




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

Latest News

FreeRTOS kernel V10 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