




已阅读5页,还剩20页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第1页外文文献资料收集:苏州大学应用技术学院11电子(1116405006)姚瑞东WhatistheARMCortex-M3processor?Themicrocontrollermarketisvast,withover20billiondevicesperyearestimatedtobeshippedin2010.Abewilderingarrayofvendors,devices,andarchitecturesarecompetinginthismarket.Therequirementforhigher-performancemicrocontrollershasbeendrivengloballybytheindustryschangingneeds;forexample,microcontrollersarerequiredtohandlemoreworkwithoutincreasingaproductsfrequencyorpower.Inaddition,microcontrollersarebecomingincreasinglyconnected,whetherbyUniversalSerialBus(USB),Ethernet,orWirelessRadio,andhencetheprocessingneededtosupportthesecommunicationschannelsandadvancedperipheralsisgrowing.Similarly,generalapplicationcomplexityisontheincrease,drivenbymoresophisticateduserinterfaces,multimediarequirements,systemspeed,andconvergenceoffunctionalities.TheARMCortex-M3processor,thefirstoftheCortexgenerationofprocessorsreleasedbyARMin2006,wasprimarilydesignedtotargetthe32-bitmicrocontrollermarket.TheCortex-M3processorprovidesexcellentperformanceatlowgatecountandcomeswithmanynewfeaturespreviouslyavailableonlyinhigh-endprocessors.TheCortex-M3addressesthenewfeaturespreviouslyavailableonlyinhigh-endprocessors.TheCortex-M3addressestherequirementsforthe32-bitembeddedprocessormarketinthefollowingways:Greaterperformanceefficiency,allowingmoreworktobedonewithoutincreasingthefrequencyorpowerrequirements.Lowpowerconsumption,enablinglongerbatterylife,especiallycriticalinportableproductsincludingwirelessnetworkingapplications.Enhanceddeterminism,guaranteeingthatcriticaltasksandinterruptsareservicedasquicklyaspossiblebutinaknownnumberofcycles.Improvedcodedensity,ensuringthatcodefitsineventhesmallestmemoryfootprints.Easeofuse,providingeasierprogrammabilityanddebuggingforthegrowingnumberof8-bitand16-bitusersmigratingto32-bit.Lower-costsolutions,reducing32-bit-basedsystemcostsclosetothoseoflegacy8-bitand16-bitdevicesandenablinglow-end,32-bitmicrocontrollerstobepricedatlessthanUS$1forthefirsttime.Widechoiceofdevelopmenttools,fromlow-costorfreecompilerstofull-featureddevelopmentsuites苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第2页frommanydevelopmenttoolvendors.MicrocontrollersbasedontheCortex-M3processoralreadycompetehead-onwithdevicesbasedonawidevarietyofotherarchitectures.Designersareincreasinglylookingatreducingthesystemcost,asopposedtothetraditionaldevicecost.Assuch,organizationsareimplementingdeviceaggregation,wherebyasingle,morepowerfuldevicecanpotentiallyreplacethreeorfourtraditional8-bitdevices.Othercostsavingscanbeachievedbyimprovingtheamountofcodereuseacrossallsystems.SinceCortex-M3processor-basedmicrocontrollerscanbeeasilyprogrammedusingtheClanguageandarebasedonawell-establishedarchitecture,applicationcodecanbeportedandreusedeasily,reducingdevelopmenttimeandtestingcosts.ItisworthwhilehighlightingthattheCortex-M3processorisnotthefirstARMprocessortobeusedtocreategenericmicrocontrollers.ThevenerableARM7processorhasbeenverysuccessfulinthismarket,withpartnerssuchasNXP(Philips),TexasInstruments,Atmel,OKI,andmanyothervendorsdeliveringrobust32-bitMicrocontrollerUnits(MCU).TheARM7isthemostwidelyused32-bitembeddedprocessorinhistory,withover1billionprocessorsproducedeachyearinahugevarietyofelectronicproducts,frommobilephonestocars.TheCortex-M3processorivscortex-M3-BasedMCUTheCortex-M3processoristhecentralprocessingunit(CPU)ofamicrocontrollerchip.Inaddition,anumberofothercomponentsarerequiredforthewholeCortex-M3processor-basedmicrocontroller.AfterchipmanufacturerslicensetheCortex-M3processor,theycanputtheCortex-M3processorintheirsilicondesigns,addingmemory,peripherals,input/output(I/O),andotherfeatures.Cortex-M3processor-basedchipsfromdifferentmanufacturerswillhavedifferentmemorysizes,types,peripherals,andfeatures.Thisbookfocusesonthearchitectureoftheprocessorcore.Fordetailsabouttherestofthechip,pleasechecktheparticularchipmanufacturersdocumentation.Figure1Cortex-M3苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第3页BackgroundofARMandARMArchitectureABriefHistoryTohelpyouunderstandthevariationsofARMprocessorsandarchitectureversions,letslookatalittlebitofARMhistory.ARMwasformedin1990asAdvancedRISCMachinesLtd.,ajointventureofAppleComputer,AcornComputerGroup,andVLSITechnology.In1991,ARMintroducedtheARM6processorfamily,andVLSIbecametheinitiallicensee.Subsequently,additionalcompanies,includingTexasInstruments,NEC,Sharp,andSTMicroelectronics,licensedtheARMprocessordesigns,extendingtheapplicationsofARMprocessorsintomobilephones,computerharddisks,personaldigitalassistants(PDASs),homeentertainmentsystems,andmanyotherconsumerproducts.NowadaysARMpartnersshipinexcessof2billionARMprocessorseachyear.Unlikemanysemiconductorcompanies,ARMdoesnotmanufactureprocessorsorsellthechipsdirectly.Instead,ARMlicensestheprocessordesignstobusinesspartners,includingamajorityoftheworldsleadingsemiconductorcompanies.BasedontheARMlow-costandpower-efficientprocessordesigns,thesepartnerscreatetheirprocessors,microcontrollers,andsystem-on-chipsolutions.Thisbusinessmodeliscommonlycalledintellectualproperty(IP)licensing.Inadditiontoprocessordesigns,ARMalsolicensessystems-levelIPandvarioussoftwareIP.Tosupporttheseproducts,ARMhasdevelopedastrongbaseofdevelopmenttools,hardware,andsoftwareproductstoenablepartnerstodeveloptheirownproducts.ArchitectureVersionsOvertheyears,ARMhascontinuedtodevelopnewprocessorsandsystemblocks.TheseincludethepopularARM7TDMIprocessorand,morerecently,theARM1176TZ(F)-Sprocessor,whichisusedinhigh-endapplicationssuchassmartphones.TheevolutionoffeaturesandenhancementstotheprocessorsovertimehasledtosuccessiveversionsoftheARMarchitecture.Notethatarchitectureversionnumbersareindependentfromprocessornames.Forexample,theARM7TDMIprocessorisbasedontheARMv4Tarchitecture(theTisforThumbinstructionmodesupport).TheARMv5EarchitecturewasintroducedwiththeARM9Eprocessorfamilies,includingtheARM926E-SandARM946E-Sprocessors.Thisarchitectureadded“Enhanced”DigitalSignalProcessing(DSP)instructionsformultimediaapplications.WiththearrivaloftheARM11processorfamily,thearchitecturewasextendedtotheARMv6.NewfeaturesinthisarchitectureincludedmemorysystemfeaturesandSingleInstruction-MultipleData(SIMD)instructions.ProcessorsbasedontheARMv6architectureincludetheARM1136J(F)-S,theARM1156T2(F)-苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第4页S,andtheARM1176JZ(F)-S.FollowingtheintroductionoftheARM11family,itwasdecidedthatmanyofthenewtechnologies,suchastheoptimizedThumb-2instructionset,werejustasapplicabletothelower-costmarketsofmicrocontrollerandautomotivecomponents.ItwasalsodecidedthatalthoughthearchitectureneededtobeconsistentfromthelowestMCUtothehighest-performanceapplicationprocessor,therewasaneedtodeliverprocessorarchitecturesthatbestfitapplications,enablingverydeterministicandlowgatecountprocessorsforcost-sensitivemarketsandfeature-richandhigh-performanceonesforhigh-endapplications.Overthepastseveralyears,ARMextendeditsproductportfoliobydiversifyingitsCPUdevelopment,whichresultedinthearchitectureversion7,orv7.Inthisversion,thearchitecturedesignisdividedintothreeprofiles:TheAprofile,designedforhigh-performanceopenapplicationplatformsTheRprofile,designedforhigh-endembeddedsystemsinwhichreal-timeperformanceisneededTheMprofile,designedfordeeplyembeddedmicrocontroller-typesystemsLetslookattheseprofilesinabitmoredetail:AProfile(ARMv7-A):Applicationprocessorsrequiredtoruncomplexapplicationssuchashigh-endembeddedoperatingsystems(OS),suchasSym,Linux,andWindowsEmbedded,requiringthehighestprocessingpower,virtualmemorysystemsupportwithMemoryManagementUnits(MMU),and,optionally,enhancedJavasupportandasecureprogramexecutionenvironment.Exampleproductsincludehigh-endmobilephonesandelectronicwalletsforfinancialtransactions.RProfile(ARMv7-R):Real-time,high-performanceprocessorstargetedprimarilyatthehigherendofthereal-time1market-thoseapplications,suchashigh-endbreakingsystemsandharddrivecontrollers,inwhichhighprocessingpowerandhighreliabilityareessentialandforwhichlowlatencyisimportant.MProfile(ARMv7-M):Processorstargetinglow-costapplicationsinwhichprocessingefficiencyisimportantandcost,powerconsumption,lowinterruptlatency,andeaseofusearecritical,aswellasindustrialcontrolapplications,includingreal-timecontrolTheCortexprocessorfamiliesarethefirstproductsdevelopedonarchitecturev7,andtheCortex-M3processorisbasedononeprofileofthev7architecture,calledARMv7-M,anarchitecturespecificationformicrocontrollerproducts.ThisbookfocusesontheCortex-M3processor,butitisonlyoneoftheCortexproductfamilythatusestheARMv7architecture.OtherCortexfamilyprocessorsincludetheCortex-A8(applicationprocessor),whichisbasedontheARMv7-Aprofile,andtheCortex-R4(real-timeprocessor),basedontheARMv7-Rprofile.苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第5页Figure1.2TheEvolutionofARMProcessorArchitectureThedetailsoftheARMv7-MarchitecturearedocumentedinTheARMv7-MArchitectureApplicationLevelReferenceManual(Ref2).ThisdocumentcanbeobtainedviatheARMWebsitethroughasimpleregistrationprocess.TheARMv7-Marchitecturecontainsthefollowingkeyareas:ProgrammersmodelInstructionsetMemorymodelDebugarchitectureProcessor-specificinformation,suchasinterfacedetailsandtiming,isdocumentedintheCortex-M3TechnicalReferenceManual(TRM)(Ref1).ThismanualcanbeaccessedfreelyontheARMWebsite.TheCortex-M3TRMalsocoversanumberofimplementationdetailsnotcoveredbythearchitecturespecifications,suchasthelistofsupportedinstructions,becausesomeoftheinstructionscoveredintheARMv7-MarchitecturespecificationareoptionalonARMv7-Mdevices.ProcessorNamingTraditionally,ARMusedanumberingschemetonameprocessors.Intheearlydays(the1990s),suffixeswerealsousedtoindicatefeaturesontheprocessors.Forexample,withtheARM7TDMIprocessor,theTindicatesThumbinstructionsupport,DindicatesJTAGdebugging,Mindicatesfastmultiplier,andIindicatesanembeddedICEmodule.SubsequentlyitwasdecidedthatthesefeaturesshouldbecomestandardfeaturesoffutureARMprocessors;therefore,thesesuffixesarenolongeraddedtothenewprocessorfamilynames.Instead,variationsonmemoryinterface,cache,andTightlyCoupledMemory(TCM)havecreatedanewschemeforprocessornaming.Forexample,ARMprocessorswithcacheandMMUarenowgiventhesuffix“26”or“36,”whereasprocessorswithMemoryProtectionUnits(MPU)aregiventhesuffix“46”(e.g.,ARM946E-S).Inaddition,othersuffixesareaddedtoindicatesynthesizable2(S)andJazelleJAZELLE(J)technology.Table1.1presentsasummaryofprocessornames.苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第6页Withversion7ofthearchitecture,ARMhasmigratedawayfromthesecomplexnumberingschemesthatneededtobedecoded,movingtoaconsistentnamingforfamiliesofprocessors,withCortexitsinitialbrand.Inadditiontoillustratingthecompatibilityacrossprocessors,thissystemremovesconfusionbetweenarchitecturalversionandprocessorfamilynumber;forexample,theARM7TDMIisnotav7processorbutwasbasedonthev4Tarchitecture.InstructionSetDevelopmentEnhancementandextensionofinstructionsetsusedbytheARMprocessorshasbeenoneofthekeydrivingforcesofthearchitecturesevolution.Historically(sinceARM7TDMI),twodifferentinstructionsetsaresupportedontheARMprocessor:theARMinstructionsthatare32-bitandThumbinstructionsthatare16-bit.Duringprogramexecution,theprocessorcanbedynamicallyswitchedbetweentheARMstateortheThumbstatetouseeitheroneoftheinstructionsets.TheThumbinstructionsetprovidesonlyasubsetoftheARMinstructions,butitcanprovidehighercodedensity.Itisusefulforproductswithtightmemoryrequirements.Asthearchitectureversionhasbeenupdated,extrainstructionshavebeenaddedtobothARMinstructionsandtheThumbinstructions.AppendixIIprovidessomeinformationonthechangeofThumbinstructionsduringthearchitectureenhancements.In2003,ARMannouncedtheThumb-2instructionset,whichisanewsupersetofThumbinstructionsthatcontainsboth16-bitand32-bitinstructions.ThedetailsoftheinstructionsetareprovidedinadocumentcalledTheARMArchitectureReferenceManual(alsoknownastheARM).ThismanualhasbeenupdatedfortheARMv5architecture,theARMv6architecture,andtheARMv7architecture.FortheARMv7architecture,duetoitsgrowthintodifferentprofiles,thespecificationisalsosplitintodifferentdocuments.ForCortex-M3developers,theARMv7-MArchitectureApplicationLevelReferenceManual(Ref2)coversalltherequiredinstructionsetdetails.TheThumb-2InstructionSetArchitecture(ISA)TheThumb-23ISAisahighlyefficientandpowerfulinstructionsetthatdeliverssignificantbenefitsintermsofeaseofuse,codesize,andperformance.TheThumb-2instructionsetisasupersetoftheprevious16-bitThumbinstructionset,withadditional16-bitinstructionsalongside32-bitinstructions.ItallowsmorecomplexoperationstobecarriedoutintheThumbstate,thusallowinghigherefficiencybyreducingthenumberofstatesswitchingbetweenARM苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第7页Figure1.43TherelationshipBetweentheThumb-2InstructionSetandtheThumbInstructionSetFocusedonsmallmemorysystemdevicessuchasmicrocontrollersandreducingthesizeoftheprocessor,theCortex-M3supportsonlytheThumb-2(andtraditionalThumb)instructionset.InsteadofusingARMinstructionsforsomeoperations,asintraditionalARMprocessors,itusestheThumb-2instructionsetforalloperations.Asaresult,theCortex-M3processorisnotbackwardcompatiblewithtraditionalARMprocessors.Thatis,youcannotrunabinaryimageforARM7processorsontheCortex-M3processor.Nevertheless,theCortex-M3processorcanexecutealmostallthe16-bitThumbinstructions,includingall16-bitThumbinstructionssupportedonARM7familyprocessors,makingapplicationportingeasy.Withsupportforboth16-bitand32-bitinstructionsintheThumb-2instructionsset,thereisnoneedtoswitchtheprocessorbetweenThumbstate(16-bitinstructions)andARMstate(32-bitinstructions).Forexample,inARM7orARM9familyprocessors,youmightneedtoswitchtoARMstateifyouwanttocarryoutcomplexcalculationsoralargenumberofconditionaloperationsandgoodperformanceisneeded;whereasintheCortex-M3processoryoucanmix32-bitinstructionswith16-bitinstructionswithoutswitchingstate,gettinghighcodedensityandhighperformancewithnoextracomplexity.TheThumb-2instructionsetisaveryimportantfeatureoftheARMv7architecture.ComparedwiththeinstructionssupportedonARM7familyprocessors(ARMv4Tarchitecture),theCortex-M3processorinstructionsethasalargenumberofnewfeatures.Forthefirsttime,hardwaredivideinstructionisavailableonanARMprocessor,andanumberofmultiplyinstructionsarealsoavailableontheCortex-M3processortoimprovedata-crunchingperformance.TheCortex-M3processoralsosupportsunaligneddataaccesses,afeaturepreviouslyavailableonlyinhigh-endprocessors.Cortex-M3ProcessorApplicationsWithitshighperformanceandhighcodedensityandsmallsiliconfootprinttheCortex-M3processorisidealforawidevarietyofapplications:苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第8页Low-costmicrocontrollers:TheCortex-M3processorisideallysuitedforlow-costmicrocontrollers,whicharecommonlyusedinconsumerproducts,fromtoystoelectricalappliances.Itisahighlycompetitivemarketduetothemanywell-known8-bitand16-bitmicrocontrollerproductsonthemarket.Itslowerpower,highperformance,andease-of-useadvantagesenableembeddeddeveloperstomigrateto32-bitsystemsanddevelopproductswiththeARMarchitecture.Automotive:AnotheridealapplicationfortheCortex-M3processorisintheautomotiveindustry.TheCortex-M3processorhasveryhigh-performanceefficiencyandlowinterruptlatency,allowingittobeusedinreal-timesystems.TheCortex-M3processorsupportsupto240externalvectoredinterrupts,withabuilt-ininterruptcontrollerwithnestedinterruptsupportsandanoptionalmemoryprotectionunit,makingitidealforhighlyintegratedandcost-sensitiveautomotiveapplications.Datacommunications:Theprocessorslowpowerandhighefficiency,coupledwithThumb-2instructionsforbit-fieldmanipulation,maketheCortex-M3idealformanycommunicationsapplications,suchasBluetoothandZigBeeZIGBEE.Industrialcontrol:Inindustrialcontrolapplications,simplicity,fastresponse,andreliabilityarekeyfactors.Again,theCortex-M3processorsinterruptfeature,lowinterruptlatency,andenhancedfault-handlingfeaturesmakeitastrongcandidateinthisarea.Consumerproducts:Inmanyconsumerproducts,ahigh-performancemicroprocessor(orseveralofthem)isused.TheCortex-M3processor,beingasmallprocessor,ishighlyefficientandlowinpowerandsupportsanMPUenablingcomplexsoftwaretoexecutewhileprovidingrobustmemoryprotection.TherearealreadymanyCortex-M3processor-basedproductsavailableinthemarket,includinglow-endproductspricedaslowasUS$1,makingthecostofARMmicrocontrollerscomparabletoorlowerthanthatofmany8-bitmicrocontrollers.OrganizationofThisBookThisbookcontainsageneraloverviewoftheCortex-M3processor,withtherestofthecontentsdividedintoanumberofsections:Chapters1and2,IntroductionandOverviewoftheCortex-M3Chapters3-6,Cortex-M3BasicsChapters7-9,ExceptionsandInterruptsChapters10and11,Cortex-M3ProgrammingChapters12-14,Cortex-M3HardwareFeaturesChapters15and16,DebugSupportsinCortex-M3Chapters17-20,ApplicationDevelopmentwithCortex-M3苏州大学本科生毕业设计(论文)附件:外文文献资料与中文翻译稿第9页FurtherReadingsThisbookdoesnotcontainallthetechnicaldetailsontheCortex-M3processor.ItisintendedtobeastarterguideforpeoplewhoarenewtotheCortex-M3processorandasupplementalreferenceforpeopleusingCortex-M3processor-basedmicrocontrollers.TogetfurtherdetailontheCortex-M3processor,thefollowingdocuments,availablefromARM()andARMpartnerWebsites,shouldcovermostnecessarydetails:TheCortex-M3TechnicalReferenceManual(TRM)(Ref1)providesdetailedinformationabouttheprocessor,includingprogrammersmodel,memorymap,andinstructiontiming.TheARMv7-MArchitectureApplicationLevelRefewnceManual(Ref2)containsdetailedinformationabouttheinstructionsetandthememorymodel.RefertodatasheetsfortheCortex-M3processor-basedmicrocontrollerproducts;visitthemanufacturerWebsiteforthedatasheetsontheCortex-M3processor-basedproductyouplantouse.RefertoAMBASpecification2.0(Ref4)formoredetailregardinginternalAMBAinterfacebusprotocoldetails.CprogrammingtipsforCortex-M3canbefoundintheARMApplicationNote179:Cortex-M3EmbeddedSoftwareDevelopment(Ref7).Thisbookassumesthatyoualreadyhavesomeknowledgeofandexperiencewithembeddedprogramming,preferablyusingARMprocessors.IfyouareamanagerorastudentwhowantstolearnthebasicswithoutspendingtoomuchtimereadingthewholebookortheTRM,Chapter2ofthisbookisagoodonetoread,sinceitprovidesasummaryontheCortex-M3processor.FundamentalsTheCortex-M3isa32-bitmicroprocessor.Ithasa32-bitdatapath,a32-bitregisterbank,and32-bitmemoryinterfaces.TheprocessorhasaHarvardarchitecture,whichm
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 家装水电安装合同范本
- 光纤熔接工程外包劳务合同
- 承租机械设备租赁合同
- 提高办公效率的策略与方法研究
- 2025年青海货运从业资格证考试500题
- 出租房房屋租赁合同
- 个人加工合同协议书
- 抗滑桩基础劳务施工合同
- 股份制公司运营优化方案
- 2025年黑龙江货运从业资格证模拟考试题库及答案大全
- Unit5 What day is it today?(教学设计)-2023-2024学年教科版(广州)英语四年级下册
- 《网络信息安全教学》课件
- 徐州2025年江苏徐州市口腔医院招聘非在编医务人员53人笔试历年参考题库附带答案详解-1
- 2025年01月2025中国作家协会所属单位公开招聘11人笔试历年典型考题(历年真题考点)解题思路附带答案详解
- 影视制作项目委托制作协议
- 用色彩情感引发共鸣社交媒体运营秘诀
- 广东2024年12月佛山市教育局公开选调1名公务员笔试历年典型考题(历年真题考点)解题思路附带答案详解
- 植物角创设培训
- 法院生活费申请书
- 2025年湖南工艺美术职业学院高职单招职业技能测试近5年常考版参考题库含答案解析
- 【课件】学校后勤管理工作
评论
0/150
提交评论