3751|2

862

帖子

2

TA的资源

纯净的硅(初级)

楼主
 

[LPC54100]LPCOpen v2.xx Keil uVision4 quickstart guide for all platforms [复制链接]

Table of Contents
‘keil下的快速开发指南,大概如上7步(+简介),下载LPC54000_DFP包,下载KEIL开发工具,在keil中导入工程demo,编译lib工程,编译例程,调试。
没有翻译,这样才原汁原味,不会走样!!!
Keil Quickstart introduction
This quickstart guide will guide you through the steps of using the Keil MDK-ARM toolchain with the LPCOpen projects for your desired device and platform.
Download and install the Keil LPCOpen package for your platform
If you haven't downloaded an LPCOpen package yet, go here to download the package for the device/platform you want to use. You will need to download a package that supports the Keil toolchain with this quickstart guide.
Once you have downloaded your package, you will need to create a work directory somewhere and unzip the package in that directory.
We highly recommend using /nxp/lpcopen as the install area, although you can install it anywhere.
Windows users only: Install LPCOpen close to the root drive on your system as path names can exceed the character limit if installed under too many directories. You'll get project errors if this happens.
Needed Keil tools
To use the Keil projects in LPCopen, you will need the Keil MDK-ARM toolchainand a ULINK/ME debugger. You can get an evulation version of the Keil MDK-ARM here. All LPCOpen projects for Keil are preconfigured for the ULINK/ME debugger. You can get more information on that debugger here.
Keil project startup
To bring up the LPCopen v2.xx projects using Keil uVision4, you will need to navigate to the Keil project area for the board you are using. The project file areas for each chip family are listed in the table below:图080633
Depending on which LPCOpen package you download, you'll have one or more products in the project file area. Go into the directory for the product you want to use.
For example, if you want to use the LPCXpresso LPC812 board with Keil uVision4 and have download the LCP812 Keil package, enter the 'applications\lpc8xx\keil_uvision_projects\nxp_lpcxpresso_812' directory to enter the LPCXpresso LPC812 Keil project area. After entering the project area, you'll see a collection of multi-project files similar to the list below. (This list may vary per platform)080715
Simply double click the _all_examples.uvmpw project file to bring up Keil with the LPCopen projects. In the image above, the file to clock would be 'nxp_lpcxpresso_812_all_examples.uvmpw'.
After Keil finishes loading, you'll have a workspace with all projects for that platform ready for build and deployment.080752
Building the libraries
Start by selecting the lib_lpc_chip_ project and then building it. To select the project, right click on the project in the list and select 'Set as active project'. To build the project after it is selected, select 'Build' from the Project menu. This will build the chip library needed by all other projects.
After the chip library is built, select the lib_lpc_boards_ project and then build it. This will build the board library needed by other projects.
Note that some projects may require additional libraries - for example, LPCUSBLUB also requires the USB librarires to be build prior to using the USB examples. These libraries will appear in the projects lists for platforms that suppor them, so build them as needed. If you forget to build the necessary library, you will get a linker error in your application with an error indicating a library is missing.
The chip and board library are used by most other projects as libraries and normally only need to be built once. If you changes chip or board code, you must manually select and rebuild these libraries prior to building your application.
Building an example
To build an example, select the example as the active project and then select 'Build' from the project menu. The project will build and is ready for debug.080849
Starting a debug session
Power up your board that you are using the LPCOpen and Keil uVision4. Connect the ULINK/ME debugger to the debug (SWI/JTAG) connector on the board. Connect a USB cable between the ULINK/ME and the host machine running Keil uVision4. Install drivers if needed for the ULINK/ME debugger.
From the Debug menu, select 'Start/Stop Debug Session' to program the image to the board and start it. For most projects, the debugger will automatically either stop at main() or at the startup code. Select commands from the Debug menu to run the program, set breakpoints, stop debugging, etc.080931
Thats all there is to it!
------------------------------------------------------------------------------------------------------------------
下面是自己的!
安装dfp包并导入工程demo的样子
编译lib和m4_blinky通过的样子,当然首先要激活需要编译的工程





此帖出自NXP MCU论坛

最新回复

nmg
期待楼主实战展示   详情 回复 发表于 2015-3-18 16:10

赞赏

1

查看全部赞赏

点赞 关注
个人签名水不撩不知深浅 人不拼怎知输赢
 

回复
举报

862

帖子

2

TA的资源

纯净的硅(初级)

沙发
 
本帖最后由 wo4fisher 于 2015-3-11 17:15 编辑

这工作,每天都过得很郁闷。等闲下来在板子上实战!
  keil安装版本 IDE-Version: μVision V5.14.0.0

Toolchain:        MDK-ARM Standard

Version: 5.14.0.0 Toolchain

C Compiler:         Armcc.exe        V5.05 update 1 (build 106)

Assembler:          Armasm.exe        V5.05 update 1 (build 106)

Linker/Locator:     ArmLink.exe        V5.05 update 1 (build 106)

Library Manager:    ArmAr.exe        V5.05 update 1 (build 106)

Hex Converter:      FromElf.exe        V5.05 update 1 (build 106)

CPU DLL:               SARMCM3.DLL          V5.14.0.0

Dialog DLL:         DCM.DLL              V1.13.1.0

Target DLL:             CMSIS_AGDI.dll       V1.21.0.0

Dialog DLL:         TCM.DLL              V1.14.4.0
此帖出自NXP MCU论坛

点评

nmg
期待楼主实战展示  详情 回复 发表于 2015-3-18 16:10
 
 
 

回复

5220

帖子

236

TA的资源

管理员

板凳
 
wo4fisher 发表于 2015-3-11 17:13
这工作,每天都过得很郁闷。等闲下来在板子上实战!
  keil安装版本 IDE-Version: μVision V5.14.0.0

Toolchain:        MDK-ARM Standard

Version: 5.14.0.0 Toolchain

C Compiler:         Armcc.exe        V5.05 update 1 (build 106)

Assembler:          Armasm.exe        V5.05 update 1 (build 106)

Linker/Locator:     ArmLink.exe        V5.05 update 1 (build 106)

Library Manager:    ArmAr.exe        V5.05 update 1 (build 106)

Hex Converter:      FromElf.exe        V5.05 update 1 (build 106)

CPU DLL:               SARMCM3.DLL          V5.14.0.0

Dialog DLL:         DCM.DLL              V1.13.1.0

Target DLL:             CMSIS_AGDI.dll       V1.21.0.0

Dialog DLL:         TCM.DLL              V1.14.4.0

期待楼主实战展示


此帖出自NXP MCU论坛
加EE小助手好友,
入技术交流群
EE服务号
精彩活动e手掌握
EE订阅号
热门资讯e网打尽
聚焦汽车电子软硬件开发
认真关注技术本身
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表