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.
Thanks for your answer.
As I see, it is unpossible to revive the tower.
The J-Link Commander has commands to write to memory (e.g. w4). Maybe that could help?
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
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.