Designed a USB interface module based on AVR microcontroller ATmega128 and USB interface chip PDIUSBD12 as the core.Intruduced its hardware realization and its system software structure, including the design of firmware program and the design of driver program.Achieved the high transmission between the USB devices and the hoster.