Hi,
I am using S12XEP100 target.
I have changed the contents of location - 0xFF0F to 0xFE….so that the SEC1, SEC0 bits of FSEC register are loaded with 1 and 0 respectively. And flash in is in an unsecured state.
After doing this change, I am not able to change this location back to 0xFF!!!
Even erasing the flash memory is not helping me. The value at this location is always showing 0xFE.
Can anyone help me…how to change this value back to 0xFF?
Solved! Go to Solution.
Debugger writes 0xFE to 0xFF0F by default. I think you just didn't notice that.
Thanks Kef.
How to make the flash secured?
~Sandeep