Quality RTOS & Embedded Software

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




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) 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