首页 开发技术 C     /    USB通信程序开发(附源码)

USB通信程序开发(附源码)

上传者: originator | 上传时间:2023/9/13 14:08:22 | 文件大小:2.01MB | 文件类型:rar
USB通信程序开发(附源码)
目录第一章绪论 11.1 PC接口简介 11.2USB接口分析 11.3USB器件的选择 11.4MASSSTORAGE协议与FAT16文件系统 2第二章USB总线结构 32.1总线拓扑结 32.2USB设备 32.2.1USBHUB 42.2.2即插即用 52.2.3设备电源 62.2.4设备的挂起 62.3USB主机 62.4USB数据流 72.5USB的端点 9第三章协议 123.1MASSSTORAGE协议 123.2BULK-ONLY传输协议 163.3SCSI指令集 183.4FAT16文件系统 213.4.1FAT文件系统结构 213.4.2Flash盘的FAT结构 26第四章程序实现与调试 294.1固件程序的实现 294.1.1主循环——MAINLOOP.C 294.1.2中断服务程序——D12ISR.C 294.1.3标准设备请求处理——D12SETUP.C 334.1.4NANDFLASH操作程序——NFLASH32.C 384.2固件调试 424.2.1检查USB器件是否正常工作 424.2.2设备枚举 434.2.3BULK_ONLY传输协议命令处理 434.2.4FLASH的读写 45结论 46致谢 47参考文献 48附录 49附录AUSB接口芯片命令总汇 49A1.初始化命令 50A2.数据流命令 54A3.数据流命令 59附录BU盘固件程序源码清单 60

文件下载

资源详情

