Flash Programmer Error: Getting flash ID failed when erase

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

Flash Programmer Error: Getting flash ID failed when erase

5,287 Views
jane_gu
Contributor I
I am using M5329evb board and USB TAP BDM for debugging. I use Code Warrior v2.4 which is Linux hosted for coldfire architecture.
when I try to erase the flash, I always got error: Getting flash ID failed.

The log shows:
Informing other connection clients that the target is being 'clobberred'
Flash Programmer: ColdFire CCS Protocol Adapter: Core not in debug mode
Flash Programmer: Couldn't initialize register.
Labels (1)
0 Kudos
Reply
3 Replies

1,283 Views
tkvenki
Contributor III

Hi Jane,

 

I had got the same error when I tried to use the Flash Programmer.

But when I tried to do the same in a newly created project, it worked.

 

Also,

 

Are you sure that your Flash chip is OK?..Check by using a stand-alone program.

Also take care in the CFG file you are using....

 

One more thing.....

 I remember that, way down our project, the USB-TAP had some allergy with FLASH(I do not exactly remember the issue....)....Try using a different Emulator.....PEMICRO-USB is more stable....

 

Hope this helps,

 

Regards,

Venki

Message Edited by tkvenki on 2009-06-26 05:01 AM
0 Kudos
Reply

1,283 Views
jane_gu
Contributor I

Hello Venki,

 

Thank you for your information. My hardware is OK, I can use windows platform CW to program. But linux platform never work.

 

Thank you,

 

Jane

0 Kudos
Reply

1,283 Views
ronco
NXP Employee
NXP Employee

Hello Jane,

 

As Venki noted, the CFG (Target Initialization File) is very important.  If the CodeWarrior Flash Programmer works well when run on Windows but not when run on Linux then I suspect the CFG file on Linux is incorrect.  Try comparing the two files (Windows and Linux CFG files) and look for mismatches -- if you find any discrepancies, go with the Windows version.  I hope this helps.

 

Regards,

Ron

0 Kudos
Reply