EmbeddedRelated.com
Forums

ez430-F2013 **Help needed**

Started by eZ430-Learner November 16, 2008
I was trying to run my application,,, but am getting this error,, plz help

Error

Linking
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment CODE. Unable to place 45
block(s) (0x10e2 byte(s) total) in 0x782 byte(s) of memory. The problem occurred while processing the segment
placement command "-P(CODE)CODE=F800-FFDF", where at the moment of placement the available memory ranges
were "CODE:f85e-ffdf"
Error while running Linker




Beginning Microcontrollers with the MSP430

Sounds like your code is too big for F2013. It would not fit!

--- In m..., eZ430-Learner wrote:
>
> I was trying to run my application,,, but am getting this error,,
plz help
>
> Error
>
> Linking
> Error[e104]: Failed to fit all segments into specified ranges.
Problem discovered in segment CODE. Unable to place 45
> block(s) (0x10e2 byte(s) total) in 0x782 byte(s) of memory. The
problem occurred while processing the segment
> placement command "-P(CODE)CODE0-FFDF", where at the moment of
placement the available memory ranges
> were "CODE:f85e-ffdf"
> Error while running Linker
>
>
>
>

Hi,

To check the code size in IAR,
set up the Linker to generate link list(List tab). The map file will
show the information about the code size.

regards

--- In m..., eZ430-Learner
wrote:
>
> I was trying to run my application,,, but am getting this error,,
plz help
>
> Error
>
> Linking
> Error[e104]: Failed to fit all segments into specified ranges.
Problem discovered in segment CODE. Unable to place 45
> block(s) (0x10e2 byte(s) total) in 0x782 byte(s) of memory. The
problem occurred while processing the segment
> placement command "-P(CODE)CODE=F800-FFDF", where at the moment of
placement the available memory ranges
> were "CODE:f85e-ffdf"
> Error while running Linker
>
>
>
>
>
>
>
>

I do not think the Linker will be able to generate a link list.
It can do that only if the code size fits.

The Linker already said the code size is 0x10E2 bytes while there are
only 0x0782 bytes available in F2013. How can the Linker generate a
Link-List?

--- In m..., "paddu.koti" wrote:
>
> Hi,
>
> To check the code size in IAR,
> set up the Linker to generate link list(List tab). The map file will
> show the information about the code size.
>
> regards
>
> --- In m..., eZ430-Learner
> wrote:
> >
> > I was trying to run my application,,, but am getting this error,,
> plz help
> >
> > Error
> >
> > Linking
> > Error[e104]: Failed to fit all segments into specified ranges.
> Problem discovered in segment CODE. Unable to place 45
> > block(s) (0x10e2 byte(s) total) in 0x782 byte(s) of memory. The
> problem occurred while processing the segment
> > placement command "-P(CODE)CODE0-FFDF", where at the moment of
> placement the available memory ranges
> > were "CODE:f85e-ffdf"
> > Error while running Linker
> >
> >
> >
> >
> >
> >
> >
>
Yes ur right!!!!!!!!!
I didnt get,, when flash is of 2K,, why cant a simple code fits in,,
my code is all about storing data in flash memory. am trying to store the data in 3rd segment of flash.
any suggestions,, how can store the data in eZ430-F3013 flash memory.
--- On Sun, 11/16/08, old_cow_yellow wrote:
From: old_cow_yellow
Subject: [msp430] Re: ez430-F2013 **Help needed**
To: m...
Date: Sunday, November 16, 2008, 4:28 PM

I do not think the Linker will be able to generate a link list.

It can do that only if the code size fits.

The Linker already said the code size is 0x10E2 bytes while there are

only 0x0782 bytes available in F2013. How can the Linker generate a

Link-List?

--- In msp430@yahoogroups. com, "paddu.koti" wrote:

>

> Hi,

>

> To check the code size in IAR,

> set up the Linker to generate link list(List tab). The map file will

> show the information about the code size.

>

> regards

>

> --- In msp430@yahoogroups. com, eZ430-Learner

> wrote:

> >

> > I was trying to run my application, ,, but am getting this error,,

> plz help

> >

> > Error

> >

> > Linking

> > Error[e104]: Failed to fit all segments into specified ranges.

> Problem discovered in segment CODE. Unable to place 45

> > block(s) (0x10e2 byte(s) total) in 0x782 byte(s) of memory. The

> problem occurred while processing the segment

> > placement command "-P(CODE)CODE= F800-FFDF" , where at the moment of

> placement the available memory ranges

> > were "CODE:f85e-ffdf"

> > Error while running Linker

> >

> >

> >

> >

> >

> >

> >

> >

>


One of TI's F2xx examples does the following:

Erases Info-C.
Writes numbers all over Info-C.
Erases Info-D.
Copies Info-C to Info-D.

The entire code is less than 300-bytes.

--- In m..., eZ430-Learner wrote:
> Yes ur right!!!!!!!!!
> I didnt get,, when flash is of 2K,, why cant a simple code fits in,,
> my code is all about storing data in flash memory. am trying to
store the data in 3rd segment of flash.
> any suggestions,, how can store the data in eZ430-F3013 flash memory.
> --- On Sun, 11/16/08, old_cow_yellow wrote:
> From: old_cow_yellow
> Subject: [msp430] Re: ez430-F2013 **Help needed**
> To: m...
> Date: Sunday, November 16, 2008, 4:28 PM
>
> I do not think the Linker will be able to generate a
link list.
>
> It can do that only if the code size fits.
>
> The Linker already said the code size is 0x10E2 bytes while there are
>
> only 0x0782 bytes available in F2013. How can the Linker generate a
>
> Link-List?
>
> --- In msp430@yahoogroups. com, "paddu.koti" wrote:
>
> > > Hi,
>
> > > To check the code size in IAR,
>
> > set up the Linker to generate link list(List tab). The map file will
>
> > show the information about the code size.
>
> > > regards
>
> > > --- In msp430@yahoogroups. com, eZ430-Learner > wrote:
>
> > > > > I was trying to run my application, ,, but am getting this error,,
>
> > plz help
>
> > > > > Error
>
> > > > > Linking
>
> > > Error[e104]: Failed to fit all segments into specified ranges.
>
> > Problem discovered in segment CODE. Unable to place 45
>
> > > block(s) (0x10e2 byte(s) total) in 0x782 byte(s) of memory. The
>
> > problem occurred while processing the segment
>
> > > placement command "-P(CODE)CODE= F800-FFDF" , where at the
moment of
>
> > placement the available memory ranges
>
> > > were "CODE:f85e-ffdf"
>
> > > Error while running Linker
>
> > > > > > > > > > >
>
> > > > >
>
> > > >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>