太原工业学院毕业论文I单片机实训教学仿真系统的设计与开发摘要随着单片机在人们日常生活中各个领域得到广泛的应用,单片机课程也在各大高校普遍开设,学好单片机课程理所当然,但与单片机相关的课程学习的过程实验必不可少,故构建低成本、技术先进、易更新的单片机实验教学仿真系统,对单片机课程教学和人才的培养有重大的现实意义。由于在学习单片机课程的时候涉及到仿真、编程与实验,故该单片机实验教学仿真系统的设计思想是采用模块化结构设计思想,集仿真、编程、实验于一体,可以进行系统全面的单片机实验项目的学习,有利于实验者进行自主开发实验,有利于培养学生的创新精神和创造能力。该单片机实验教学仿真系统的设计与开发是由单片机主板上集成多个硬件资源模块组成,每个模块各自可以成为独立的单元,也可以相互组合,当然集成的模块离不开设计思想,主要是ISP在线系统编程部分、单片机仿真部分和单片机基本实验部分。因此,可以为不同阶层的单片机学习者及单片机开发者提供不同的开发环境,并根据单片机课程实验教学的内容给出典型的实验例程。开发与设计、及调试的过程软件是必不可少的部分,其中涉及到的有KeiluVision2、Protues和Easy51Pro等。其中KeiluVision2用于编程和仿真,Protues用于仿真,Easy51Pro在ISP在系统编程时用到,是上位机软件,和ISP下载线连接实现在线编程。根据设计的总体思想本文将展开的工作大体有:系统的功能描述、MCU的选型、各功能模块原理的介绍及规划设计、相关软件简单的使用介绍以及一些相关的电路图,当然还有一些论文的后续工作。关键词:单片机、实验教学、仿真太原工业学院毕业论文IIDesignanddevelopmentofexperimentteachingsimulationsystemofMCUAbstractWiththewidelyapplicationofMCUintheeverydaylifeofpeopleinvariousfields,MCUisgenerallyopenedinUniversities,behoovetolearnmicrocontrollercourse.Buttheprocessofexperimentalstudyandcomputerrelatedcoursesinessential,Sotheconstructionofexperimentteachingsimulationsystemwithlowcost,advancedtechnology,easytoupdate,hereisgreatpracticalsignificancetocultivateMCUTeachingandtalent.InthetimeinlearningMCUcourseinvolvessimulation,programmingandexperiment,Sothedesignideasoftheexperimentteachingsimulationsystemisdesignedwithamodularstructurethought,settingsimulation,programming,experimentinone.CanbecarriedoutcomprehensiveMCUexperimentprojectlearning,Helpparticipantsdevelopedexperiment,Tocultivatethestudents'innovationspiritandcreativeability.DesignanddevelopmentofexperimentteachingsimulationsystemofMCUiscomposedofsinglechiponthemotherboardintegratedanumberofhardwareresourcesmodule,Eachmodulecanbeindependentoftheirrespectiveunits,canalsobecombinedwitheachother,MainlyisthebasicexperimentofISPonlinesystemprogramming,microcontrollersimulationandchippart,Therefore,canprovideadifferentdevelopmentenvironmentsfordifferentsectorsofthesinglechiplearnersandMCUdevelopers,andaccordingtotheexperimentalroutinesmicrocontrollercourseexperimentteachingcontentistypical.Developmentanddesign,andthedebuggingprocessofsoftwareisanessentialpartof,WhichreferstotheKeiluVision2,ProtuesandEasy51Pro,TheKeiluVision2isusedforprogrammingandsimulation,Protuesisusedforsimulation,Easy51ProusedinthesystemisprogrammedinISP,PCsoftware,andISPdownloadcableconnectedtorealizetheonlineprogramming,ccordingtothegeneralideaofthisdesignwillstartworkingeneralare:thefunctionofthesystemdescription,MCUselection,eachfunctionmoduledesign,introducetheprincipleandrelatedsoftwaresimpletouseisintroducedandsomerelatedcircuitdiagram,ofcourse,thefollow-upwork.Keywords:singlechipmicrocomputer,experimentteaching,simulation太原工业学院毕业论文目录第1章绪论........................................................................................................................11.1研究的背景及意义...................................................................................................11.2研究现状...................................................................................................................21.3本文的主要工作.......................................................................................................4第2章单片机实验教学仿真系统的总体设计..................................................................52.1实验平台的MCU选型...........................................................................................52.1.1选型原则........................................................................................................52.1.2SST89系列单片机性能简介.........................................................................62.2系统功能..................................................................................................................82.2.1在线仿真器功能.............................................................................................82.2.2ISP在系统编程功能......................................................................................92.2.3单片机实验教学功能.....................................................................................92.3软件开发环境——KeiluVision2.............................................................................92.3.1单片机程序的建立和仿真调试.....................................................................92.3.2KeiluVision2的使用....................................................................................102.4Protues的使用........................................................................................................17第3章主板电路的设计与实现........................................................................................233.1仿真器功能的设计.................................................................................................233.1.1仿真器功能设计方案的选择.......................................................................233.1.2单片机SST89E564RD作仿真器的工作原理............................................243.1.3仿真器功能的硬件设计...............................................................................253.1.4仿真监控程序SoftiCE的烧录....................................................................253.2ISP在线可编程功能设计.............................................