题目:PC机与嵌入式开发板串口通信的设计与编程实现摘要随着嵌入式系统的发展和大规模应用,为了提升系统的整体性能,必须实现PC机和嵌入式计算机之间的通信。在实际开发应用中,串口通信是不可缺少的部分,是目前嵌入式系统与PC机之间一种非常重要而且普遍应用的通信方式。本文通过基于2410F的嵌入式串口通信的实现,按照嵌入式系统的软、硬件结构组成,较为详细地介绍了串口通信的硬件电路和软件实现方法。该系统的硬件主体设计以三星S3C2410处理器为核心控制器件,通过与计算机串口间的连接,实现在ARM平台上与外部设备通信的基本功能。关键词:嵌入式系统;2410F;串口通信;Linux系统ABSTRACTAlongwiththedevelopmentofembeddedsystemandapplicationscale,thecommunicationbetweenthePCandembeddedcomputermustbeachievedinordertoimprovethewholeperformanceofthesystem.Intheactualdevelopmentapplication,serialcommunicationisanessentialpart.Anditisaveryimportantanduniversalmode.Inthispaper,basedonthe2410Ftherealizationofembeddedserialcommunication,accordingtotheembeddedsystemsoftwareandhardwarestructure,amoredetaileddescriptionoftheserialcommunicationhardwareandsoftwaremethods.TheprincipalpartofthehardwareinthissystemischieflycontrolledbyS3C2410processor,whichisproducedbySAMSUNGCompany,communicatedwiththeserialofcomputer,thissystemrealizesthebasedfunctionofvisitingexteriordevice,whichisonthebasedofARM.Keywords:embeddedsystem;2410F;serialcommunication;Linuxsystem目录摘要.........................................................................................................IABSTRACT..............................................................................................II1绪论.....................................................................................................11.1串口通信概述......................................................................................11.2串口通信的原理..................................................................................11.3串口通信的开发工具..........................................................................21.3.12410F硬件平台简介........................................................................21.3.2ARM简介.........................................................................................21.3.3Linux系统简介.................................................................................31.4串口通信的基本任务..........................................................................42串口通信协议及实现.............................................................................52.1RS-232C标准......................................................................................52.2系统硬件结构原理............................................................................103串口驱动程序设计...............................................................................123.1串口操作需要的头文件....................................................................123.2打开串口............................................................................................123.3串口设置............................................................................................123.4串口读写............................................................................................153.5关闭串口............................................................................................164设计验证与测试...........................................................................