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