Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | Trouble linking code with extended memory

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

Trouble linking code with extended memory - linked82 - Jul 11 6:02:09 2008

Hi All.

I'm building an application using MSP430F2618 and CCE v3 Pro. The
application has grown so much that I need to use the extended memory
of the device, using the large code and data model, and the
rts430xl.lib runtime library. I've set the MSP430x core and the
large_data_memory option, but the linker won't link anymore. The
output window shows a messages that says that i've specfied large data
model in main, but small data model in other places. How this could be?
this is a piece of the output window:


"./LCD/backlight.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 31: error: cannot find file
"./LCD/font.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 33: error: cannot find file
"./LCD/geometricas.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 34: error: cannot find file
"./LCD/graphplot.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 35: error: cannot find file
.
.
.
.
"./FreeRTOS/list.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 37: error: cannot find file
"./FreeRTOS/queue.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 38: error: cannot find file
"./FreeRTOS/tasks.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 39: error: cannot find file
"./FreeRTOS/portable/MemMang/heap_2.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 40: error: cannot find file
"./FreeRTOS/portable/MSP430/port.obj"
"C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 41: error: cannot find file

fatal error: file "./main.obj" specifies large data memory model,
which is not
compatible with small data memory model specified in a previous
file or on
the command line

Thanks in advance.

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )


Re: Trouble linking code with extended memory - linked82 - Jul 11 9:10:34 2008

Hi again,

I've just solved this problem. This may be a bug of CCE v3, that
doesn't solves with SP1. Happens when changing runtime setings an then
making a copy of the active cofiguration is made, instead of making
the changes to current active configuration and a backup of that.

--- In m...@yahoogroups.com, "linked82" wrote:
>
> Hi All.
>
> I'm building an application using MSP430F2618 and CCE v3 Pro. The
> application has grown so much that I need to use the extended memory
> of the device, using the large code and data model, and the
> rts430xl.lib runtime library. I've set the MSP430x core and the
> large_data_memory option, but the linker won't link anymore. The
> output window shows a messages that says that i've specfied large data
> model in main, but small data model in other places. How this could be?
> this is a piece of the output window:
>
>
> "./LCD/backlight.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 31: error: cannot
find file
> "./LCD/font.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 33: error: cannot
find file
> "./LCD/geometricas.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 34: error: cannot
find file
> "./LCD/graphplot.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 35: error: cannot
find file
> .
> .
> .
> .
> "./FreeRTOS/list.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 37: error: cannot
find file
> "./FreeRTOS/queue.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 38: error: cannot
find file
> "./FreeRTOS/tasks.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 39: error: cannot
find file
> "./FreeRTOS/portable/MemMang/heap_2.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 40: error: cannot
find file
> "./FreeRTOS/portable/MSP430/port.obj"
> "C:\DOCUME~1\Mario\CONFIG~1\Temp\027883", line 41: error: cannot
find file
>
> fatal error: file "./main.obj" specifies large data memory model,
> which is not
> compatible with small data memory model specified in a previous
> file or on
> the command line
> Thanks in advance.
>

------------------------------------



(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )