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,639 次查看
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 回复数

1,137 次查看
miduo
NXP Employee
NXP Employee

Hi,

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

0 项奖励
回复

1,137 次查看
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 项奖励
回复