Hi All,
I am trying to set D_FLASH bit in the Functional Event Reset Disable Register (RGM_FERD),but the value is not reflecting in the register .
In datasheet it is mentioned as ,
It can be accessed in read/write in either supervisor mode or test mode.It can be accessed in read only in user mode.
I want to generate an interrupt request when a code or data flash fatal error occurs
Please guide me to resolve the above issues.
Hi, this bit is read only (W field is grey) as you can see in the screenshot below:
It means you cannot generate interrupt in this case and device always will be reset.
Thanks David.
I have another question to ask.
I am trying to set D_CMU0_FHL bit in the Functional Event Reset Disable Register (RGM_FERD),but the value is not reflecting in the register .
In datasheet it is mentioned as ,
It can be accessed in read/write in either supervisor mode or test mode.It can be accessed in read only in user mode.
I want to generate an interrupt request when a clock frequency higher/lower than reference.
How to enter into supervisor or test mode in mpc5604s .
Switching between supervisor/user mode I have described here, but I don't think it is the reason of your issue:
"Each byte can be written only once after power-on reset."
I have just tried to modify the bit immediately after Power-on-reset and I was capable to modify register content.
I have tried to modify the register but it was not happening. Whether we need to modify the register in startup code ?
Can u please share the code which you have used to change the register?
Thank you in advance.
Hi David,
I have tried to modify the register but it was not happening. Whether we need to modify the register in startup code ?
Can u please share the code which you have used to change the register?
Thank you in advance.