实验一:IAR集成开发环境及使用说明IAR EW8051集成开发环境IAR Embedded Workbench(简称EW)的C/C ++交叉编译器和调试器是今天世界最 完整的和最容易使用专业嵌入式应用开发工具EW对不同的微处理器提供一样直观用 户界面EW今天已经支持35种以上的8位/16位32位ARM的微处理器结构EW包括:嵌入式C/C++优化编译器,汇编器,连接定位器,库管理员,编辑器, 项目管理器和C-SPY调试器中使用IAR的编译器最优化最紧凑的代码,节省硬件资 源,最大限度地降低产品成本,提高产品竞争力EWARM是IAR目前发展很快的产品,EWARM已经支持ARM7/9/10/11XSCALE,并且 在同类产品中具有明显价格优势其编译器可以对一些SOC芯片进行专门的优化如 Atmel,TI,ST,Philips除了 EWARM 标准版外,IAR 公司还提供 EWARM BL(256K) 的版本,方便了不同层次客户的需求IAR System是嵌入式领域唯一能够提供这种解决方案的公司°EW支持35种以上 的8位/16位/32位的微处理器结构IAR Embedded Workbench集成的编译器主要产品特征:•高效PROMable代码-完全标准C兼容•内建对应芯片的程序速度和大小优化器•目标特性扩充•版本控制和扩展工具支持良好•便捷的中断处理和模拟•瓶颈性能分析•高效浮点支持•内存模式选择•工程中相对路径支持1.IAR安装如同Windows操作系统其它一般的软件安装一样,双击setup.exe进行安装,你顶 Install-., „ 一 se— IAREmbeddedYVorkbencfi? , „ “一将会看到如图1.1的界面,双击 ,如图1.2所示。
图1.1 IAR安装界面F IAR SysteniE. Product Setuplpusw」.oMpgpCLIqwIJJ比< I Cancel图1.2 IAR安装界面单击“Next”至下一步,如图1.3所示。
]ARSystems Product SetupIAR Systems Software License AgreementeiARSYSTEMSPress the PAGE DOWN ke^J to see the rest of the agreementSOFTWARE LICENSE AGREEMENT[concerning Products: IAR Embedded Workbench[RvisualSTATE[R] and IA.R PmerPac(TM)) from IAR Systems ABPREAMBLETHIS SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT"]APPLIES TO PRODUCTS LICENSED BYIAR SYSTEMS AB INCLUDING ANYOFITSSUBSIDIARIES ("IAR SYSTEMS"] OR DISTRIBUTORS ("IAR DISTRIBUTORS'!TO 「Do 忡 accept all the terms of this Licerise Agreement? If jjou don't accept the iristsllstiori is cancelled. T o install IAR Embedded Workbench for MCS-51, vou must have read, understood,, and accepted thia agreement.Ins tallS hield < Back AcceptCancel图1.3单击“Accept”至下一步,分别需要填写你的名字、公司以及认证序列,如图1.4所示。
IAR Systems Product SetupEnter User Information®IARSYST 匚 MSEnter your name^ the name oF your company, and ^our IAR E rnbedded Workbench for MCS-51 license number.Name: |个人用户Company: I电子工程学院The license number can be found on the CD cover.Licersett: |2437-G49-GGG-4819I ns tallS hield < Back Next > I CancelIA.R Systems Product SetupEnter License KeyWARSYSTEMSThe license key can be either your Quick Start key or ^our permanent ke^.IJ you enler the QuickS tart kev (found on the CD cover), you have 30 days to try the product out.IJ you have received the permanent key via emaiL you it into the License Key teKtbow.INS57SPMTX0WA9DK4TVFC9W/FV26C9GUYDZ2SOIE879DRU5WNU5G1NV8DIIIRRT4HVSUTRBFIIEWOG9T3SWHR61NIO0JJVENZQYU1BCQIMHVRWDDP2BMRTKCDBXTMJ Fl DU NI 口 LXTM3ZIR Aid N FCI41 FLWvKH 535IF4IJ Fl □ B Fl G M1 Fl B L SNLM1UXCI XttIn stallS hieldLicense tt: |2437-649-666-4019License Key:Browse...Read License Key Frorri File< BackN extCancel图1.4 序列号输入打开 keygen.exe , Product 选择 “Embedded Workbench For MCS - 51 v7.50A ",然后点击 “Get ID ",点击 “Generate "产生 License number 和 License key 复制 License number 填入“License#",单击 “Next "至下一步,复制'License key"包括最后的“#"填入"License key", “Read License Key From File"不用 选择,如图1.5所示。
IA R 5ui史旦 KeygenL Productt Embedded Workbench For MCS -51 v7.50.Al H osH D0x2761ALicenae number2+37-649-666-4019M S57SFM TXSWA3D IC.4TVF 匚 3WXVFVW 6C3G UYDZ2 SOIES 73D R U 5WN U 5 质 1 NV9DIIIRR I 4HM&U I RSI-IIEV/0G9T3SVWHHG1 NlOSJJVbNZQYUl BCQI CXR HVRWDDPaD MF1TKCD GXINUROUNIOLX/MZO RAMNFO 41FLWVKI 15 n5IP4I.IFl CIBFIQM1 HR LSZLM1 UXOXtt输入的认证序列以及序列钥匙正确后,单击“Next”到下一步如图1.6所示,图1.6 选择安装路径单击“Next”到下一步,你将选择完全安装或是典型安装,在这里我们选择Full 也就是完全安装F I I 'IARSystems Producrt SetupInstallation TppeSYSTEMSSelect the type of installation you want to perJorm.G Full All comporent?啊ill be installed. R ecammended for on口浅 users.L Custorri You choose the components you want to install. Recornmeridedfor eMperienced users.i r loidiid r nuiu< Back Newt> Carc&l图1.7 选择安装类型在这里你将查证已输入的信息是否正确,如图1.8所示。
如果需要修改,单击“Back”返回即可修改图1.8.1查证信息是否正确IARSystems Producrt SetupReview Settings Before Copying FilesSetup has enough information to start copying the program files. If jjou want to change any settings, click Back. If you are satisfied with the settings, click Nest to begin copying files.User 1 nforrnation 个人用户 电子工程学院License Number 2437-649-66 6-4E19_IInstallation FolderC:\Program FilesMAR SpsteniAE mbedded Workbench 5.34卜Current Settings:图1.8.2查证信息是否正确单击“ Next ”正式开始安装在这你将看到安装进度,这将需要几分钟时间的等待,现 在你需要耐心等待。
当进度到100%时,它将跳到下一个界面,如图1.9。