write protection set, cannot erase

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

write protection set, cannot erase

ソリューションへジャンプ
1,666件の閲覧回数
ivanrusnacko
Contributor I

Hi, when I try to program KL05 kit in Keil, it says Erase failed(no matter if full erase or sections erase). I know that FSEC byte is 0xFE so Mass Erase is enabled and it is unsecured. The problematic firmware which stays in flash had set the write protection to first 8 kB of flash. Also, there was a Program longword command at 0x409 in which it went to Hardfault IRQ.

I can debug that firmware and see the memory conent, so I know that FSEC byte is ok and first 8 kB are write protected.

But Keil doesnt ask me to mass erase, so how can I do it manually? Or is there any possiblity to save that kit?

Ivan

0 件の賞賛
返信
1 解決策
1,108件の閲覧回数
albertovargas
NXP Employee
NXP Employee

Hi Ivan,

I'm not familiar with keil, Why you don't try doing a mass erase with CW?

Here's a tutorial about how to do it. Device is secure? | MCU on Eclipse

I hope it helps

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,109件の閲覧回数
albertovargas
NXP Employee
NXP Employee

Hi Ivan,

I'm not familiar with keil, Why you don't try doing a mass erase with CW?

Here's a tutorial about how to do it. Device is secure? | MCU on Eclipse

I hope it helps

0 件の賞賛
返信