Quality RTOS & Embedded Software

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




Loading

LPC2214 Porting Problem

Posted by Nobody/Anonymous on July 13, 2005
Hi,
I'm trying to port FreeRTOS to a LPC2214 platform and are having some problems...
I have modifed the linker script to fit the LPC2214 (FLASH=256K and RAM=16K). My problem is when compiling I get an error regrading the .bss region is full.
"region ram is full (rtosdemo.elf section .bss)"
I have striped the kernels applications down to just one - a LED flasher. On the FreeRTOS homepage is mentioned that the kernel only uses about 85 bytes of RAM.

Regards
Jens Alsig

RE: LPC2214 Porting Problem

Posted by Nobody/Anonymous on July 13, 2005
Take a look in FreeRTOSConfig.h which should be in the same directory as the makefile. What is configTOTAL_HEAP_SIZE set to? This is effectively defining the size of an array so must fit within your 16K, with room left over for the various other things required with a normal application.

Take a look at http://www.freertos.org/a00111.html for more info.


RE: LPC2214 Porting Problem

Posted by Nobody/Anonymous on July 13, 2005
hmmm It WAS set to 23*1024... I have just changed it to 16* 1024 and it works...
Thanks

RE: LPC2214 Porting Problem

Posted by Nobody/Anonymous on July 13, 2005
14K might be a better bet - there is RAM used for other things also.

RE: LPC2214 Porting Problem

Posted by Nobody/Anonymous on July 13, 2005
Ok Thanks. I do that


[ 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