CW 7.2 Fails to erase flash

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

CW 7.2 Fails to erase flash

2,122件の閲覧回数
JimDon
Senior Contributor III

Using and M52223EVB I get:

Error:  Initialization Failed. 

when I try to erase flash (worked fine in 7.1)

Any one seend this?

Jim D.

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,213件の閲覧回数
J2MEJediMaster
Specialist I

Jim:

 

I am assuming that everything was working fine until you updated CodeWarrior? Or did something else change? Is CodeWarrior communicating with the board at all now?

 

---Tom

0 件の賞賛
返信

1,213件の閲覧回数
JimDon
Senior Contributor III

Tom,

It seems to load ram an debug ok. It's just erasing and burning flash that is the issue.

Jim D.

0 件の賞賛
返信

1,213件の閲覧回数
butok
NXP Employee
NXP Employee

Hi Jim. 

 

I had the same issue, during the project transfer from CW 7.1 to 7.2. 

 

The solution:

I just replaced the CW 7.1 Target Initialization and Memory Configuration files (M52259EVB_INTERNAL_FLASH.cfg  & M52259EVB_INTERNAL_FLASH.mem) by the files from the CW 7.2 generated example project. After that I can erase and program the flash memory without any error. 

 

Best regards,

Andrey Butok

 

0 件の賞賛
返信

1,213件の閲覧回数
JimDon
Senior Contributor III

Andre,

Thanks for the tip. I'll give that a try. I guess that means that when 7.2 "converts" the project it must re-write these file, incorrectly. Odd, as with CW for CF, it seems that the burning of flash was configured by the xml file (which I used from the old project).

 

Jim

 

0 件の賞賛
返信