Quality RTOS & Embedded Software

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


Loading

3.2 / MSP430F149 .. link objects fails

Posted by Nobody/Anonymous on July 21, 2005
Hi,
I made a port for MSP430F149, it worked fine with 2.6.
Made all the required changes, msp430-gcc 3.2.3 (linux) compiler works fine without any warning.
But it is no longer possible to link my objects together.
msp430-ld is telling me:
==========
msp430-ld: address 0xa04 of a.out section .bss is not within region data
msp430-ld: address 0xa04 of a.out section .noinit is not within region data
msp430-ld: link errors found, deleting executable `a.out'
==========
Full invocation line and output with -t -v switch is attached.

Any idea where to search?

Thanks
Peter

Demo/msp430F149> msp430-gcc main.o RTOS/ParTest.o RTOS/serial.o RTOS/Tasks.o Tools/Globals/Init_Globale_Variablen.o Tools/Allgemeines/Allgemeine_Funktionen.o Tools/TLCD/TLCD_Funktionen.o Tools/TLCD/TLCD_Menues.o Tools/GLCD/GLCD_Funktionen.o Tools/GLCD/GLCD_Menues.o Tools/Timer/Timer.o Tools/Waschprogramm/Waschprogramm.o Tools/ADC/ADC.o Tools/RS232/RS232.o ../../Source/tasks.o ../../Source/list.o ../../Source/queue.o ../../Source/portable/MemMang/heap_1.o ../../Source/portable/GCC/MSP430F149/port.o ../Common/Minimal/flash.o ../Common/Minimal/integer.o ../Common/Minimal/comtest.o ../Common/Minimal/PollQ.o -mmcu=msp430x149 -Os -g -I. -I../../Source/include -I../Common/include -DGCC_MSP430F149 -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused -t -v
Reading specs from /usr/local/msp430/lib/gcc-lib/msp430/3.2.3/specs
Configured with: ./configure --prefix=/usr/local/msp430 --target=msp430
Thread model: single
gcc version 3.2.3
msp430-ld -m msp430x149 -t /usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/crt430x149.o -L/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2 -L/usr/local/msp430/lib/gcc-lib/msp430/3.2.3 -L/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2 -L/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib main.o RTOS/ParTest.o RTOS/serial.o RTOS/Tasks.o Tools/Globals/Init_Globale_Variablen.o Tools/Allgemeines/Allgemeine_Funktionen.o Tools/TLCD/TLCD_Funktionen.o Tools/TLCD/TLCD_Menues.o Tools/GLCD/GLCD_Funktionen.o Tools/GLCD/GLCD_Menues.o Tools/Timer/Timer.o Tools/Waschprogramm/Waschprogramm.o Tools/ADC/ADC.o Tools/RS232/RS232.o ../../Source/tasks.o ../../Source/list.o ../../Source/queue.o ../../Source/portable/MemMang/heap_1.o ../../Source/portable/GCC/MSP430F149/port.o ../Common/Minimal/flash.o ../Common/Minimal/integer.o ../Common/Minimal/comtest.o ../Common/Minimal/PollQ.o -lgcc -lc -lgcc
msp430-ld: mode msp430x149
/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/crt430x149.o
main.o
RTOS/ParTest.o
RTOS/serial.o
RTOS/Tasks.o
Tools/Globals/Init_Globale_Variablen.o
Tools/Allgemeines/Allgemeine_Funktionen.o
Tools/TLCD/TLCD_Funktionen.o
Tools/TLCD/TLCD_Menues.o
Tools/GLCD/GLCD_Funktionen.o
Tools/GLCD/GLCD_Menues.o
Tools/Timer/Timer.o
Tools/Waschprogramm/Waschprogramm.o
Tools/ADC/ADC.o
Tools/RS232/RS232.o
../../Source/tasks.o
../../Source/list.o
../../Source/queue.o
../../Source/portable/MemMang/heap_1.o
../../Source/portable/GCC/MSP430F149/port.o
../Common/Minimal/flash.o
../Common/Minimal/integer.o
../Common/Minimal/comtest.o
../Common/Minimal/PollQ.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a)__stop_progExec__.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a)_udivmodqi4.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a)_udivmodhi4.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a)_udivmodsi4.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a)_divmodsi4.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/msp2/libgcc.a)_reset_vector__.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a)strncpy.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a)memcpy.o
(/usr/local/msp430/lib/gcc-lib/msp430/3.2.3/../../../../msp430/lib/msp2/libc.a)memset.o
msp430-ld: address 0xa04 of a.out section .bss is not within region data
msp430-ld: address 0xa04 of a.out section .noinit is not within region data
msp430-ld: link errors found, deleting executable `a.out'
Demo/msp430F149>

RE: 3.2 / MSP430F149 .. link objects fails

Posted by Richard on July 22, 2005
Not sure why this would be. The size of the sections should not change much between versions. It seems you have done a complete rebuild of everything?

If you could send me your project as a zip file, including the makefile etc., I could give it a try here. I only have Win32 however so it would not be a direct replication.

If you want to send me a zip file send it to the address on the contacts page of the FreeRTOS WEB site (r dot barry at free....).

Regards.

RE: 3.2 / MSP430F149 .. link objects fails

Posted by Nobody/Anonymous on July 22, 2005
Hi,
it works if configTOTAL_HEAP_SIZE <= 1794
I'm still testing if that has side effects

Peter

#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 1794 ) )


[ 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