在线时间1 小时
UID401346
注册时间2012-11-14
NXP金币0
该用户从未签到
新手上路

- 积分
- 23
- 最后登录
- 1970-1-1
|
发表于 2013-1-29 10:03:21
|
显示全部楼层
RE:Kinetis Kxx ARM Cortex - M4解锁方法
不行呀,我的芯片型号是MK10DN512VLK10,用楼主的方法解锁结果如下:
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
****** Error: Could not read AHB-AP Id. Could not connect to target.
Info: Found SWD-DP with ID 0x2BA01477
No device found on SWD.
Processing script file...
JTAG speed: 1000 kHz
Sleep(10)
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
Reset type UNKNOWN: ???
Reset delay: 0 ms
Reset type UNKNOWN: ???
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: CPU not halted after Reset, halting using Halt request
****** Error: No APB-AP found.
B-AP Id. Could not connect to target.
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
Sleep(1000)
Selecting SWD as current target interface.
Setting target interface speed to 1MHz. Use "Speed" to change.
Sleep(10)
Select SWD by sending SWD switching sequence.
Found SWD-DP with ID 0x2BA01477
Sleep(10)
Write DP register 2 = 0x01000000
Sleep(10)
Read AP register 0 = 0x00000000
Sleep(10)
Read AP register 0 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000000
Sleep(10)
Read AP register 0 = 0x00000000
Sleep(10)
Read AP register 0 = 0x00000034
Sleep(10)
Write AP register 1 = 0x00000001
Sleep(1000)
Read AP register 0 = 0x00000034
Sleep(10)
Read AP register 0 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000001
Sleep(100)
Write DP register 2 = 0x00000000
Sleep(1000)
Selecting JTAG as current target interface.
Setting target interface speed to 1MHz. Use "Speed" to change.
Sleep(100)
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
Reset delay: 0 ms
Reset type UNKNOWN: ???
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: CPU not halted after Reset, halting using Halt request
****** Error: No APB-AP found.
Script processing completed.
C:\Program Files\SEGGER\JLinkARM_V462>clear
'clear' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Program Files\SEGGER\JLinkARM_V462>clc
'clc' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Program Files\SEGGER\JLinkARM_V462>jlink.exe erase_all_pin,jlk
SEGGER J-Link Commander V4.62 ('?' for help)
Compiled Jan 25 2013 15:20:10
Unknown command line option erase_all_pin,jlk.
C:\Program Files\SEGGER\JLinkARM_V462>jlink.exe erase_all_pin.jlk
SEGGER J-Link Commander V4.62 ('?' for help)
Compiled Jan 25 2013 15:20:10
Script file read successfully.
DLL version V4.62, compiled Jan 25 2013 15:19:47
Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52
Hardware: V8.00
S/N: 20100214
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.261V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
****** Error: Could not read AHB-AP Id. Could not connect to target.
Info: Found SWD-DP with ID 0x2BA01477
No device found on SWD.
Failed to identify target. Trying again with slow (4 kHz) speed.
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x2BA01477
****** Error: Could not read AHB-AP Id. Could not connect to target.
Info: Found SWD-DP with ID 0x2BA01477
No device found on SWD.
Processing script file...
JTAG speed: 1000 kHz
Sleep(10)
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
Reset type UNKNOWN: ???
Reset delay: 0 ms
Reset type UNKNOWN: ???
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: CPU not halted after Reset, halting using Halt request
****** Error: No APB-AP found.
B-AP Id. Could not connect to target.
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
Sleep(1000)
Selecting SWD as current target interface.
Setting target interface speed to 1MHz. Use "Speed" to change.
Sleep(10)
Select SWD by sending SWD switching sequence.
Found SWD-DP with ID 0x2BA01477
Sleep(10)
Write DP register 2 = 0x01000000
Sleep(10)
Read AP register 0 = 0x00000000
Sleep(10)
Read AP register 0 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000000
Sleep(10)
Read AP register 0 = 0x00000000
Sleep(10)
Read AP register 0 = 0x00000034
Sleep(10)
Write AP register 1 = 0x00000001
Sleep(1000)
Read AP register 0 = 0x00000034
Sleep(10)
Read AP register 0 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000034
Sleep(10)
Read AP register 1 = 0x00000001
Sleep(100)
Write DP register 2 = 0x00000000
Sleep(1000)
Selecting JTAG as current target interface.
Setting target interface speed to 1MHz. Use "Speed" to change.
Sleep(100)
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
****** Error: No APB-AP found.
Reset delay: 0 ms
Reset type UNKNOWN: ???
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x24770011, AHB-AP
Info: ARM AP[1]: 0x001C0000, JTAG-AP
WARNING: CPU not halted after Reset, halting using Halt request
****** Error: No APB-AP found.
Script processing completed.
C:\Program Files\SEGGER\JLinkARM_V462> |
|