Quality RTOS & Embedded Software

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


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


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

Latest News

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

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

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


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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