K60 locked

cancel
Showing results for 
Search instead for 
Did you mean: 

K60 locked

6,194 Views
immer48
Contributor II

Hi!

 

Unfortunately I locked my K60-Tower because I forgot to choose the K60X_Flash.icf file in the linker options (IAR workbench).

 

Then I tried to unlock it with the J-Link Commander ("unlock kinetis"), but without success:

 

 

"SEGGER J-Link Commander V4.24f ('?' for help)
Compiled Mar 29 2011 15:37:59
DLL version V4.24f, compiled Mar 29 2011 15:37:40
Firmware: J-Link Lite-Cortex-M V8 compiled Jan 31 2011 18:40:20
Hardware: V8.00
S/N: 398000936
OEM: IAR
VTarget = 3.274V
Info: TotalIRLen = 4, IRPrint = 0x01

****** Error: Could not power up debug port: Control/Status register reads 000000F0
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
Info: Found SWD-DP with ID 0x2BA01477

WARNING: CPU core not found.

****** Error: Wrong AHB ID (15:3). Expected 0x04770001 (Mask 0x0FFFFFCF), Found 0xF0000001
No device found on SWD.
Did not find any core.
Info: TotalIRLen = 4, IRPrint = 0x01

****** Error: Could not power up debug port: Control/Status register reads 000000F0
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
Info: Found SWD-DP with ID 0x2BA01477

WARNING: CPU core not found.
No device found on SWD.
Did not find any core.
J-Link>unlock kinetis
Found SWD-DP with ID 0x2BA01477
Unlocking device...ERROR: Read from DP/AP register failed!"

 

 

 

What can I do to make the tower work again? The reset LED and the red LED of the J-Link-lite-Interface light.

5 Replies

587 Views
mjbcswitzerland
Specialist V

Hi

 

Please see: https://community.freescale.com/thread/77368

 

Regards

 

Mark

 

0 Kudos

237 Views
hhhhh
Contributor I

Thanks for your reply

i have same question, but the link is invalid.

Tags (1)
0 Kudos

587 Views
immer48
Contributor II

Thanks for your answer.

As I see, it is unpossible to revive the tower. :smileysad:

The J-Link Commander has commands to write to memory (e.g. w4). Maybe that could help?

0 Kudos

587 Views
Mirko
Contributor I

Hi,

 

i have your same problem with kinetis k40... have you solved the problem?

I try to wake-up the device with the "unlock kinetis" command from J-Link Commander but it show me this error

message:

 

SEGGER J-Link Commander V4.32 ('?' for help)
Compiled Jul 29 2011 18:38:14
DLL version V4.32, compiled Jul 29 2011 18:37:55
Firmware: J-Link Lite-FSL V1 compiled Jan 31 2011 11:00:51
Hardware: V1.00
S/N: 430110131
VTarget = 3.230V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: Found Cortex-M4 r0p0, Little endian.
Info: TPIU fitted.
Info: ETM fitted.
Info: ETB present.
Info: CSTF present.
Info:   FPUnit: 6 code (BP) slots and 2 literal slots
Found 1 JTAG device, Total IRLen = 4:
 #0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
Cortex-M4 identified.
JTAG speed: 100 kHz
J-Link>unlock kinetis
Found SWD-DP with ID 0x2BA01477
Unlocking device...ERROR: Timeout while reading from DP/AP register!
J-Link>

 

thanks to all

0 Kudos

587 Views
FabianS
Contributor II

I have a possible "solution" for you guys.

I had the same problem with the K60 Tower board. I called Freescale and told them the problem, 2 days later I got a new Tower. Now I am only using the RAM, not writing the flash any more. The new CodeWarrior seems to display a warning when trying to burn the flash with a file that will lock the processor. Googling this message brings up a post in this forum saying this bug will be fixed in the next revision of CodeWarrior.

Hope that helps.

0 Kudos