can not flash file to the TWR-K60D100M

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

can not flash file to the TWR-K60D100M

ソリューションへジャンプ
1,258件の閲覧回数
botaoyang
Contributor II

when I use the codewarrior to debug a program to the TWR_K60D100M, the codewarrior would hang on debug;

when I use the codewarrior to flash a file to the board it show these error information:

Error:  The algorithm was not able to run on the target or the flash is not configured properly.

Error:  Getting flash ID failed

Error: The algorithm was not able to run on the target or the flash is not configured properly.

 

 

Error executing task K60DN512Z.

Error:  The algorithm was not able to run on the target or the flash is not configured properly.

Error:  Getting flash ID failed<s>thread exit: Stopped, 0x0, 0x0, cpuARMLittle, Unknown (state, tid, pid, cpu, target)</s>

 

Error: The algorithm was not able to run on the target or the flash is not configured properly.

 

What can I do to solve this problem??

ラベル(1)
0 件の賞賛
返信
1 解決策
1,037件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Would you please first create a new project for K60DN512Z from <File> menu -> New->Bareboard project, can CodeWarrior v10.6 program with this project into your board?

If with the new bareboard project, the debugger also prompts the same error, please select mass erase in the connection you use, either OSJTAG or Multilink. For this please follow the next procedure:

1)   Go to Run -> Debug Configurations and in the window that appears select your connection.

2)   In “Target settings” you will see the connection. Click on “Edit”.

3)   Check the box that corresponds to “Always mass erase on connect”.

4)   Click on OK and then in “Debug”. This should mass erase the device before programming it. Please see the screenshot below.

Mass_erase.png

Does it work?

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,038件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Would you please first create a new project for K60DN512Z from <File> menu -> New->Bareboard project, can CodeWarrior v10.6 program with this project into your board?

If with the new bareboard project, the debugger also prompts the same error, please select mass erase in the connection you use, either OSJTAG or Multilink. For this please follow the next procedure:

1)   Go to Run -> Debug Configurations and in the window that appears select your connection.

2)   In “Target settings” you will see the connection. Click on “Edit”.

3)   Check the box that corresponds to “Always mass erase on connect”.

4)   Click on OK and then in “Debug”. This should mass erase the device before programming it. Please see the screenshot below.

Mass_erase.png

Does it work?

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信