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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,113 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
1,466 次查看
kef
Specialist I
0 项奖励
回复
3 回复数
1,466 次查看
kef
Specialist I

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

 

0 项奖励
回复
1,466 次查看
sep2kor
Contributor III

Thanks Kef.

 

How to make the flash secured?

 

~Sandeep

0 项奖励
回复
1,467 次查看
kef
Specialist I
0 项奖励
回复