EmbeddedRelated.com
Forums
Memfault Beyond the Launch

IAR Compiler Bug?

Started by Unknown March 16, 2003
Hi,

after a project has grown the software crashes on the MSP430 when i use no
optimisation instead of optimised size.
I also found out that the optimised software crashes when i uncomment a switch
statement with only a simple char variable, define constants and breaks (and
with the default break).
It seems that the IAR compiler has a bug or is stability a general problem if
the code (without malloc) needs much RAM?

Rolf Freitag






Beginning Microcontrollers with the MSP430

Hi Rolf,

I have never had problems with the IAR tooling. Maybe your code
contains some dead code that is removed by the optimizer?

Sipke


>>> <nobodyo@nobo...> 03/16 10:14 PM
>>>
Hi,

after a project has grown the software crashes on the MSP430 when i use no
optimisation instead of optimised size.
I also found out that the optimised software crashes when i uncomment a switch
statement with only a simple char variable, define constants and breaks (and
with the default break).
It seems that the IAR compiler has a bug or is stability a general problem if
the code (without malloc) needs much RAM?

Rolf Freitag







. 

 

">http://docs.yahoo.com/info/terms/ 




Hi,

because i'm using a MultiMediaCard and writing on that card can only be
done in 512 Byte big blocks, so i'm using a 512 Byte Buffer for writing,
128 Byte Buffer for reading and approx. 100 other global variables. I think the
RAM (only 2 KB) is too small and the IAR compiler does not worry about the RAM.
Therefore i'm using an external EEPROM for the MMC buffers.

Rolf Freitag


-----Ursprgliche Nachricht (HTML) wurde als Anlage beigeft.-----
Von:      msp430@msp4...
Gesendet: 17.03.03 10:56:51
An:       "Rolf Freitag" <nobodyo@nobo...>
Betreff:  Re: Re: [msp430] IAR Compiler Bug?







Memfault Beyond the Launch