CW 7.2 Fails to erase flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW 7.2 Fails to erase flash

1,238 Views
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.

Labels (1)
0 Kudos
4 Replies

329 Views
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 Kudos

329 Views
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 Kudos

329 Views
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 Kudos

329 Views
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 Kudos