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,119件の閲覧回数
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,472件の閲覧回数
kef
Specialist I
0 件の賞賛
返信
3 返答(返信)
1,472件の閲覧回数
kef
Specialist I

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

 

0 件の賞賛
返信
1,472件の閲覧回数
sep2kor
Contributor III

Thanks Kef.

 

How to make the flash secured?

 

~Sandeep

0 件の賞賛
返信
1,473件の閲覧回数
kef
Specialist I
0 件の賞賛
返信