The Deisign and Implementation of USB Mass Storage and Ccid Composite Device

Author
ZhangZuo
Advisor
ZhangYangAn
School
Beijing University of Posts and Telecommunications
Major
Electronics and Communication Engineering
Classification
TP333.2 External memory ( secondary memory ) General
Degree
Master's thesis
Year
2013
Downloads
26
Citations
0

Request the full text

Abstract

With the greatly improvement of information, UKEY, namely smart card reader device are widely used on the Internet Band and virtual trading by more and more people as a financial security products. At present, the development of UEKY is still in the early, so the use of the UKEY is not as convenient as we thought. In this condition, we design and realize the USB mass storage and smart card reader composite device, so as to promote the development of UKEY, and bring more convenience in our daily life. The main contents of this paper are list as below:1. The present situation of USB mass storage and smart card reader composite device, and influence and meaning of this composite device if we realized successfully.2. The theoretical basis of USB mass storage and smart card reader composite device:For USB mass storage device mainly defined by USB2.0protocol and some MASS STORAGE related specifications; for the smart card reader device mainly defined by CCID protocol and smart card related standard such as ISO-7816. Based on the above theoretical basises, we design the USB mass storage and smart card reader composite device.3. The implementation of composite device, also it’s the difficult and main innovation point in this paper. The hardware platform is a C51MCU with IS8U192A chip dedicated to the development of smart card reader. Based on the hardware platform through the C language in the software named Keil to realize USB2.0protocol, CCID protocol and composite device. The implementation of the CCID protocol is the difficult, the realization of composite device is the innovation point of this paper. In this way, we can regard a single device as a mass storage and an UKEY as well, the mass storage can store the corresponding driver of this UKEY, thus the composite single device can realize the real play and plug, make UKEY can be free to use and without the limitation of the driver.4. Though the test software USB1yser and CCID protocol tester which programmed by ourselves, we can test the function of composite device we realized. Though the device manager we can test the composite device whether can be recognition by computer.

Table of contents

Summary 4-6 ABSTRACT 6-10 first chapter 10-13 1.1 USB Mass Storage Device Profile 10 1.2 smart card reader device profiles development status 10 1.3 USB mass storage and smart card reader 10-11 1.4 the background papers , research and its significance agreement basis 11-13 chapter USB mass storage and smart card reader 13-30 2.1 USB2.0 protocol 13-15 2.1.1 USB bus protocol 13-14 2.1.2 data transfer type 14-15 endpoint 2.1.3 USB devices 15 2.2 smart Card Reader 15-28 2.2.1 CCID protocol position in the application 15-16 2.2.2 CCID features 16-20 2.2.3 CCID news 20-28 2.3 Summary 28-30 Chapter III devices to achieve complex 30-71 3.1 hardware and software platforms 30-31 3.1.1 hardware platform 30-31 3.1.2 software platform 31 3.2 overall design of complex equipment 31-33 3.2.1 communication architecture design 31-32 3.2.2 hardware design 32 - 33 3.2.3 software design 33 3.3 CCID protocol 33-47 3.3.1 CCID protocol overall design 33-37 3.3.2 CCID protocol functions to achieve 37-47 3.3.3 actual packet analysis 47 3.4 USB mass storage protocol 47-64 design 3.4.1 code files 48 3.4.2 endpoint allocation and implementation 48-49 3.4.3 Mass storage class special request 49-50 3.4.4 bulk transport protocol to achieve 50-59 3.4.5 FAT file structure 59-64 achieve complex equipment 3.5 64-70 enumeration 3.5.1 composite device 64-70 3.5.2 protocol code integration 70 3.6 This chapter summarizes 70-71 test Chapter IV composite device 71-81 4.1 CCID functional test 71-75 4.2 USB mass storage function test 75-79 4.3 composite device can identify test 79-81 fifth chapter summarizes 81-82 5.1 summary 81 5.2 future 81-82 References 82-84 Abbreviations 84-85 Thanks 85-86

Related dissertations

  1. Design and Implementation of Smart Card Reader Based on IS8U192A Chip
    XueE ·Xiamen University ·2013 ·Master's thesis
  2. Design and implementation of engineering machinery remote control device
  3. Research and Application of HID Standard in the Intelligent Remote Control System
    MeiFang ·Ocean University of China ·2012 ·Master's thesis
  4. Research and Design of Vehicle Black Box Based on ARM
    ZhangJie ·Wuhan University of Technology ·2008 ·Master's thesis
  5. The Design of AOS Frame Synchronous Receiver Based on USB 2.0
  6. The PXA255 processor USB host control function studies
  7. Research and Implementation of USB2.0 Mass Storage Class Hight Speed Device
    HuangGuanLi ·Southeast University ·2006 ·Master's thesis
  8. Application and design of remote meter reading and monitoring system based on CDMA
    LiuJing ·Zhejiang University ·2006 ·Master's thesis
  9. Design and Implementation of J2A Audio Player
    XiongXiaoMing ·East China Normal University ·2006 ·Master's thesis
  10. Implent of CAN Bus and PSD Module in Center Sicnal Screen
    HanZuo ·Taiyuan University of Technology ·2005 ·Master's thesis
  11. USB OTG Technology in Data Acquisition System Research
    XinHuaFeng ·Jilin University ·2005 ·Master's thesis
  12. Design of Embedded Image Monitor Based on CMOS Image Sensor
    ZhanWangHua ·East China Normal University ·2006 ·Master's thesis
  13. The Data Collecting and Processing System Based on DSP and USB
    YangXingMing ·Hefei University of Technology ·2002 ·Master's thesis
  14. The Design of Aerodynamics Data Acquisition System Based on STM32
    MaJianWei ·Southwest Jiaotong University ·2010 ·Master's thesis
  15. Research on PC to PC Internetworking Through USB Interface
    ChenHongBo ·Southwest Jiaotong University ·2009 ·Master's thesis
  16. The Design and Development of AOS Frame Synchro Receiver’s Interface Port Based on USB2.0 Bus
  17. HSDPA data card voice function optimization
  18. System Design and Research of Host Computer Security Test and Key Technology Research on WINCE
  19. Design and Development of WDF Driver for USB Adapter Remote Controller