您的位置:首页 > 大数据 > 人工智能

unable to halt arm core failed to connect

2013-01-12 16:21 316 查看
昨天晚上在做MMU实验的时候,下载完程序后,J-FLASH的连接一直出现 unable to halt arm core failed to connect,当时很是郁闷,问TQ的售后,说是已经下班了。又琢磨了一段时间还是没有解决。今天又经过一番周折终于将问题解决。

开发板:TQ2440

配件:JLINK V7 + 转接板

软件:JLinkARM_V408i

下面是详细的步骤:

1)打开J-Link Commander

2)在J-Link>之后输入rx 0 注意0前空格

3)输完之后按下复位键

4)这是显示还不能成功再次执行rx 0



5)点击J-Flash的target->Erase chip,将芯片里面的程序擦除之后即可再此连接下载。

小感:

上面的解决方法是源自:

这个论坛

MikeQ的原话:

Obviously
J-Link can "talk" to your chip.
The problem is that it can not halt the chip for some reason.
Most likely cause is that the target CPU has no clock or that
it is performing a memory access which halts the CPU indefinetly.

Can you 
a) Check if the CPU has a clock
b) Check if there is a "WAit" Signal which may be active

If this does not help, try "rx 0" from J-Link Commander as follows:

SEGGER J-Link Commander V3.78a ('?' for help)
Compiled Dec 4 2007 22:18:44
DLL version V3.78a, compiled Dec 4 2007 22:18:35
Firmware: J-Link compiled Dec 03 2007 17:15:31 ARM Rev.5
Hardware: V5.30
S/N : 1
Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB
VTarget = 3.306V
Info: TotalIRLen = 4, IRPrint = 0x01
JTAG speed: 30 kHz
Found 1 JTAG device, Total IRLen = 4:
Id of device #0: 0x3F0F0F0F
Found ARM with core Id 0x3F0F0F0F (ARM7)
J-Link>speed 2000
JTAG speed: 2000 kHz
J-Link>rx 0
Reset delay: 0 ms
Reset type NORMAL: Using RESET pin, halting CPU after Reset
Info: TotalIRLen = 4, IRPrint = 0x01
Info: Resetting target using RESET pin
J-Link>

Does this help ?

如果没有文章中的谈论者MikeQ或许我还要花费更多的时间解决这个问题。在此对其表示感谢,而我的这篇文章更不敢以原创自居。

感谢那些无私奉献的大牛...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