jlink commander不能用,请教是什么原因?

 我来答
70vnwci607
2011-08-23 · TA获得超过917个赞
知道小有建树答主
回答量:524
采纳率:0%
帮助的人:322万
展开全部
There are several reasons why the CPU core can not be halted.
Either the memory wait signal of the core is still enabled or CPU disables the clock (wrong PLL clock settings/CPU enters power-save mode).
Therefore the core cannot communicate via JTAG.
The only way to gain control of the core via JTAG is to reset it and halt it immediately.
BTW: Which STR7xx are you using?
Could you please do the following:
Start the J-Link commander (JLink.exe)
Set a very high JTAG-speed by typing "speed [speed in kHz], for example "speed 8000" and press enter. If you are using a STR75x core - a TDMI-S core, this may not work.
Now type "rx 0" - This will reset the core as quickly as possible. The higher the speed the earlier the core is stopped.
You should see:
Reset delay: 0 ms
Reset type NORMAL: Using RESET pin, halting CPU after Reset
Info: Resetting target using RESET pin
The core is halted after reset. Type "regs" to see the CPU registers:
PC: (R15) = 00000000, CPSR = 000000D3 (SVC mode, ARM FIQ dis. IRQ dis.)
R0 = A0000054, R1 = 00008040, R2 = 00000000, R3 = 20000004
R4 = 000000E1, R5 = 000000C7, R6 = 0000004D, R7 = 000000BD
USR: R8 =00000000, R9 =00000000, R10=00000001, R11 =00000001, R12 =00000099
R13=200007FC, R14=000000C7
FIQ: R8 =00000000, R9 =00000000, R10=00000000, R11 =00000000, R12 =00000000
R13=04000000, R14=00000000, SPSR=C00000FF
SVC: R13=00000000, R14=000000F4, SPSR=000000FF
ABT: R13=00000000, R14=00000000, SPSR=D000005F
IRQ: R13=20000900, R14=00000000, SPSR=F00000F7
UND: R13=00000000, R14=00000000, SPSR=D000007A
If you can see the registers' contents, the next step will be to erase the contents of the flash. Use J-Flash and set the following settings:
JTAG\JTAG speed before/after init to 8000kHz (or the value you tried with J-Link commander)
CPU\Init sequence: Action type: Reset, Type: 0, Delay: 0ms
Now connect to the target and select "Erase chip" to erase the flash contents.
AiPPT
2024-12-03 广告
作为北京饼干科技有限公司的一员,对于市场上各类工具都有所了解。就AiPPT而言,它确实为用户提供了便捷高效的PPT制作体验。通过智能化的辅助功能,用户能够快速生成专业且富有创意的演示文稿,极大地节省了时间和精力。无论是对于个人用户还是企业团... 点击进入详情页
本回答由AiPPT提供
手机用户75230
2011-08-23 · TA获得超过209个赞
知道答主
回答量:381
采纳率:0%
帮助的人:266万
展开全部

已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式