The technology for developing a USB controller based on PHILIPS' PDIUSBD12 is given,including the hardware design which involves the 51 MCU,USB interface,firmware and the interruption technology,and the host side software which consists of device driver and application program.