Flash Programmer Error: Getting flash ID failed when erase

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash Programmer Error: Getting flash ID failed when erase

5,152 次查看
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.
标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

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

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

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