4461|4

2万

帖子

74

TA的资源

管理员

楼主
 

LPCXpresso Q&A [复制链接]

Q     For which LPC microcontrollers are LPCXpresso boards available?
A     LPCXpresso boards are currently available for LPC13xx series and support for LPC11xx is planned. Users can always use the LPCXpresso platform with other target boards by using the LPC-Link standalone.

Q     Is the LPCXpresso IDE limited in terms of code development?
A     No. The LPCXpresso platform will allow the user to build an executable of any size, but there is a restriction in terms of code download which is 128KB.

Q     I am working with the LPC1768 and my project download size is 256KB. Do I have to upgrade to a full version of Red Suite?
A     Code Red is providing two low-cost upgrades of Red Suite for LPCXpresso to handle higher download sizes of 256KB and 512KB. Please visit the Code Red website for more information.

Q     Is LPC-Link just like any other JTAG debug probe?
A     Yes! LPC-Link is equipped with a 10-pin JTAG header, and it seamlessly connects to the target via USB. Cutting the traces between the LPC-Link and the target board will make the LPC-Link a stand-alone JTAG debug probe, enabling it to connect to any LPC evaluation boards.

Q     Does the LPCXpresso IDE work with any other JTAG debug probes?
A     Yes. In addition to the LPC-Link, the IDE also works with the Red Probe (from Code Red).

Q     How do I get support for LPCXpresso?
A     NXP has launched an exclusive forum for the LPCXpresso community. The NXP applications team will be moderating this forum and supporting users as they progress with LPCXpresso.

Q     I am seeing unusual debugging issues when optimization is enabled. Is there a fix for this?
A     When optimization is enabled, it will reorder code to improve performance. Changes like these might make the code confusing to debug. It is best to always use -O0 for debugging.

Q     How can I display assembly instructions in the debugger?
A     Click the i-> icon. This changes the Instruction Stepping Mode to step by processor instructions, rather than by source lines. This also shows the disassembly view around the current instruction.

Q     How can I reduce my code size? I am using printf.
A     When optimizing a project for size, if you are using printf, make sure that Redlib or Redlib (none) is selected as the standard library in the Projects Properties dialog. This option must be set in two different places, to configure both the header files, and the libraries. It should also be set both for the Debug target and the Release target. See the "Getting Started" guide for a step-by-step walkthrough of how to configure these settings.

Q     Is optimization helpful to reduce code size?
A     Optimization can do a lot to save flash memory. It can be configured in the same dialog as the C standard library. Choose "Optimization" under "MCU C Compiler" in the "Tool Settings" tab. Higher levels of optimization will typically result in higher performance, but may result in larger code size. It is best to use -O0 for debugging and higher levels for release. For best code, size try -Os -mword-relocations. There are many optimization options available for GCC. Visit http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html to see all of them.

Q     I closed a view. How can I get it back?
A     If you accidentally close a view, you can open it again by going to the Window menu and choosing Show View and Other. It is a good idea to browse through the Show View window to see what is available. See the "Tips & Tricks" section in the Getting Started Guide for more details on how to access this dialog.

Q     How can I view peripheral bitfields and flags?
A     LPCXpresso includes full, annotated, and interactive debug views of all the peripherals. Access to the views is found on the Peripherals View (click the Peripherals tab) behind the Core Registers view. Each peripheral can be selected, and it is displayed in the "Memory" view which is located behind the "Console" view at the bottom of the LPCXpresso desktop. See the "Getting Familiar..." section in the Getting Started Guide for more information on the peripheral view.
此帖出自单片机论坛
加EE小助手好友,
入技术交流群
EE服务号
精彩活动e手掌握
EE订阅号
热门资讯e网打尽
聚焦汽车电子软硬件开发
认真关注技术本身

最新回复

eeg
谢谢! 但换了电脑及ESATA口以及本人最好的USB线缆试验,问题依旧,昨天才做好目标板,没想到这仿真器好像有问题,是让同事申请和接收后转给我的,悲催了,但愿不影响其它功能?  详情 回复 发表于 2013-5-27 17:33
点赞 关注
个人签名

加油!在电子行业默默贡献自己的力量!:)

 

回复
举报

2955

帖子

0

TA的资源

纯净的硅(初级)

沙发
 
看来得好好学习学习英语了,看起来很累啊
此帖出自单片机论坛
 
个人签名不断地学习,才会有创新!
淘宝小店:手机、qq点卡、游戏点卡自动充值 http://shop63727265.taobao.com/
 

回复

5

帖子

0

TA的资源

一粒金砂(中级)

板凳
 

板子坏了?

今天第一次连上板子实验(LPCXPRESSO:LPC-LINK3154+TARGET1343): 连上USB线后。TARGET板上有红色LED2闪烁,测试VIN5+脚对GND有4.8V左右电压,但一旦连上负载(红色LED小发光二极管串220欧姆电阻)都无法点亮,LCD1602更不用说,是我不会用还是板子坏了? 急求解! 谢谢!
此帖出自单片机论坛
 
 
 

回复

4997

帖子

19

TA的资源

裸片初长成(初级)

4
 
可能是你的USB驱动电流不够。。
此帖出自单片机论坛

点评

eeg
谢谢! 但换了电脑及ESATA口以及本人最好的USB线缆试验,问题依旧,昨天才做好目标板,没想到这仿真器好像有问题,是让同事申请和接收后转给我的,悲催了,但愿不影响其它功能?  详情 回复 发表于 2013-5-27 17:33
 
个人签名我的博客
 
 

回复

5

帖子

0

TA的资源

一粒金砂(中级)

5
 

回复 4楼 zhaojun_xf 的帖子

谢谢! 但换了电脑及ESATA口以及本人最好的USB线缆试验,问题依旧,昨天才做好目标板,没想到这仿真器好像有问题,是让同事申请和接收后转给我的,悲催了,但愿不影响其它功能?
此帖出自单片机论坛
 
 
 

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

随便看看
查找数据手册?

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
快速回复 返回顶部 返回列表