secbulk

所属分类:USB编程
开发工具:Visual C++
文件大小:263KB
下载次数:133
上传日期:2007-09-05 09:00:19
上 传 者arcticsnow
说明:  usb 主机驱动 用于 异步 数据传输
(usb host driver for asynchronous data transmission)

文件列表:
secbulk\buildfre.log (6976, 2007-07-10)
secbulk\bulkusb.gif (3553, 2007-07-10)
secbulk\bulkusb.htm (31502, 2007-07-10)
secbulk\bulkusb_98.inf (1589, 2007-07-10)
secbulk\dirs (29, 2007-07-10)
secbulk\exe\makefile (269, 2007-07-10)
secbulk\exe\obj\_objects.mac (446, 2007-07-10)
secbulk\exe\obj (0, 2007-07-06)
secbulk\exe\objfre\i386\rwbulk.exe (39245, 2007-07-10)
secbulk\exe\objfre\i386\rwbulk.obj (51120, 2007-07-10)
secbulk\exe\objfre\i386\rwbulk.pdb (295936, 2007-07-10)
secbulk\exe\objfre\i386\rwbulk.res (1338, 2007-07-10)
secbulk\exe\objfre\i386 (0, 2007-07-06)
secbulk\exe\objfre (0, 2007-07-06)
secbulk\exe\rwbulk.c (25722, 2007-07-10)
secbulk\exe\rwbulk.rc (322, 2007-07-10)
secbulk\exe\sources (262, 2007-07-10)
secbulk\exe (0, 2007-07-06)
secbulk\sys\blk82930.h (10283, 2007-07-10)
secbulk\sys\buildfre.log (4930, 2007-07-10)
secbulk\sys\bulkpnp.c (35894, 2007-07-10)
secbulk\sys\bulkpwr.c (35709, 2007-07-10)
secbulk\sys\bulkusb.c (30284, 2007-07-10)
secbulk\sys\bulkusb.h (1781, 2007-07-10)
secbulk\sys\bulkusb.inf.org (1774, 2007-07-10)
secbulk\sys\bulkusb.rc (316, 2007-07-10)
secbulk\sys\busbdbg.c (3989, 2007-07-10)
secbulk\sys\busbdbg.h (6395, 2007-07-10)
secbulk\sys\cpsys.bat (34, 2007-07-10)
secbulk\sys\guid829.h (1096, 2007-07-10)
secbulk\sys\ioctlblk.c (11955, 2007-07-10)
secbulk\sys\makefile (269, 2007-07-10)
secbulk\sys\obj\_objects.mac (1192, 2007-07-10)
secbulk\sys\obj (0, 2007-07-06)
secbulk\sys\objfre\i386\bulkpwr.obj (46202, 2007-07-10)
secbulk\sys\objfre\i386\bulkusb.obj (49396, 2007-07-10)
secbulk\sys\objfre\i386\bulkusb.res (1324, 2007-07-10)
secbulk\sys\objfre\i386\busbdbg.obj (420, 2007-07-10)
secbulk\sys\objfre\i386\ioctlblk.obj (42374, 2007-07-10)
... ...

Installing the Driver --------------------- 1.) Make an 'OEM installation diskette' or equivalent installation source directory for Bulkusb.sys by copying Bulkusb.sys and Bulkusb.inf into it. The sample BulkUsb.Inf is in the DDK BulkUsb\Sys source directory. 2. ) Make sure your device has been programmed with the device VID/PID in the Bulkusb.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 NT 5.0: 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 NT is ready to install the driver. Near the middle of the box, you should see the full source path to BulkUsb.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 BulkUsb.Sys in your \System32\Drivers directory, a BulkUsb.Inf in your \Winnt\Inf directory, and a newly-created BulkUsb.Pnf file, which is a precompiled setup info file that NT 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 BulkUsb.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 NT5, do the following: 1) Delete BulkUsb.inf from the \Windows\Inf or \Winnt\Inf directory. On Winnt, also delete BulkUsb.PNF from the \Winnt\Inf directory. 2) Delete BulkUsb.Sys from the \System32\Drivers directory. 3) Using RegEdit on Win***, or RegEdt32 on NT5, 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 NT 5.0: Delete the following registry key: \LocalMachine\System\CurrentControlSet\Enum\USB\[the key with your deviceId/PID] On NT5, you must restart the system before reinstalling the driver; this is not neccesary on Win***. BulkUsb.Inf is in the Sys subdirectory. It allows you to set registry overrides for: 1) "DebugLevel" debug verbosity level, where 0 == no debug output, 1 == default , higher == more verbose. 2) "MaximumTransferSize" The 'chunk size' ( default 4k ) large IO requests are broken up into by the driver.

近期下载者

相关文件


收藏者