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

`RamLoc32' overflowed - error at compiling

Posted by Doini on March 7, 2013
Hi,

I am working with FreeRTOS on LPCXpesso and I have the following error when I compile:

Application.axf section `.bss' will not fit in region `RamLoc32'

region `RamLoc32' overflowed by 3472 bytes

I would appreciate any help about what I should do.

Thank you

RE: `RamLoc32' overflowed - error at compiling

Posted by MEdwards on March 7, 2013
Your program is failing to link because there is too much data in the RamLoc32 section.

The linker script managed by LPCXpress describes the memory map of the LPC micro you are using with named sections. One section is called RamLoc32. The linker then allocates code, constants and variables to the sections, and more has been allocated to the RamLoc32 section than can fit in the section.

See what is being allocated to RamLoc32. Maybe reducing the size of configTOTAL_HEAP_SIZE by 3500 bytes will fix the problem.

RE: `RamLoc32' overflowed - error at compiling

Posted by The Dude on March 25, 2013
Hi doini-2012,

if you have a large array of data, you can also place it manually into another RAM-region.

This link might help you:
http://support.code-red-tech.com/CodeRedWiki/PlacingData

You can find the addresses of the RAM-regions in the User-Manual (UM10360) of the LPC-Chips. I assume, that you are using the LPC1769-MCU, so take a look at page 12.

Good luck!

The Dude.


[ 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