Protouch2 GUI User Manual
8 Configuration File formats
Configuration file holds the data to be programmed to the hub. Configuration file
used for programming can be in Binary format (.cfg) or JSON format (.json). Both
the files are generated when changes are done to the configuration items in the Hub.
8.1 JSON Format
JSON file uses human readable text to program. Json file starts with open brace "{"
and end with close brace "}". Number of properties using
separated by commas can be declared inside these braces. There should not be any
empty space or empty line. Use only below mentioned names (case-sensitive) in Json
File. Json file should be in the below given format.
Format:
{
"name":"value"
}
*use comma to separate when there are more entries.
Example:
{
"pid":"0x1234",
"did":"0x5678"
}
In this example, pid and did are configuration items and 0x1234and 0x5678 are the
new values.
Supported configuration items for USB Hubs:
Name
Configuration items common for USB253x/USB4604/USB3X13, USB57x4 family
vid
16-bit value that uniquely identifies the Vendor
ID of the USB2 device
pid
16-bit value that the Vendor can assign that
uniquely identifies particular Product ID for
USB2 device
did
16-bit device release number for USB2 device
in BCD format
usbvcd
USB2 Specification Release Number in BCD
format
languageid
USB2 LANGUAGE ID
manufacturer
Manufacturer String of the USB2 HUB
product
Product String of the USB2 HUB
serial
Serial String of the USB2 HUB
hceenable
Force enable 5
Value : 1 – Force enable
Value : 0 – Default behaviour
enableport1
Enable/Disable USB2.0 downstream ports
enableport2
Value: 1 – Enable
enableport3
Value: 0 – Disable
enableport4
2016 Microchip Technology Inc
Explanation
th
endpoint device
pairing,
"name":"value"
Example
"vid":"0x0424"
"pid":"0x2744"
"did":"0x1234"
"usbvcd":"2.10"
"languageid":"0x0409"
"manufacturer":"Microchip"
"product":"USB2734"
"serial":"123456"
"hceenable":"1"
"enableport1":"1"
Page 8
Need help?
Do you have a question about the Protouch2 and is the answer not in the manual?
Questions and answers