IAR生成HEX文件说明

上传人:油条 文档编号:14045902 上传时间:2017-09-04 格式:PDF 页数:3 大小:68.95KB
返回 下载 相关 举报
IAR生成HEX文件说明_第1页
第1页 / 共3页
IAR生成HEX文件说明_第2页
第2页 / 共3页
IAR生成HEX文件说明_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《IAR生成HEX文件说明》由会员分享,可在线阅读,更多相关《IAR生成HEX文件说明(3页珍藏版)》请在金锄头文库上搜索。

1、 Flash Programmer5 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

2、 the same as the ones available in the GUI 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

3、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 Text: FlashProgram Command: C:Program FilesChipconFlashProg SmartRF04ProgConsole.exe1Argument: S() EPV F=$TARG

4、ET_PATH$ K(0) Table 2: Flash Programmer Setup 1Insert the complete path to the Command Line Flash Programmer SWRU069A Page 10 of 13 Flash ProgrammerFigure 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 you

5、r 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 the “S” option an empty parenthesize is present. If this parenthesize is empty, the first available development ca

6、rd is used. If more than one development card is connected, fill in the ID number for the card you want to use in the empty parenthesize. The “K(0)” option will retain the IEEE address while programming. SWRU069A Page 11 of 13 Flash ProgrammerUse K(0) on CC2430 F-128, K(1) on CC2430 F-64 and K(2) on

7、 CC2430 F-32 If the K option is removed the IEEE address is not retained. The “EPV” option is for “Erase, program and verify” Figure 10: Command Line Window Press OK and the hex file will be downloaded. Figure 11: Generate HEX file as primary output Note: If the output format is hex file the debugger can not be used. To produce a hex file for banked code, please see the manual named “Chipcon IAR User Manual” available from . SWRU069A Page 12 of 13

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号