kbanks
10-10-2008, 01:35 PM
The USB chip we currently use is from Silicon Labs (www.silabs.com), and can act as a "true" USB device, or (using drivers supplied by Silicon Labs) as a Virtual COM Port (VCP).
It has been our experience that Virtual COM Port (VCP) is not as robust as treating the chip as a true USB device (your mileage may vary). We do not know if this is a Windows issue, or a driver issue.
So, we deliberately chose not to use VCP mode, and Synapse USB devices ship from the factory looking like, well, looking like Synapse USB devices.
Some customers have applications that only know how to talk to "COM" ports, they are unable to interface to the Synapse Gateway and make "data mode" (AKA transparent mode) calls.
Quoting from the attached script:
UsbUtility.py - A helper script for customers that need Synapse USB
interfaces to look/act like a Virtual COM Port (VCP) instead of like
a true USB device.
Doing this allows you to send data from programs that ONLY know how to
interface to COMx devices.
To use:
Load this script into Portal.
With a single Synapse USB device plugged in to your computer, invoke
function makeUsbLookLikeVirtualComPort(). The Product ID (PID) on the
USB chip will be reprogrammed back to its original factory setting.
This will allow it to work with the VCP drivers from Silicon Laborities.
(Silicon Laborities makes the actual USB chip - it is a CP2102)
You can get these drivers from www.silabs.com.
At the time this script was created, the file you need was named
CP210X_VCP_Win2K_XP_S2K3.zip.
You will have to install the Silicon Labs driver (using the zip file),
and let your PC detect/setup the virtual COM port.
Portal (and other programs) will now see the USB equipped Synapse device
as another COMx port.
To restore the Synapse USB device back to the Synapse recommended settings,
invoke function makeUsbLookLikeUsb().
You should get the latest VCP drivers directly from www.silabs.com, but as a convenience I am also attaching the driver file I downloaded from them today.
It has been our experience that Virtual COM Port (VCP) is not as robust as treating the chip as a true USB device (your mileage may vary). We do not know if this is a Windows issue, or a driver issue.
So, we deliberately chose not to use VCP mode, and Synapse USB devices ship from the factory looking like, well, looking like Synapse USB devices.
Some customers have applications that only know how to talk to "COM" ports, they are unable to interface to the Synapse Gateway and make "data mode" (AKA transparent mode) calls.
Quoting from the attached script:
UsbUtility.py - A helper script for customers that need Synapse USB
interfaces to look/act like a Virtual COM Port (VCP) instead of like
a true USB device.
Doing this allows you to send data from programs that ONLY know how to
interface to COMx devices.
To use:
Load this script into Portal.
With a single Synapse USB device plugged in to your computer, invoke
function makeUsbLookLikeVirtualComPort(). The Product ID (PID) on the
USB chip will be reprogrammed back to its original factory setting.
This will allow it to work with the VCP drivers from Silicon Laborities.
(Silicon Laborities makes the actual USB chip - it is a CP2102)
You can get these drivers from www.silabs.com.
At the time this script was created, the file you need was named
CP210X_VCP_Win2K_XP_S2K3.zip.
You will have to install the Silicon Labs driver (using the zip file),
and let your PC detect/setup the virtual COM port.
Portal (and other programs) will now see the USB equipped Synapse device
as another COMx port.
To restore the Synapse USB device back to the Synapse recommended settings,
invoke function makeUsbLookLikeUsb().
You should get the latest VCP drivers directly from www.silabs.com, but as a convenience I am also attaching the driver file I downloaded from them today.