- 1、本文档共3页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
IAR生成HEX文件说明
Flash Programmer
5 Command Line Interface
5.1 Options
To get all available options in the command line interface, run the
SmartRF04ProgConsole.exe in a command window or in the IAR workbench without any
parameters/arguments. A list of all available options will then be printed out. These options
are the same as the ones available in the GU I version of the Flash programmer, please refer
to chapter 4 for a description of these.
5.2 Plug-in to IAR Workbench
The command line interface can be integrated in the IAR Workbench. To setup IAR with this
feature follow the instructions below.
5.2.1 Setup
Start IAR Workbench and choose “Configure Tools…”, from the Tools menu, Figure 7.
Figure 7: Tools Menu
Press “New”, and add the information present in Table 2, see Figure 8.
Field Value
Menu FlashProgram
Text:
Command: C:\Program Files\Chipcon\FlashProg\
1
SmartRF04ProgConsole.exe
Argument: S() EPV F=$TARGET_PATH$ K(0)
Table 2: Flash Programmer Setup
1
Insert the complete path to the Command Line Flash Programmer
SWRU069A Page 10 of 13
Flash Programmer
Figure 8: Configure Tools
5.2.2 Use
After setup, a new target is placed on the Tools menu.
Figure 9: Using Flash Programmer from IAR Workbench
Setup your project to generate hex file as primary output (Figure 11), compile and link, and
choose “Flash Program” from the Tools menu. A command line window will be displayed,
Figure 10. After
文档评论(0)