Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | Why do I seem to only get 1k with IAR kickstart

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.

Why do I seem to only get 1k with IAR kickstart - mpbwork - Aug 20 14:55:17 2008

Hi I am having odd behaviour with my code.
When I add some unrelated extra "if" statments and use code optimised
for space my a/d reads fail.
No warnings are given.
So I decided it may be due to the compiler optimisation for size.
When I remove the optimization I get

"Fatal Error[e89]: Too much object code produced (more than 0x1000
bytes) for this package
"

Am I not allowed 4k in kickstart?
Is there a trick to get 4k?

PS it is going into a MSP430FG4618.

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



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


RE: Why do I seem to only get 1k with IAR kickstart - Dan Muzzey - Aug 20 14:57:32 2008

My guess would be that 0x1000 equals 4096 bytes. Otherwise, the number
is in hex. You have the 4K available. Your program is bigger than 4K.

________________________________

From: m...@yahoogroups.com [mailto:m...@yahoogroups.com] On Behalf
Of mpbwork
Sent: Wednesday, August 20, 2008 1:55 PM
To: m...@yahoogroups.com
Subject: [msp430] Why do I seem to only get 1k with IAR kickstart

Hi I am having odd behaviour with my code.
When I add some unrelated extra "if" statments and use code optimised
for space my a/d reads fail.
No warnings are given.
So I decided it may be due to the compiler optimisation for size.
When I remove the optimization I get

"Fatal Error[e89]: Too much object code produced (more than 0x1000
bytes) for this package
"

Am I not allowed 4k in kickstart?
Is there a trick to get 4k?

PS it is going into a MSP430FG4618.

[Non-text portions of this message have been removed]
------------------------------------



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

Re: Why do I seem to only get 1k with IAR kickstart - old_cow_yellow - Aug 20 15:01:51 2008

4k is 4096 in decimal, or 0x1000 in hex.

--- In m...@yahoogroups.com, "mpbwork" wrote:
>
> Hi I am having odd behaviour with my code.
> When I add some unrelated extra "if" statments and use code optimised
> for space my a/d reads fail.
> No warnings are given.
> So I decided it may be due to the compiler optimisation for size.
> When I remove the optimization I get
>
> "Fatal Error[e89]: Too much object code produced (more than 0x1000
> bytes) for this package
> "
>
> Am I not allowed 4k in kickstart?
> Is there a trick to get 4k?
>
> PS it is going into a MSP430FG4618.
>

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



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