ABSTRACT
This paper introduced a simple and convenient method to design a USB apparatus, that is to say, to realize an intact USB apparatus with a minimum system of single-chip computer that made of 51 single-chip computer and USB interface. In later chapters, we can see, all the USB apparatus can come down to two basic association of part: a controller and a USB electric interface. In this system, I adopted 51 one-chip computer AT89C51 as its controller, the chip PDIUSBD12 of PHILIPS Company as its electric interface. The one-chip computer as the next machine, exchanges the data with the PC, through the USB bus and USB electric interface chip, and it realizes the logic function of USB apparatus.
The paper, combing the USB1.1 interface technology, from the hardware to the software, from the circuit design and the design of firmware program, to the design of driver and employ program, from the low. to the senior level, explain progressively the development course of USB apparatus in detail. It emphasize in introducing the design of hardware and firmware. The paper is described in four parts. First part studied the development trend of USB interface, the function to realize, and the arrangement of every chapters in brief. Second part brief introduced USB system, lets us have a preliminary knowledge of USB protocol. The third part introduced the design of the hardware of the system, including the minimum system of single-chip computer that made of 51 single-chip computer and USB interface, and the expand module of the system. The fourth part recommended the software of the system, including design of firmware program, driver and employ program. This chapter will emphasize in describing the design of firmware.
The final hardware achievement is a piece of equipment with USB interface, it can exchange data with PC, and realize its expand function, through connecting with PC.
Keywords: USB single-chip computer system Firmware Win Driver