This paper describes the specific implementation of device USB driver based on studying USB system architecture and principle of USB device driver in WindowsCE platform, the device is ultrasonic acquisition device that use EZ-USB FX2 series USB controllers maded by Cypress company.Using device driver. The paper acquires ultrasnoic data and control ultrasonic device successfully.