Switching between CyUSB and EzUSB drivers quickly

Saxo/-L & Xylo/-EM/-L/-LM boards

Switching between CyUSB and EzUSB drivers quickly

Postby reedb » Mon Apr 06, 2009 3:52 pm

You can use devcon.exe (download from Micro$oft) to switch quickly between the CyUSB and EzUSB drivers:

Echo Change to CyUSB driver
devcon update "C:\projects\xylo\StartupKit_Xylo-LM\USB drivers\CyUSB driver\CyUSB.inf" "USB\Vid_04b4&Pid_8614&Rev_0000"

To test if the correct driver is being used in a batch file:

devcon find *USB\VID_04B4*>drivestring.txt
findstr -i cyusb drivestring.txt>nul
if errorlevel 1 goto NoCyUSB
reedb
 
Posts: 14
Joined: Sun Apr 05, 2009 4:06 pm
Location: Bowen Island, Canada

Postby fpga4fun » Sun Jun 21, 2009 7:53 pm

Excellent trick.
Just remember to run devcon from an administrator command prompt.

http://support.microsoft.com/kb/311272
fpga4fun
Site Admin
 
Posts: 837
Joined: Thu Sep 18, 2003 6:47 am


Return to FX2 FPGA boards