Hi,
I am using the Omap-L138 LCDK kit ,and setting the optimzation "--opt_level=3 ", in eclipse tool. and omap l138 starterware examples.
I will be receiving Data on Uart1 port in ISR mode. Once i receive the block of data ( 22 byte), I need to call a function.
while(u16NumreceivedBytes < 22):
u8Result = function;
If the "Optimzation level" is "disabled" in eclipse tool, The code behave properly.
If the "Optimzation level" is "3" in eclipse tool, The code miss behave( u16NumreceivedBytes more than 22 , the code does not going to next statement. i.e u8Result = function).
Please help in this regard.