Hi,
The double bit ECC fault is uncorrectable error and it will trigger a machine exception (interrupt vector 5). A machine exception is considered to be a severe system error, so nothing is written on the stack and it is not possible to return to application code by using an RTI instruction. The MMCEC registers save information about the S12Z CPU, which can be then used to identify the source of the machine exception. Then, a correct recovery action should be the MCU reset.
More information about exception is in the S12ZCPU_RM, chapter 7, or refer to this example.
Single/double RAM ECC errors can be forced, as shows this example. See also chapter 7.3.7 of the RM.
Regards,
Daniel