SW Hang/ Illegal Opcode in HC/HCS ;)

Discussion created by DENNY GEORGE on Oct 23, 2008
Latest reply on Oct 25, 2008 by David Payne
Can anyone tell me about Software hang/anamolies,its causes- that forces the watchdog to interfere and reset the system.If possible, would you analyse from the MCU point of view (MCU internals,registers,memory etc) rather than from any high level language point of view.
I have one more request/question.Its regarding illegal opcode.How does illegal opcode occur in an MCU.Is it only by Program Memory corruption?Any other possibilities.I'm aware most controllers (68HC/HCS)support illegal opcode resets.But how is illegal opcode generated in the MCU after flashing compiled code into it.
Patiently waiting for your feedback.

Message Edited by Geo*** on 2008-10-23 03:46 PM