MCP2210
3.1.5
SET USB PRODUCT NAME
TABLE 3-14: COMMAND STRUCTURE
Byte
Index
Meaning
0
1
2
3
4
0x60 – Set Chip NVRAM Parameters – command code
0x40 – Set USB Product Name – sub-command code
0x00 – Reserved
0x00 – Reserved
Total USB String Descriptor Length (this is the length of the Product string multiplied by 2 + 2)
Example: “MCP2210 USB to SPI Master” has 25 Unicode characters.
- The value to be filled in is: (25 * 2) + 2 = 52 (decimal) = 0x34
5
6
USB String Descriptor ID – always fill with 0x03
Unicode Character Low Byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, place here the low byte of the
Unicode for character “M”.
- Fill this index with 0x4D
7
Unicode Character High Byte
Example: For the “MCP2210 USB to SPI Master” Unicode string, place here the high byte of the
Unicode for character “M”.
- Fill this index with 0x00
8-63
Fill in the remaining Unicode characters in the string
3.1.5.1
Responses
TABLE 3-15: RESPONSE 1 STRUCTURE
Byte
Index
Meaning
0
1
0x60 – Set Chip NVRAM Parameters – echos back the given command code
0xFB – Blocked Access – The provided password is not matching the one stored in the chip or the
settings are permanently locked.
2-63
Don’t Care
TABLE 3-16: RESPONSE 2 STRUCTURE
Byte
Index
Meaning
0
1
0x60 – Set Chip NVRAM Parameters – echos back the given command code
0x00 – Command Completed Successfully – settings written
0x40 – Sub-command Echoed Back for Set USB Product Name code
Don’t Care
2
3-63
DS22288A-page 22
2011 Microchip Technology Inc.