MSP430F2417 question

View: New views
3 Messages — Rating Filter:   Alert me  

MSP430F2417 question

by john Mcdonald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi everyone,

I have written a program for msp430f169 and now the code exceeds more
than 60k.  I like to transfer it into the msp430f2417 but I get error.
 Basically, I am not sure how to fit the program into 2417 since the
flash memory address is not continuous.  By the way I am using IAR
assembler.   Any help please.

Thank you,
John.


Re: MSP430F2417 question

by old_cow_yellow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was wondering about this too.

I think you need to write the code in small chunks and use ORG to
force the linker to skip over the vectors when the next chunk cannot
fit in the lower 64K address anymore.

--- In msp430@..., "eeaj2002" <eeaj2002@...> wrote:

>
>
>
> Hi everyone,
>
> I have written a program for msp430f169 and now the code exceeds more
> than 60k.  I like to transfer it into the msp430f2417 but I get error.
>  Basically, I am not sure how to fit the program into 2417 since the
> flash memory address is not continuous.  By the way I am using IAR
> assembler.   Any help please.
>
> Thank you,
> John.
>



Re: Re: MSP430F2417 question

by Anders Lindgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

old_cow_yellow wrote:
>
>
> I was wondering about this too.
>
> I think you need to write the code in small chunks and use ORG to
> force the linker to skip over the vectors when the next chunk cannot
> fit in the lower 64K address anymore.

Sorry for picking up an old thread...

The linker supports placing segments parts into more than one location.
For example, you can use the following:

     -P(CODE)CODE=3100-FFBD,10000-19FFF

In fact, this is taken from the provided linker command files.

     -- Anders Lindgren, IAR Systems
--
Disclaimer: Opinions expressed in this posting are strictly my own and
not necessarily those of my employer.


LightInTheBox - Buy quality products at wholesale price!