FL2440使用J-Link烧写Nand> Flash遇到CPU is not halted!

来源:互联网 发布:java web helloworld 编辑:程序博客网 时间:2024/05/14 21:33

烧写U-boot遇到了很多问题,在自己坚持不懈的努力下终于把问题都解决了,全是自己的总结,希望对新手带来帮助。下面啊解答方式是一个网友跟我说的,我发现这是一个不正确的解答,其实用其他版本的驱动是一样的,运行的时候只需要先输入“h”命令就不会出现CPU is not  halted!。


遇到的问题:我在使用Jlink V8调试FL2440时,setpc 0命令执行时,总是显示“CPU is not halted !”

SEGGER J-Link Commander V4.08l ('?' for help)
Compiled Sep 17 2009 09:42:18
DLL version V4.08l, compiled Sep 17 2009 09:41:55
Firmware: J-Link ARM V8 compiled Dec  1 2009 11:42:48
Hardware: V8.00
S/N : 20100214
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.248V
Info: TotalIRLen = 4, IRPrint = 0x01
Info: CP15.0.0: 0x41129200: ARM, Architecure 4T
Info: CP15.0.1: 0x0D172172: ICache: 16kB (64*8*32), DCache: 16kB (64*8*32)
Info: Cache type: Separate, Write-back, Format A
Found 1 JTAG device, Total IRLen = 4:
#0 Id: 0x0032409D, IRLen:  4, Unknown device
Found ARM with core Id 0x0032409D (ARM9)
JTAG speed: 5 kHz
J-Link>speed 12000
JTAG speed: 12000 kHz
J-Link>loadbin C:\linux\fl2440\init.bin 0
Loading binary file... [C:\linux\fl2440\init.bin]
Writing bin data into target memory @ 0x00000000.
J-Link>setpc 0
CPU is not halted !


解决方法:原来是J-link软件版本的问题,使用Setup_JLinkARM_V410i.zip就好了。上面的使用的是Setup_JLink v8 ARM_V408l.zip出错。


具体怎么烧写在下文中会详细介绍。



3 0
原创粉丝点击