AnsweredAssumed Answered

Illegal Memory Access and Illegal instruction handling

Question asked by PRATIBHA SURABHI on Jul 29, 2020
Latest reply on Aug 6, 2020 by Radek Sestak

Hi All,

I am using S12 ZVML microcontroller.

I wanted to know whether there is any specific handling for illegal memory access and illegal instruction execution.


I checked the memory mapping control Module [MMC] in the RM. From it, I understand Machine exception is issued for an illegal access. The cause can be verified by looking at the Error code register [MMCEC]. And further safe handling once exception is issued can be to forcibly perform WDT reset.


Can anyone please guide me about behaviour and handling when illegal instruction is executed.


Thank you.