A commandline interface was implemented in the software for Infinity USB Unlimited starting from version 2.61.
The commandline interface makes it possible to enable VCP / Phoenix mode, and will be extended as demands grow. In the current version the following switches are available:
-enablevcp | Enables phoenix mode and creates a virtual COM port (VCP), must be used with the -createcom command.
| -createcom:X | (X = 1 to 255) - Specifies the port number to create.
| -name:name | Name of the programmer to use, in a multi programmer invironment. Each programmer must have been named before use. Uses default programmer if -name is left out. | -frq:frequency | (3.58 | 3.68 | 6.00 | Any frequency between 0.8 to 25MHz) - Chooses frequency. Defaults to 3.579 if left out. | -boost:frq multiplier | (1.00 to 3.00) - Chooses frequency-multiplier for transparent boost. Defaults to 1.00 if left out. | -polarity:resetpolarity | (phoenix | smartmouse) - Chooses resetpolarity. Defaults to phoenix if left out. | -3v | Sets card powersupply = 3.3V. Defaults to 5.0V if left out. | -profile:profilename | Specifies which VCP profile to use. For a list of valid profiles refer to the “Enable VCP” window of the Infinity USB Unlimited software. Defaults to “Default” profile if left out. | -disablevcp
| Disables VCP mode and exits the application. |
Examples Enables phoenix mode 3.579Mhz and creates COM4:
"c:\program files\infinity usb unlimited\infusb.exe" -enablevcp -createcom:4
Enables phoenix mode 3.58Mhz, boostfactor 1.25 (total frequency 4.475MHz) and creates COM4:
"c:\program files\infinity usb unlimited\infusb.exe" -enablevcp -createcom:4 -frq:3.58 -boost:1.25
Enables phoenix mode 6.00Mhz and creates COM5:
"c:\program files\infinity usb unlimited\infusb.exe" -enablevcp -createcom:5 -frq:6.00
Enables smartmouse mode 6.00Mhz and creates COM4:
"c:\program files\infinity usb unlimited\infusb.exe" -enablevcp -createcom:4 -frq:6.00 -polarity:smartmouse
Enables phoenix mode 3.579Mhz on the programmer named “Infinity 1” and creates COM4:
"c:\program files\infinity usb unlimited\infusb.exe" -enablevcp -createcom:4 -name:"Infinity 1"
Enables phoenix mode 6.00Mhz and creates COM5 with the default VCP profile:
"c:\program files\infinity usb unlimited\infusb.exe" -enablevcp -createcom:5 -frq:6.00 –profile:”Default”
Disables VCP mode of all active Infinity USB Unlimited:
"c:\program files\infinity usb unlimited\infusb.exe" -disablevcp
Error codes The application returns the following error codes upon error:
4: Syntax error (Check the parameters for errors).
5: The specified programmer could not be found (Connect an Infinity USB Unlimited, or make sure you have specified the right -name value).
14: Could not create VCP (Make sure you have not specified a COM port which is already in use). |