LPCXPresso 安装与入门

本文详细介绍了LPCXPresso开发工具的安装流程,包括软件下载、安装、激活步骤,以及如何安装和配置J-Link插件。此外,还提供了创建工程和进行J-Link调试的方法,帮助初学者快速上手。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

                                                             LPCXPresso 安装与入门

 

1 安装

  1. 1下载安装包

                  图 1-1  检索开发工具

 

                 图 1-2 下载

 

               1-3 登录(需要先注册nxp账号,之后工具激活也会用到)

 

               图1-4 选择软件对应操作系统

 

                   图1-5 选择对应版本

 

 

1.2 安装软件

   双击图标 ,根据提示安装软件。

 

2 激活

注册免费版本后拥有256k代码的调试权限,以及所有的其他功能。

2.1获取序列号

               图 2-1  进入激活码页面

                        图2-2 拷贝激活码

2.2用序列号在线获取激活码

 

          图2-3 登录nxp账号并进入激活页面

 

                  图2-4 产生激活

 

                  图2-5 拷贝激活码

 

 

2.3 激活

              图 2-6 进入激活页面

               图2-7 输入激活码并确认

 

 

 

 

3 安装jlink插件

参考http://jingyan.eeboard.com/article/75675#/prettyPhoto%5Bpp_gal%5D/3/

3.1 安装jlink插件

          图3-1 进入安装页面

              图3-2 指定插件下载位置

           图3-3 选择后按next安装。安装完成后需要重启。

 

3.2 配置jlink

  配置String_Substitution(工具栏 Windows->Preferences)

               图 3-4

 

SEGGER j-Link

图 3-5

 

 

4 工程创建与调试

4.1 创建工程

        图4-1 选择工程类型以及CPU型号 (其他操作按next即可)

4.2 配置工程jlink

图4-2 工程jlink配置1

                      图4-3 jlink配置2

 

 

   图 4-4 jlink配置3

 

 

4.3 jlink调试

 

                   图 4-5 调试工程

4.4 问题处理

 

问题1

  Debug时出现如下错误

 

解决方法

Portable command line ISP for NXP LPC2000 family and Analog Devices ADUC 70xx Version 1.79 compiled for Windows: Aug 4 2010, 10:55:56 Copyright (c) by Martin Maurer, 2003-2009, Email: Martin.Maurer@clibb.de Portions Copyright (c) by Aeolus Development 2004, www.aeolusdevelopment.com Syntax: lpc21isp [Options] file[ file[ ...]] comport baudrate Oscillator_in_kHz Example: lpc21isp test.hex com1 115200 14746 Options: -bin for uploading binary file -hex for uploading file in intel hex format (default) -term for starting terminal after upload -termonly for starting terminal without an upload -localecho for local echo in terminal -detectonly detect only used LPC chiptype (PHILIPSARM only) -debug0 for no debug -debug3 for progress info only -debug5 for full debug -donotstart do not start MCU after download -try try n times to synchronise -wipe Erase entire device before upload -control for controlling RS232 lines for easier booting (Reset = DTR, EnableBootLoader = RTS) -controlswap swap RS232 control lines (Reset = RTS, EnableBootLoader = DTR) -controlinv Invert state of RTS & DTR (0=true/assert/set, 1=false/deassert/clear). -verify Verify the data in Flash after every writes to sector. To detect errors in writing to Flash ROM -logfile for enabling logging of terminal output to lpc21isp.log -halfduplex use halfduplex serial communication (i.e. with K-Line) -ADARM for downloading to an Analog Devices ARM microcontroller ADUC70xx -PHILIPSARM for downloading to a microcontroller from NXP(Philips) LPC13xx/LPC17xx/LPC2000 family (default) 请按任意键继续. . .
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值