基于at89s52usb下载线设计-design of usb download line base on at 89 s 52.docxVIP

基于at89s52usb下载线设计-design of usb download line base on at 89 s 52.docx

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于at89s52usb下载线设计-design of usb download line base on at 89 s 52

摘要本文设计了一种 USB 数据下载线,所设计的下载线,克服了传统并口下载线 的接口应用范围不广以及现在 USB 下载线需要驱动程序和下载软件的缺点。本文 从理论分析到实物制作,描述了基于 U 盘的下载线的实现方式。下载线采用了 USB 接口与计算机连接,在与计算机的设备描述中把 USB 下载线说明为一个 USB 磁盘,使用操作系统的 USB Disk 的驱动程序和文件操作命令,实现了无驱动、 无下载软件的下载线。最终的成品对用户来说,下载线是透明的,不需要驱动程 序,直接就可以使用,仅需要将 HEX 文件复制到下载线映射的磁盘即可将程序 写入对应的单片机中。这样,不仅解决了下载线的驱动程序的问题,还解决了下 载软件及对应操作的问题。论文在设计并制作下载线的过程中,对该系统的系统分析、系统功能的软硬 件划分进行阐述,对软件和硬件及对应的接口作出说明。在硬件上设计并实现了 单片机驱动 USB 接口和下载线接口的原理电路。论文在软件设计中,详细列举了 USB 设备开发过程,包括计算机与 USB 设备之间的协议、USB 设备开发流程和 USB 设备响应过程等。在 USB 磁盘实现过程中,不仅有 USB 设备响应、SCSI 命令、FAT 文件系统、 文件的写入和读出,还通过采用被下载程序的单片机虚拟 FLASH 存储器,把写 入 USB 磁盘的 HEX 文件格式转换为机器码并写入单片机对应的程序存储空间, 从而实现了程序文件写入计算机中的 USB 磁盘,实际实现单片机的程序的 ISP 下 载功能。其中,论文中对 HEX 文件进行了详细的描述,也采用程序实现了将 HEX 格式转换为机器码及对应的代码存储地址;对 AT89S 系列单片机的程序串行下载 指令和波形进行分析,编写了对应的 ISP 下载驱动程序。关键词:下载线,U 盘,单片机ABSTRACTABSTRACTThe download cable studied in this dissertation overcomes the shortcomings of the narrow range of applications, the dependence of download drivers, as well as the download software for the parallel port download cable interface. After analyzing the theoretical of the physical production, the dissertation describes a way about download cable based on USB Disk. Describing the USB download cable as a USB disk in the computer equipment, the download cable adopts a USB interface to connect the computer. And using the USB Disk operating system drivers and file operations command, the download cable realizes non-driven, non-download software download cable interface. As a final product to the user, the download cable is equivalent to transparent, only need to copying the HEX file into the USB Disk which can be written in the corresponding single-chip microcomputer. The download cable studied in this dissertation not only solved the download cable driver, but also resolved to download software and the operation.The dissertation also gives out the system analysis and the compartmentalization of the software system and hardware interface during the designing and producing of the download cable interf

您可能关注的文档

文档评论(0)

peili2018 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档