欢迎来到天天文库
浏览记录
ID:39138311
大小:2.22 MB
页数:35页
时间:2019-06-25
《lec-into_to_prog_embedded_systems》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、IntroductiontoProgrammingEmbeddedSystemsSebastianFischmeistersfischme@seas.upenn.eduDepartmentofComputerandInformationScienceUniversityofPennsylvania1GoalsRoughunderstandingoftheunderlyinghardware.Understandhowtodevelopsoftwareforthelabplatform.CSE480/CIS700S.Fischmeister21WhatisAnEmbeddedSy
2、stem?Ageneral-purposedefinitionofembeddedsystemsisthattheyaredevicesusedtocontrol,monitororassisttheoperationofequipment,machineryorplant.“Embedded”reflectsthefactthattheyareanintegralpartofthesystem.Inmanycases,their“embeddedness”maybesuchthattheirpresenceisfarfromobvioustothecasualobserver.I
3、nstituteofElectricalEngineers(IEE)CSE480/CIS700S.Fischmeister3ForUsPIC18F2680o3,328BRAMo64kBROMo1.024BEEPROMo5MIPS@20MHzoA/Dconverterso1xUARTo1x8bitTimero3x16bitTimerCSE480/CIS700S.Fischmeister42WilluseinthePICDEM2boardtoBlinkLEDsControlanLCDdisplayCommunicateviatheseriallinewithaPCCommun
4、icateviatheCANprotocolwithothermicrochipsDriveasteppermotorCSE480/CIS700S.Fischmeister5UseitfurthertoControlamodularrobot:CSE480/CIS700S.Fischmeister63TheHardware7AMicroprocessorIntroducedasaprogrammablereplacementforlogic-basedcircuitsinthe1970s.Advantagescomparedtologic-basedcircuits:oPr
5、ovidefunctionalupgrades(e.g.,addnewfeaturetomachinetoolafterdeployment)oProvideeasymaintenanceupgrades(e.g.,fixabuginthecellphoneviaanSMSfirmwareupgrade)oLessfragile(e.g.,insteadofhundredsdiscretelogicchipsandwiringonlyonemicroprocessor)oProtectionofintellectualproperty(itismoredifficulttocopy
6、softwareburntintheon-chipmemorythantocheckthepartnumbersandthewiring)CSE480/CIS700S.Fischmeister84WhatmakesaMicroprocessor?ProcessoroAnarithmeticlogicunit(ALU)forprocessing.MemoryoPermanentmemoryforkeepingtheprogram(=ROM)oVolatilememoryforcomputation(=RAM)oRewritablepermanentmemoryforlogging
7、,tuning,storingintermediatedata(=EEPROM)ConnectivitytoperipheralsoBinaryoutputsviasinglechippinsoIntegratedasynchronousandsynchronousserialinterfacessuchasUART,I2C,RS232,CANCSE480/CIS700S.Fischmeister9WhatmakesaMicroprocessor?TimersoE
此文档下载收益归作者所有
点击更多查看相关文章~~