MC9S12A128 bug

Discussion created by Phillip WOLSTENCROFT on Jul 21, 2010
Latest reply on Jul 21, 2010 by kef



We are using the MC9S12A128CFUE processor and fear there maybe a bug in the mask.


The mask is "1L59W".


The problem we are seeing is that the instruction LBEQ is setting the I flag in the ccr.


The code is codewarrior generated.


Are seeing it at least following a RTS and a ANDA # instruction.


The instruction opcode is 182700ABh.


It is definitely across multiple CPUs and not just seen on one CPU.


We are debugging with the codewarrior debugger and we are using the last version with latest update.

We are  not 100% sure that it is not a debugger bug.


Anyone seen this??? or any help?