《Keil-uVision3建立新工程的方法》由会员分享,可在线阅读,更多相关《Keil-uVision3建立新工程的方法(13页珍藏版)》请在金锄头文库上搜索。
1、Keil uVision3建立新工程的方法启动KEILprojectnew project选择保存目录选择保存目录选择单片机型号Select Pevic for Jarget Target 1CPVVendor Acer LaibsDtviceToolsetRat为 bameDescripti力力i:Acer Labs+r-1+十Ac telAroLx UTMCXlhunAnalog DevicesAjLcliQrChi psAikitl firelcsi 还金Cast, IncChipconClflL HicrocircaitiCybftriiietic Hicio Sys确定希勖 I XI
2、Vendor:AtimdLDevicsW89C52ToolsetC51-Uss Extended Linker 0J!51) iniU&d BLS1I* Use tended 息MS电mbler (AX5Lj instead o ASID&scriptien.ATS9C51ECAiaSC51B2AT39C51BDAI09C51RE2 kT09C51SHI)l AT8SC51SW AT8GC51SWAT8SC52AJ39CS5AT8SC55TOAT3SF51AiaSFK8051-based FulUy Static 24BHz CMOS controller with 32 I/i 3 Tim
3、er 5/C mint er i, 3 Intermpti/2 Priori ty Leviel q UAU, Thrit-Levl Pr Ogr am N e* Ory Lock, 8K BytftS Flash MefflOlyj 120 Bytes On-chip RAN福定 I取消帮助Select Device or Target r TargetCPU完成工程建立添加新的原文件添加原文件原文件后缀名为。C右键点击Project Work卬*I- 口| Target 1Source GroDpti on5 for Group Scmrcg &roup 1pen Iflap FF7Reb
4、uild targetBaild七建r专电 rjranslate Filelu.il!New GroupAdd Filcs 七Gx*np * Source Gr。? 1Manage ComponentsRmpw 桂 Group ? Source Group T and its; F liasInclude Depenieiici * s r ii点击 ADD FILES ooooooNew GroupAdd FliesGxonp 1 Souzce Grnaj 1*同回君郡ComptsRemove GroiUp Source Gr oup V uid itq FilsK IikclucLe De
5、p endeTici e e-III添加。C的原文件添加正常后编辑代码/关键字颜色JI Increriient ?indCti-l+Ion.I现在可以在编辑区输入代码程序完成(反复驱动P0-0 口亮灭)设置程序参数fc? newl - ff ision3 - 1D=、皿1 jin带您从事学单片机1箱1章51单片机基鼬知讯5*15”g)il Edit View:道。号星i学阖脑1AMProject W/arkspaM-LiTurret 1H 占 Sqiotc Grc 常I nftwL cproject| Jebug Flash Petipherals 工0cli5 VCS Nfindow Hgl
6、p New Project.Import |J Vi si ml Froj act., POp tn Frejtct.Close ProjectC oiftp ontrit Env i r 0nm B“Select Devi ce for Target ,* Target 1/Target 11 Target Tguild iarettRebuild all tar get files 1 D;g5slj】n带您从零学单片机上第1章151单片机基础知识设置频率设置输出文件设置生成HEX文件Options oe Target Target 1Device | Tsret Output | Li
7、stilus | C51| A51| BL51 Loc&t | BL51 Mise | Debug | Utilitis |Feld” f” Qbj七零.|旦则岂 of Executtble: p*lQ CrtAtt EK4cut&bl: . nwlV Debag Inform at i oR? Browse Inforrnati河与逗适区理 理x |kex-so二RC Crt4t Libru-y: . nwl. LIBF Cr*tt Batch FiltAfter HakP gp ffheTL Complete厂盯t Deb总i”Browse.,B Kun User Frogram 整Browse.确定取消Defaults帮助设置仿真(左为软件仿真,右为硬件仿真)编译程序显示无错误(ERROR),无警告(WARNING)邕1 5中W 园Build target 1 Target 1 compiling newl.c., Linking,.Program Size : data-1? - 0 xdata-0 code = 45 creatiaq i le from, newl.newl 一 口 Errorfv), 口 WDtninq(吕】3 | | BuildCommand_ Find In Ftes /保存程序文件。完成软件编译