智能车制作
标题:
IAR+Jlink 不能下载代码
[打印本页]
作者:
2692377302
时间:
2013-11-12 17:26
标题:
IAR+Jlink 不能下载代码
请教论坛里热心的朋友,有没有碰到过类似的问题,有什么好的解决思路?
编译结果正确:
Building configuration: Test - Debug
Updating build tree...
Configuration is up-to-date.
开始下载:
点击 download and debug 后
出现如下图所示问题
[attach]52107[/attach]
[attach]52108[/attach]
log显示为:
Tue Nov 12, 2013 17:21:22: Loaded macro file: D:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\Freescale\FlashK60Xxxx.mac
Tue Nov 12, 2013 17:21:23: JLINK command: ProjectFile = F:\arm\k60\myproject\IAR-ucosiii\settings\Test_Debug.jlink, return = 0
Tue Nov 12, 2013 17:21:23: Device "K60DN512Z" selected (512 KB flash, 32 KB RAM).
Tue Nov 12, 2013 17:21:23: JLINK command: device = MK60DN512Zxxx10, return = 0
Tue Nov 12, 2013 17:21:23: DLL version: V4.36f, compiled Oct 22 2011 15:21:42
Tue Nov 12, 2013 17:21:23: Firmware: J-Link ARM V8 compiled Sep 22 2011 16:23:23
Tue Nov 12, 2013 17:21:23: JTAG speed is initially set to: 32 kHz
Tue Nov 12, 2013 17:21:23: TotalIRLen = 4, IRPrint = 0x01
Tue Nov 12, 2013 17:21:23: Found Cortex-M4 r0p0, Little endian.
Tue Nov 12, 2013 17:21:24: TPIU fitted.
Tue Nov 12, 2013 17:21:24: ETM fitted.
Tue Nov 12, 2013 17:21:24: ETB present.
Tue Nov 12, 2013 17:21:24: CSTF present.
Tue Nov 12, 2013 17:21:24: FPUnit: 6 code (BP) slots and 2 literal slots
Tue Nov 12, 2013 17:21:24: Hardware reset with strategy 0 was performed
Tue Nov 12, 2013 17:21:24: Initial reset was performed
Tue Nov 12, 2013 17:21:24: Found 1 JTAG device, Total IRLen = 4:
Tue Nov 12, 2013 17:21:24: #0 Id: 0x4BA00477, IRLen: 4, IRPrint: 0x1 CoreSight JTAG-DP
Tue Nov 12, 2013 17:21:25: ----- Prepare hardware for Flashloader -----
Tue Nov 12, 2013 17:21:25: 1280 bytes downloaded (8.93 Kbytes/sec)
Tue Nov 12, 2013 17:21:25: Loaded debugee: D:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\Freescale\FlashK60Xxxx.out
Tue Nov 12, 2013 17:21:25: Target reset
Tue Nov 12, 2013 17:21:25: The flash loader program reported an error.
[img]file:///C:\Users\qingvincent\AppData\Roaming\Tencent\Users\2692377302\QQ\WinTemp\RichOle\CD~U@7NHU4`C[N2@
MWJ@WU6.jpg
[/img]
作者:
2692377302
时间:
2013-11-13 10:52
问题解决了,原来是芯片被锁上了,可是之前还好好的可以下载的,下载一个操作系统之后芯片就被锁住了,奇怪???解决问题:首先Jlink文件夹里要有erase_all_pin.jlk。。。然后:运行->cmd->输入“cd 你的JlinK安装路径” ->Jlink.exe erase_all_pin.jlk
作者:
地瓜土豆
时间:
2015-5-19 15:06
找不到erase_all_pin.jlk怎么办 急
欢迎光临 智能车制作 (http://dns.znczz.com/)
Powered by Discuz! X3.2