usb2k

所属分类:驱动编程
开发工具:C/C++
文件大小:915KB
下载次数:61
上传日期:2006-08-30 14:28:04
上 传 者ruizhi
说明:  韩国三星公司的arm 2410 的usb驱动代码,对于想开发ARM调试工具的工程师,可能有帮助
(Korea's Samsung Corporation arm of the 2410 usb driver code, For development to debugging tool for ARM engineers, may help)

文件列表:
usb.2k (0, 2006-08-14)
usb.2k\dirs (52, 2001-10-30)
usb.2k\isousb (0, 2006-08-14)
usb.2k\isousb\dirs (29, 2001-10-30)
usb.2k\isousb\exe (0, 2006-08-14)
usb.2k\isousb\exe\makefile (269, 2000-07-27)
usb.2k\isousb\exe\rwiso.c (27953, 2000-07-27)
usb.2k\isousb\exe\rwiso.rc (327, 2000-07-27)
usb.2k\isousb\exe\sources (253, 2000-07-27)
usb.2k\isousb\isousb.gif (3510, 1999-12-30)
usb.2k\isousb\isousb.htm (25050, 1999-12-30)
usb.2k\isousb\sys (0, 2006-08-14)
usb.2k\isousb\sys\guidiso.h (902, 2000-07-27)
usb.2k\isousb\sys\ioctliso.c (12128, 2000-07-27)
usb.2k\isousb\sys\iso82930.h (9934, 2000-07-27)
usb.2k\isousb\sys\isopnp.c (31084, 2000-07-27)
usb.2k\isousb\sys\isopwr.c (34070, 2000-07-27)
usb.2k\isousb\sys\isostrm.c (21697, 2000-07-27)
usb.2k\isousb\sys\isousb.c (30244, 2000-07-27)
usb.2k\isousb\sys\isousb.h (2408, 2000-07-27)
usb.2k\isousb\sys\isousb.inf (1765, 2000-07-27)
usb.2k\isousb\sys\isousb.rc (320, 2000-07-27)
usb.2k\isousb\sys\iusbdbg.c (3976, 2000-07-27)
usb.2k\isousb\sys\iusbdbg.h (6058, 2000-07-27)
usb.2k\isousb\sys\makefile (269, 2000-07-27)
usb.2k\isousb\sys\ocrwiso.c (26939, 2000-07-27)
usb.2k\isousb\sys\sources (279, 2000-07-27)
usb.2k\secbulk (0, 2006-08-14)
usb.2k\secbulk\buildfre.log (6976, 2001-12-05)
usb.2k\secbulk\bulkusb.gif (3553, 1999-12-30)
usb.2k\secbulk\bulkusb.htm (31502, 1999-12-30)
usb.2k\secbulk\Bulkusb_98.inf (1589, 2000-09-20)
usb.2k\secbulk\dirs (29, 2001-10-30)
usb.2k\secbulk\exe (0, 2006-08-14)
usb.2k\secbulk\exe\makefile (269, 2000-07-27)
usb.2k\secbulk\exe\obj (0, 2006-08-14)
usb.2k\secbulk\exe\obj\_objects.mac (446, 2001-12-05)
usb.2k\secbulk\exe\objfre (0, 2006-08-14)
usb.2k\secbulk\exe\objfre\i386 (0, 2006-08-14)
... ...

This sample demonstrates basic Isochronous IO under WDM with the Intel i82930 USB controller. See the document for the corresponding Bulk IO sample, "BulkUsb.Doc" for discussion of basic architechtural issues,as well as Plug and Play and Power Management IRP handling, as it is basically the same as in this sample. The accompanying console test application for IsoUsb.Sys, RwIso.Exe, operates similarly to RwBulk.Exe, the console test app for BulkUsb.sys. See BulkUsb.Doc. Installing IsoUsb.sys --------------------- 1.) Make an 'OEM installation diskette' or equivalent installation source directory for IsoUsb.sys by copying IsoUsb.sys and IsoUsb.inf into it. The sample IsoUsb.Inf is in the DDK IsoUsb\Sys source directory. 2. ) Make sure your device has been programmed with the device VID/PID in the IsoUsb.inf file. If not, edit the device VID, PID, and description text to match your test board/device. 3.) Depending on the operating system you are using: On Windows 2000: When you plug in the device, the "Found New Hardware Wizard" dialog box will appear with the subheading "Install Hardware Device Drivers". Hit the radio button labelled "Search for a suitable driver for your device (Recommended)" and then hit the "Next" button. The following screen has you specify your installation source floppy or directory. Do so, then hit the "Next" button. The next screen should indicate that Windows 2000 is ready to install the driver. Near the middle of the box, you should see the full source path to IsoUsb.Inf. Hit the "Next" button. You'll briefly see a "copying Files" message box, then once again the "Found New Hardware Wizard" box, now displaying the subheading, "Hardware Install: The hardware installation is complete". Hit the "Finish" button. You should now have a copy of IsoUsb.Sys in your \System32\Drivers directory, a IsoUsb.Inf in your \Winnt\Inf directory, and a newly-created IsoUsb.Pnf file, which is a precompiled setup info file that Windows 2000 creates. If the final "Add New Hardware Wizard" box indicates any error, or if the OS says you must reboot to finish installation of this device, something has gone wrong. Check your Inf file, Install directory, or driver code, follow the instructions in the below section on simulating a 'first-time' install, and start over. On Win***: Plug in the device. The "Add New Hardware Wizard" dialog box will appear, indicating that "This wizard searches for new drivers for: [your deviceName as programmed into your board's hardware]. Hit the "Next" button. On the following screen, hit the radio button labelled "Search for the best driver for your device (Recommended)" . Hit the "Next" button. The next screen has you specify your installation source floppy or directory. Do so, then hit the "Next" button. The next screen should indicate that Windows is ready to install the driver. You should see the full source path to IsoUsb.Inf under the label: "Location of Driver". Hit the "Next" button. You will see the "Building Driver Information Database" message box, then, if the installation and loading of the driver have succeeded, you will see the final wizard box saying " Windows has finished installing the software that your new hardware device requires." Hit the "Finish" button. If the final "Add New Hardware Wizard" box indicates any error, or if the OS says you must reboot to finish installation of this device, something has gone wrong. Check your Inf file, Install directory, or driver code, follow the below instructions on simulating a 'first-time' install, and start over. Updating the Driver ------------------- To install a new version of your driver after a successful initial installation, simply replace the binary in \System32\Drivers. If the initial or last installation failed for any reason, follow the below instructions on simulating a 'first-time' install. Simulating a 'First-time' Install --------------------------------- If you want to test Inf file or installation program modifications, or if your first install failed for any reason and you need to do, in effect, a new 'first-time' driver installation without reinstalling a fresh Win*** or Windows 2000, do the following: 1) Delete IsoUsb.inf from the \Windows\Inf or \Winnt\Inf directory. On Winnt, also delete IsoUsb.PNF from the \Winnt\Inf directory. 2) Delete IsoUsb.Sys from the \System32\Drivers directory. 3) Using RegEdit on Win***, or RegEdt32 on Windows 2000, purge the registry of the following driver information: For Windows ***: Delete the following registry key: \LocalMachine\System\Enum\USB\[the key with your device ID/PID], ( in the case of our sample as published, this would be: \LocalMachine\System\Enum\USB\VID_045E&PID_930A ) For Windows 2000: Delete the following registry key: \LocalMachine\System\CurrentControlSet\Enum\USB\[the key with your deviceId/PID] On Windows 2000, you must restart the system before reinstalling the driver; this is not neccesary on Win***. IsoUsb.Inf is in the Sys subdirectory. It allows you to set registry overrides for: "DebugLevel" debug verbosity level, where 0 == no debug output, 1 == default , higher == more verbose.

近期下载者

相关文件


收藏者