--- In msp430@y..., "Mark" <markinla2002@y...> wrote:
> --- In msp430@y..., "deldakin"
<tom@a...> wrote:
> > I get the following error when linking my assembler code.
> >
> > Linking...
> > Error[e16]: Segment INTVEC (size: 0x20 align: 0x1) is too long for
> > segment definition. At least 0xc more bytes needed. The problem
> > occurred while processing the segment placement command
> > "-Z(CODE)INTVECE0-FFFF", where at the moment of placement
the
> > available memory ranges were "ffe0-fff3,fff6-fffd"
> >
> When I have gotten similar errors in the past I was using in the
> incorrect .xcl file. For example if you were using a
> MSP430F133 device in assembly, make sure you are using the
> msp430F133A.xcl file in the icc430 subfolder. I am assuming your
are
> using IAR's Kickstart or "full" dev
system
Thanks for the reply Mark. I'm new to this and using the embedded
workbench with the FET-430x110. I am using the MSP430F1101 processor
and have included the include file for that device. I could be
specifying the device incorrectly though. What is the best way to do
that, in my assembly code like the pic and avr or somewhere in the
embedded workbench settings?
--- In msp430@y..., "deldakin" <tom@a...> wrote:
> I get the following error when linking my
assembler code.
>
> Linking...
> Error[e16]: Segment INTVEC (size: 0x20 align: 0x1) is too long for
> segment definition. At least 0xc more bytes needed. The problem
> occurred while processing the segment placement command
> "-Z(CODE)INTVECE0-FFFF", where at the moment of placement the
> available memory ranges were "ffe0-fff3,fff6-fffd"
>
When I have gotten similar errors in the past I was using in the
incorrect .xcl file. For example if you were using a
MSP430F133 device in assembly, make sure you are using the
msp430F133A.xcl file in the icc430 subfolder. I am assuming your are
using IAR's Kickstart or "full" dev system
Reply by deldakin●November 12, 20022002-11-12
I get the following error when linking my assembler code.
Linking...
Error[e16]: Segment INTVEC (size: 0x20 align: 0x1) is too long for
segment definition. At least 0xc more bytes needed. The problem
occurred while processing the segment placement command
"-Z(CODE)INTVECE0-FFFF", where at the moment of placement the
available memory ranges were "ffe0-fff3,fff6-fffd"
The applicable listings are:
;Interrupt vectors
00FFF4 org 0FFF4h ;
00FFF4 5A11 dw MAIN ;WDT vector
00FFFE org 0FFFEh ;
00FFFE 9610 dw RESET ;power up vector
;end of program
00FEA0 end
I've tried various org commands and ASEG Data, ASEG CODE, RSEG DATA
and RSEG CODE but can't seem to resolve the problem.
I can't seem to find a good explanation of how to set up data and code
segments in assembly language.
Any recommendations?