When I try to inject faults using EIM, whenever the code accesses the EIM register (read or write), it will enter BusFault. At the same time, when I use the Jtag simulator to observe, I find that EIM is not read, while other registers are OK. Is there any special operation required when accessing the EIM register? I checked RM and I think I meet these conditions. Why can't even the debugger see the register value?
Hello,
The reason is simple. You do not have clocks enabled for EIM in your uC.
Please refer to the reference manual: chapter 46.1.5 Peripheral clock gating
Best regards,
Peter