[{"title":"(65个子文件2.01MB)USB通信程序开发(附源码)","children":[{"title":"USB通信程序开发","children":[{"title":"源代码","children":[{"title":"MainLoop.c <span style='color:#111;'>1.70KB</span>","children":null,"spread":false},{"title":"Scsi.c <span style='color:#111;'>14.39KB</span>","children":null,"spread":false},{"title":"NFlash32.h.bak <span style='color:#111;'>1.19KB</span>","children":null,"spread":false},{"title":"MainLoop.lis <span style='color:#111;'>7.24KB</span>","children":null,"spread":false},{"title":"NFlash32.dp2 <span style='color:#111;'>87B</span>","children":null,"spread":false},{"title":"NFlash32._c <span style='color:#111;'>5.71KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.IAD <span style='color:#111;'>368B</span>","children":null,"spread":false},{"title":"Scsi.dp2 <span style='color:#111;'>109B</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.PRI <span style='color:#111;'>20.27KB</span>","children":null,"spread":false},{"title":"Scsi.lis <span style='color:#111;'>71.47KB</span>","children":null,"spread":false},{"title":"Scsi.c.bak <span style='color:#111;'>10.06KB</span>","children":null,"spread":false},{"title":"NFlash32.s <span style='color:#111;'>26.98KB</span>","children":null,"spread":false},{"title":"D12ISR.dp2 <span style='color:#111;'>47B</span>","children":null,"spread":false},{"title":"D12Setup.s <span style='color:#111;'>25.34KB</span>","children":null,"spread":false},{"title":"D12.h <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"D12ISR.lis <span style='color:#111;'>30.01KB</span>","children":null,"spread":false},{"title":"NFlash32.c.bak <span style='color:#111;'>9.80KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.lk <span style='color:#111;'>51B</span>","children":null,"spread":false},{"title":"Scsi.o <span style='color:#111;'>17.45KB</span>","children":null,"spread":false},{"title":"io8515v.h <span style='color:#111;'>8.46KB</span>","children":null,"spread":false},{"title":"Scsi_Data.h.bak <span style='color:#111;'>2.40KB</span>","children":null,"spread":false},{"title":"MainLoop.o <span style='color:#111;'>1.20KB</span>","children":null,"spread":false},{"title":"NFlash32.h <span style='color:#111;'>1.19KB</span>","children":null,"spread":false},{"title":"D12ISR.s <span style='color:#111;'>12.42KB</span>","children":null,"spread":false},{"title":"D12Setup.c.bak <span style='color:#111;'>11.40KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.cof <span style='color:#111;'>22.56KB</span>","children":null,"spread":false},{"title":"NFlash32.lis <span style='color:#111;'>62.21KB</span>","children":null,"spread":false},{"title":"D12Setup.c <span style='color:#111;'>11.39KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.prj <span style='color:#111;'>868B</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.hex <span style='color:#111;'>17.90KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.IAB <span style='color:#111;'>4.00KB</span>","children":null,"spread":false},{"title":"NFlash32.c <span style='color:#111;'>9.80KB</span>","children":null,"spread":false},{"title":"Scsi.h.bak <span style='color:#111;'>1.57KB</span>","children":null,"spread":false},{"title":"MainLoop.s <span style='color:#111;'>3.04KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.WK3 <span style='color:#111;'>25.15KB</span>","children":null,"spread":false},{"title":"D12ISR.c <span style='color:#111;'>5.43KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.PR <span style='color:#111;'>3.55KB</span>","children":null,"spread":false},{"title":"Scsi._c <span style='color:#111;'>14.40KB</span>","children":null,"spread":false},{"title":"AVR_USB_DISK.SRC <span style='color:#111;'>139B</span>","children":null,"spread":false},{"title":"Scsi_Data.h <span style='color:#111;'>2.40KB</span>","children":null,"spread":false},{"title":"NFlash32.o <span style='color:#111;'>14.71KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.dbg <span style='color:#111;'>17.36KB</span>","children":null,"spread":false},{"title":"Scsi.s <span style='color:#111;'>32.71KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.mak <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"D12ISR._c <span style='color:#111;'>5.43KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.PO <span style='color:#111;'>776B</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.mp <span style='color:#111;'>6.09KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.IMD <span style='color:#111;'>368B</span>","children":null,"spread":false},{"title":"MainLoop.c.bak <span style='color:#111;'>1.69KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.lst <span style='color:#111;'>140.29KB</span>","children":null,"spread":false},{"title":"D12.h.bak <span style='color:#111;'>1.41KB</span>","children":null,"spread":false},{"title":"D12Setup.h <span style='color:#111;'>2.95KB</span>","children":null,"spread":false},{"title":"D12Setup.lis <span style='color:#111;'>57.94KB</span>","children":null,"spread":false},{"title":"D12Setup.o <span style='color:#111;'>12.57KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.PFI <span style='color:#111;'>40B</span>","children":null,"spread":false},{"title":"Scsi.h <span style='color:#111;'>1.57KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.IMB <span style='color:#111;'>4.00KB</span>","children":null,"spread":false},{"title":"Avr_Usb_Disk.PS <span style='color:#111;'>27.21KB</span>","children":null,"spread":false},{"title":"D12Setup.h.bak <span style='color:#111;'>3.03KB</span>","children":null,"spread":false},{"title":"D12ISR.o <span style='color:#111;'>6.58KB</span>","children":null,"spread":false},{"title":"D12Setup.dp2 <span style='color:#111;'>70B</span>","children":null,"spread":false},{"title":"MainLoop.dp2 <span style='color:#111;'>73B</span>","children":null,"spread":false},{"title":"D12ISR.c.bak <span style='color:#111;'>5.43KB</span>","children":null,"spread":false}],"spread":false},{"title":"USB通信程序开发.doc <span style='color:#111;'>2.19MB</span>","children":null,"spread":false},{"title":"~$B通信程序开发.doc <span style='color:#111;'>162B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • Joyfulkai:
    还没用不知道怎么样2020-08-16
  • ZoeyCool:
    写毕业论文作参考用,还可以2015-01-22
  • tjzzx888:
    初学者可以下载参考下2014-07-08
  • fengnan30:
    好像是一片本科毕业论文。内容比较浅显,适合作入门科普。2014-03-05
  • zzz870920:
    入门参考,还是可以看的。2014-01-02

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明