Quality RTOS & Embedded Software

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


`RamLoc32' overflowed - error at compiling

Posted by Doini on March 7, 2013

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:

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 ]    [ Privacy ]    [ Sitemap ]    [ ]

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

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

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

Xilinx Microblaze and Zynq partner