Quality RTOS & Embedded Software

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




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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists