HI!
I created a new project based on SW32K3_S32M27x_RTD_R21-11_5.0.0.
The code generated by the EB configuration RM routine enters the hardfault when RM_INIT is initialized, which is found to be entered after manipulating the register.
Is the address of the register inoperable? Or is there a problem with my project configuration?
Thank you!!
Hello,
Just a blind shot: are you doing the register configuration from user mode or supervisor mode?
If from user mode, then there is by default register protection active.
But to understand how to debug the hard fault, have a look at this document:
Best regards,
Peter