Protouch2 GUI User Manual
2016 Microchip Technology Inc
Page 8
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
"name":"value"
pairing,
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
Explanation
Example
Configuration items common for USB253x/USB4604/USB3X13, USB57x4 family
vid
16-bit value that uniquely identifies the Vendor
ID of the USB2 device
“vid”:”0x0424”
pid
16-bit value that the Vendor can assign that
uniquely identifies particular Product ID for
USB2 device
“pid”:”0x2744”
did
16-bit device release number for USB2 device
in BCD format
“did”:”0x1234”
usbvcd
USB2 Specification Release Number in BCD
format
“usbvcd”:”2.10”
languageid
USB2 LANGUAGE ID
“languageid”:”0x0409”
manufacturer
Manufacturer String of the USB2 HUB
“manufacturer”:”Microchip”
product
Product String of the USB2 HUB
“product”:”USB2734”
serial
Serial String of the USB2 HUB
“serial”:”123456”
hceenable
Force enable 5
th
endpoint device
Value : 1 – Force enable
Value : 0 – Default behaviour
“hceenable”:”1”
enableport1
enableport2
enableport3
enableport4
Enable/Disable USB2.0 downstream ports
Value: 1 – Enable
Value: 0 – Disable
“enableport1”:”1”