文档详情

51单片机文献+翻译.pdf

发布:2025-03-12约1.09万字共6页下载文档
文本预览下载声明

GettingStartedwithµVision2

TheKeilSoftware8051developmenttoolslistedbelowareprogramsyouusetocompile

yourCcode,assembleyourassemblysourcefiles,linkandlocateobjectmodulesand

libraries,createHEXfiles,anddebugyourtargetprogram.

Vision2forWindowsisanIntegratedDevelopmentEnvironmentthatcombines

projectmanagement,sourcecodeediting,andprogramdebugginginonesingle,powerful

environment.

TheC51ANSIOptimizingCCrossCompilercreatesrelocatableobjectmodulesfrom

yourCsourcecode.

TheA51MacroAssemblercreatesrelocatableobjectmodulesfromyour8051assembly

sourcecode.

TheBL51Linker/LocatorcombinesrelocatableobjectmodulescreatedbytheC51

CompilerandtheA51Assemblerintoabsoluteobjectmodules.

TheLIB51LibraryManagercombinesobjectmodulesintolibrariesthatmaybeusedby

thelinker.

TheOH51Object-HEXConvertercreatesIntelHEXfilesfromabsoluteobjectmodules.

TheRTX-51Real-timeOperatingSystemsimplifiesthedesignofcomplex,time-critical

softwareprojects.

SoftwareDevelopmentCycle

WhenyouusetheKeilSoftwaretools,theprojectdevelopmentcycleisroughlythesame

asitisforanyothersoftwaredevelopmentproject.

1.Createaproject,selectthetargetchipfromthedevicedatabase,andconfigurethetool

settings.

2.CreatesourcefilesinCorassembly.

3.Buildyourapplicationwiththeprojectmanager.

4.Correcterrorsinsourcefiles.

5.Testthelinkedapplication.

µVision2IDE

TheµVision2IDEcombinesprojectmanagement,arich-featurededitorwithinteractive

errorcorrection,optionsetup,makefacility,andon-linehelp.UseµVision2tocreateyour

sourcefilesandorganizethemintoaprojectthatdefinesyourtargetapplication.µVision2

automaticallycompiles,assembles,andlinksyourembeddedapplicationandprovidesa

singlefocalpointforyourdevelopmentefforts.

LIB51LibraryManager

TheLIB51librarym

显示全部
相似文档