Problem with 0xFF0F location - SEC1 and SEC0 bits of FSEC register - S12XEP100 target

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with 0xFF0F location - SEC1 and SEC0 bits of FSEC register - S12XEP100 target

Jump to solution
1,225 Views
sep2kor
Contributor III

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.

 

              FSEC Register Bits

 

 

                                 Flash Security Bits

 

 

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?

Labels (1)
0 Kudos
1 Solution
578 Views
kef
Specialist I
0 Kudos
3 Replies
578 Views
kef
Specialist I

Debugger writes 0xFE to 0xFF0F by default. I think you just didn't notice that.

 

0 Kudos
578 Views
sep2kor
Contributor III

Thanks Kef.

 

How to make the flash secured?

 

~Sandeep

0 Kudos
579 Views
kef
Specialist I
0 Kudos