How to solve the Error: Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error?

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

How to solve the Error: Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error?

1,187件の閲覧回数
patric
Contributor I

Hi,

I want to flash my FRDM-KL25Z with the openSDA debugger, but after some erased sectors I got the following massage:

Erasing Sector 0x00015800 to 0x00015BFF  

Erasing ...

Error:  Erase failed. Flash driver reports the following error(s):  Sector Protection Error

Error: Erase failed. Flash driver reports the following error(s):  Sector Protection Error

How cann I solve that?

タグ(2)
0 件の賞賛
返信
2 返答(返信)

685件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi,

Please let me know the CW version you used? How about the CW license?

0 件の賞賛
返信

685件の閲覧回数
patric
Contributor I

I have 10.6 and a valid licence.

I found out that the Project I work with has a protected flash area Flash protection.jpg

The unprotectet start at 0x00018000. So I startet flashing there:

Flasch target offset.jpg

So I didn't got the error, but after a reset I didn't have the new flashed code running!?

0 件の賞賛
返信