欢迎来到天天文库
浏览记录
ID:36783791
大小:1.15 MB
页数:62页
时间:2019-05-15
《掌上电脑SD卡接口技术的研究与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、华中科技大学硕士学位论文摘要针对适用于中低端用户的嵌入式掌上电脑解决方案的特点,对基于WindowsCE.NET操作系统的掌上电脑的SD卡接口的设计与实现开展深入的研究,主要集中在SD卡硬件接口的设计以及在WindowsCE.NET嵌入式操作系统中SD卡的检测、SD卡主机控制器驱动和中断控制服务程序实现等方面。研究对象为采用SamsungS3C2410AARM处理器的N30掌上电脑,其内部支持SD主控制器等接口,操作系统采用微软的WindowsCE.NET。SD卡的硬件接口通过通用的输入输出引脚连接,从而实现对标准SD卡接口的功能扩展。软件系统方面,首先,
2、需要完成WindowsCE.NET嵌入式操作系统的移植;其次,开发SD主机控制器驱动程序和中断服务程序,该驱动程序在初始化SD控制寄存器后,创建的中断服务程序处于等待状态,当有SD卡插入或拔出时,它要负责检测卡的类型并加载上层驱动程序;SD卡的插入或拔出通过外部中断,由中断服务程序进行识别和处理。为了解决SD卡多次插拔引起的系统宕机问题,采用软件延时采样和多次采样的方法来进行防抖动处理。测试结果表明,SD卡接口及其驱动程序在N30掌上电脑上工作正常,同时能够满足用户对系统存储空间的扩展要求;采用延时采样和多次采样的防抖动技术后,能够避开机械开关的抖动时间,
3、减少SD卡因多次插拔导致的系统宕机的频率。关键词:嵌入式系统,掌上电脑,安全数字卡,驱动程序,接口I华中科技大学硕士学位论文AbstractOnthebasisofsolutionandimplementationofembeddedPersonalDigitalAssistantdesignedspecificallyforsmallandmediumbusiness,thedesignandimplementationofSecureDigitalinterfaceofPersonalDigitalAssistantbasedonWindowsCE.N
4、ETisdone,whichfocusesonthedesignofhardwareinterfaceofSDcard,carddetectprogram,SDhostcontrollerdevicedriverandInterruptServicePrograminWindowsCE.NEToperationsystem,etc.ThehardwareplatformofN30PersonalDigitalAssistantestablisheduponSamsung’sS3C2410Amicroprocessor,whichcontainsSDcont
5、rolleritself.TheembeddedoperationsystemisWindowsCE.NET.ThestandardSDinterfacewasfunctionallyextendedusingGeneralPurposeInputandOutputpins.Astosoftware,theWindowsCE.NEToperationsystemmustbeportedtoARMplatformatfirst.ThenthedevicedriverofSDinterfaceisdeveloped.AfterinitializationofS
6、DcontrollerregistersofSDhost,thedevicedriverwaitforinsertofcards.Whencardispluggedinorpluggedout,thedetectionpinwilltriggersysteminterrupt,andthentheInterruptServiceProgramstartstodetectthestatusofcard.Thedevicedriverwillgetthetypeofinsertedcardandloadthedriverofitwhencardisplugge
7、din.Thedelay-samplingandmulti-samplingforde-bounceareemployedforthesystemcrashcausedbyplug-inandplug-outcardrepeatedly.ThetestresultsshowthatthedesignofSDinterfaceanditsdevicedriveronN30PDAworkwell,anditalsomeetsthestoragerequirementsfromusers,andthedelay-samplingandmulti-sampling
8、forde-bouncemissthede-bouncetimea
此文档下载收益归作者所有