LPC1549如何 利用Jlink工具的J-Scope来实时观察变量,不影响CPU运行,速度还可以,取决于Jlink的版本型号. 工程师们不用再买示波器了,省钱又方便啊.
步骤如下:
一. Jlink工具硬件版本与软件版本,软件版本要V4.9及以上
Model comparison
[size=0.83em]图片1.png(393.05 KB, 下载次数: 0)
下载附件 [url=]保存到相册[/url]
三. 配置JLink电脑上的软件部分.
Getting started
步骤如下:
一. Jlink工具硬件版本与软件版本,软件版本要V4.9及以上
Model comparison
二. 将板载
LPC_Link2
调试器刷成Jlink
为了能在
MDK
下调试
LPC1549 xpresso v2能使用上Jlink的J-SCOPE软件功能,
这里我们先借助
NXP
提供的工具,先配置板载
LPC_Link2
调试器
工具版本:
LPC_Link2_Config_tool_v1_11_1
1、LPC_Link2
硬件
短接
JP3(Link DFU),
插入
USB J5, D2
亮。

下载附件 [url=]保存到相册[/url]
[color=rgb(153, 153, 153) !important]2014-4-15 23:19 上传
2、运行
DFUSec.exe
a
、选择映像文件:
JLink_LPC-Link2 debugger image
b
、编成当前选择项:
Program the Link2 with the currently selected
c
、烧写成功完成。拔掉
JP3
短路帽,再插拔下
J5 LINK USB
口。

Getting started
J-Scope is part of the J-Link Software and Documentation Package (JScope.exe).
Start J-Scope by double-clicking on the executable.
In the configuration dialog, select your elf-file. For most targets, the configuration does not have to be specified. If there are any problems, select your target device and configure the interface accordingly.
Click OK. The Symbol Selection Dialog opens.
Select the symbols of your application, you want to watch and analyze. Click OK to start J-Scope.

Data sampling can be started via the record-button(red dot) in the toolbar.
The configuration of elf-file and selected symbols can be saved into a J-Scope Project to be easily reused.
J-Scope Projects can be opened via the menu or simply dropping them onto the executable.
For more information about how to use J-Scope, please refer to the J-Link User Guide (UM08001).