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.
"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.