can not flash file to the TWR-K60D100M

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

can not flash file to the TWR-K60D100M

跳至解决方案
677 次查看
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 解答
456 次查看
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 回复
457 次查看
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 项奖励