Flash Programmer Error: Getting flash ID failed when erase

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

Flash Programmer Error: Getting flash ID failed when erase

5,286件の閲覧回数
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,282件の閲覧回数
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,282件の閲覧回数
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,282件の閲覧回数
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 件の賞賛
返信