AnsweredAssumed Answered

Data corruption in MC56F84763

Question asked by Suman Bhandari on Aug 24, 2015
Latest reply on Sep 14, 2015 by Ankur Kala

Hi All,

 

I m using MC56F84763 with CodeWarrior for MCU,  Version: 10.6,  Build Id:140329.

The code is written in C.

I observe simple checks failing erroneously and when i verify it in debug mode it show checks like if(3 != 3) returning true !!

For example

if(Value != CONSTANT)

{

     Statement1;

}

else

{

     Statement2;

}

where Value and CONSTANT will show same value in debug mode watch window but still the if check with return true and execute Statement1.

Is there any specific compiler settings to fix this?

 

Regards,

Suman

Outcomes