Hello All.
I am Working On Some Project on [ S32k312 MCU] Using:
Compiler ==> GHS MultiTool
Debugger ==> Lauterbach Trace 32
MCAL Integrator Tool ==> EB Tressos Studio
The problem is when I Inject Multi Bit Errors using EIM Module to the SRAM0
The MCU Raises A bus Fault Exception
While I Followed The Steps in Reference Manual.
I was Waiting to see the ERM Multibit Error ISR To be called but this is not the Case.
I Searched About the problem and Found That XRDC May be restricting access to this RAM Location and may be the reason this fault happens
but later I found that the XRDC is not Configured From Tressos Studio.
So Two Questions are there ?
1) What could be the Reasons to this bus Fault ?
2)How To know Configure XRDC Module in Tressos Studio ?
Thanks A lot
Thanks Dan for your reply
Hi MohamedSalah,
1. The Bus fault occurred because had a write command to the memory area where EIM was injected error complete.
In some situations, the debugger can cause the bus fault error. So, you can test with turn off the debugger and using blink-led statements to inform the test is successful.
2. To configure XRDC, you can refer to the RTD_RM_UM.pdf file in the RM module in the package.
Best regards,
Dan