Quality RTOS & Embedded Software

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


Loading

SmartFusion2 FreeRTOS Sofconsole 6.0 demo build problem

Posted by msierra on January 28, 2019

Hi, I am trying to build the demo application located in CORTEXSmartFusion2M2S050_SoftConsole directory in Sofconsole 6.0. I made a new project and imported demo project and merged with our hardware platform for Microsemi SmartFusion2 Security Evaluation Kit (for M2S090). But when I try to build it, it gives me this error:

"RTOSDemoCMSISstartup_gccdebug-in-microsemi-smartfusion2-esram.ld:200 cannot move location counter backwards (from 000000002001d610 to 000000002000f000) collect2.exe: error: ld returned 1 exit status make: *** [makefile:66: PruebaRTOS.elf] Error 1"

Any help for this issue? Many thanks in advance.

Maite


SmartFusion2 FreeRTOS Sofconsole 6.0 demo build problem

Posted by richarddamon on January 28, 2019

That error says your application is using too much RAM, and from the numbers, by a lot. IT might also b4 because you are using a loader config file for the wrong chip. If I remember right, the M2S090 has more ram than the M2S050, so if you are using the M2S050 .ld file, that would make sense that you ran out of memory.


SmartFusion2 FreeRTOS Sofconsole 6.0 demo build problem

Posted by richarddamon on January 28, 2019

That error says your application is using too much RAM, and from the numbers, by a lot. IT might also b4 because you are using a loader config file for the wrong chip. If I remember right, the M2S090 has more ram than the M2S050, so if you are using the M2S050 .ld file, that would make sense that you ran out of memory.


SmartFusion2 FreeRTOS Sofconsole 6.0 demo build problem

Posted by msierra on February 1, 2019

Hi Richard, we have changed the linker file to "CMSIS/startup_gcc/debug-in-microsemi-smartfusion2-envm.ld" for M2S090 to use eNVM and now works fine. Thanks for your help.


[ 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.


Careers

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

Mediatek

Renesas

RISC-V

SiFIve RISC-V

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