J-Link应用
概述
功能包括:
USB interface
Any ARM7/ARM9/ARM11, Cortex-M3 core supported, including thumb mode
Serial Wire Debug supported *
Serial Wire Viewer supported *
Automatic core recognition
Maximum JTAG speed 12 MHz
Download speed up to 720 Kbytes/second **
DCC speed up to 800 Kbytes/second **
Seamless integration into the IAR Embedded Workbench® IDE
No power supply required, powered through USB
SWV support since hardware version
Support for adaptive clocking
All JTAG signals can be monitored, target voltage can be measured
Support for multiple devices
Fully plug and patible
Standard 20-pin JTAG connector
Wide target voltage range: - , 5V tolerant
USB and 20-pin ribbon cable included
Memory viewer (J-Mem) included
TCP/IP server included, which allows using J-Link via TCP/works
RDI interface available, which allows using J-Link with pliant software
Flash programming software (J-Flash) available
Flash DLL available, which allows using flash functionality in custom applications
Software Developer Kit (SDK) available
Embedded Trace Buffer (ETB) support
Adapter for 5V JTAG targets available
14-pin JTAG adapter available
Optical isolation adapter available
Target power supply: J-Link can supply up to 300 mA to target with overload protection
可以多个客户端同时访问一个目标板
J-Link包括:
J-Flash ARM:Flash下载;
J-mander:命令行;
J-Link GDB Server:GDB服务器;
J-Link RDI:RDI调试接口;
J-Link TCP-IP Server:TCP-IP远程调试接口;
J-Mem:内存察看器;
J-Flash ARM
可用于下载Flash
通过File-New Project新建工程,也可通过File-Open Project打开一个已经配置好的工程。
Options-Project Settings下配置工程的设置。
General设置如下图:
“Target Interface”设置JTAG界面,一般将“JTAG speed before init”设置为30kHz,“JTAG speed after init”设置为“Auto selection”,然后点击下面的“Detect”,一般会找到所连接的内核,如果不行检查JTAG连线。
选择内核,并在“Use following init sequence”添加必要的初始化指令。需要注意的是J-Link是要自己加Reset指令的,类型0或者1都可以。对于AT91R40008来说,“Use target RAM”是不可以选中的。如果选中则J-Link先下载一部分代码和需要烧录固化程序到目标板的内存中,再烧录到Flash中,问题就在于这部分代码无法成功烧写Flash。如果不选中,这是由JTAG接口通过目标CPU来执行Flash烧写的指令,尽管速度要慢很多,但可以下载成功。“Chec
J-Link使用说明 来自淘豆网m.daumloan.com转载请标明出处.