EmbeddedRelated.com
Forums

IAR linker error

Started by p_murayama February 6, 2008
Hello!

I am using a F2254 with a standard TI board.
I have created a new workspace and project, and set up the project options
(Device = F2254, FET debugger and so on).

I am trying to run a simple program (i have chosen an interrupt based
LED blinker, msp430x22x4_ta_01 from slac122 (may be wrong on this number,
but it is the IAR version anyway). It compiles at once, but I get the following link
error:
--------
Error[e16]: Segment RESET (size: 0x2 align: 0x1) is too long for segment definition. At
least 0x2 more bytes needed. The problem occurred while
processing the segment placement command "-Z(CODE)RESETFE-FFFF", where at the
moment of placement the available memory ranges were
"-none-"
Reserved ranges relevant to this placement:
ffe0-ffff INTVEC
Error while running Linker
--------

Has anybody experienced the same error? Any hint would be greatlly appreciated.

Thanks,

Pascal

Beginning Microcontrollers with the MSP430

Hi,
If You make assembler only project, You have to check "Assembler-
only" checkbox on General tab of project options.
Max

--- In m..., "p_murayama" wrote:
>
> Hello!
>
> I am using a F2254 with a standard TI board.
> I have created a new workspace and project, and set up the project
options
> (Device = F2254, FET debugger and so on).
>
> I am trying to run a simple program (i have chosen an interrupt
based
> LED blinker, msp430x22x4_ta_01 from slac122 (may be wrong on this
number,
> but it is the IAR version anyway). It compiles at once, but I get
the following link
> error:
> --------
> Error[e16]: Segment RESET (size: 0x2 align: 0x1) is too long for
segment definition. At
> least 0x2 more bytes needed. The problem occurred while
> processing the segment placement command "-Z(CODE)RESETFE-
FFFF", where at the
> moment of placement the available memory ranges were
> "-none-"
> Reserved ranges relevant to this placement:
> ffe0-ffff INTVEC
> Error while running Linker
> --------
>
> Has anybody experienced the same error? Any hint would be greatlly
appreciated.
>
> Thanks,
>
> Pascal
>
Hello Max!

Great! That's what I call a fast reply. It works!
Many thanks!

Pascal
--- In m..., "Max Salov" wrote:
>
> Hi,
> If You make assembler only project, You have to check "Assembler-
> only" checkbox on General tab of project options.
> Max
>
> --- In m..., "p_murayama" wrote:
> >
> > Hello!
> >
> > I am using a F2254 with a standard TI board.
> > I have created a new workspace and project, and set up the project
> options
> > (Device = F2254, FET debugger and so on).
> >
> > I am trying to run a simple program (i have chosen an interrupt
> based
> > LED blinker, msp430x22x4_ta_01 from slac122 (may be wrong on this
> number,
> > but it is the IAR version anyway). It compiles at once, but I get
> the following link
> > error:
> > --------
> > Error[e16]: Segment RESET (size: 0x2 align: 0x1) is too long for
> segment definition. At
> > least 0x2 more bytes needed. The problem occurred while
> > processing the segment placement command "-Z(CODE)RESETFE-
> FFFF", where at the
> > moment of placement the available memory ranges were
> > "-none-"
> > Reserved ranges relevant to this placement:
> > ffe0-ffff INTVEC
> > Error while running Linker
> > --------
> >
> > Has anybody experienced the same error? Any hint would be greatlly
> appreciated.
> >
> > Thanks,
> >
> > Pascal
>