can not flash file to the TWR-K60D100M

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

can not flash file to the TWR-K60D100M

Jump to solution
659 Views
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??

Labels (1)
0 Kudos
1 Solution
438 Views
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!

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

View solution in original post

0 Kudos
1 Reply
439 Views
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 Kudos