Forums

IAR Release mode

Started by n_srinivasaraju October 9, 2005
Hello 

  i have written an application(size is 12k,MSP430149,) using IAR C 
compiler (FULL VERSION),which is working fine when programmed via JTAG 
(IAR Debug mode).But if i compile the project in IAR release Mode and 
program the chip via Ti Serial Programmer, the device is working fine 
at Serialport and display routines and hanging at keyboard and other 
routines. if i program a 4k size application via ti serial programmer
it is working fine.
can anyone expalin what is wrong?
thank you

 regards
 srinivas


 




Beginning Microcontrollers with the MSP430

Srivinas,

This can be caused by a lot of things - from 'speed paths' to optimization 
level -
maybe try turning optimizations levels 'on' - one by one and see when it 
breaks.
Just a suggestion.  Maybe someone from IAR can chime in.

Good Luck,
John

----- Original Message ----- 
From: "n_srinivasaraju" <n_srinivasaraju@n_sr...>
To: <msp430@msp4...>
Sent: Saturday, October 08, 2005 10:26 PM
Subject: [msp430] IAR Release mode


> Hello
>
>  i have written an application(size is 12k,MSP430149,) using IAR C
> compiler (FULL VERSION),which is working fine when programmed via JTAG
> (IAR Debug mode).But if i compile the project in IAR release Mode and
> program the chip via Ti Serial Programmer, the device is working fine
> at Serialport and display routines and hanging at keyboard and other
> routines. if i program a 4k size application via ti serial programmer
> it is working fine.
> can anyone expalin what is wrong?
> thank you
>
> regards
> srinivas
>
>
>
>
>
>
>
>
>
> .
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> 



Hi,

Disable all optimization options and try to run it
again. 

Regards,
Boby

--- n_srinivasaraju <n_srinivasaraju@n_sr...> wrote:

> Hello 
> 
>   i have written an application(size is
> 12k,MSP430149,) using IAR C 
> compiler (FULL VERSION),which is working fine when
> programmed via JTAG 
> (IAR Debug mode).But if i compile the project in IAR
> release Mode and 
> program the chip via Ti Serial Programmer, the
> device is working fine 
> at Serialport and display routines and hanging at
> keyboard and other 
> routines. if i program a 4k size application via ti
> serial programmer
> it is working fine.
> can anyone expalin what is wrong?
> thank you
> 
>  regards
>  srinivas
> 
> 
>  
> 
> 
> 
> 



		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/