3.6.17 CNFG_SetPassword Command and its Response

The CNFG_SetPassword command (0xC3) saves an eight-byte password to NVM and sets the protection level to ‘Password Set - Unlocked’:

  • qwPassword → 8-bytes of password

This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).

Table 3-39. CNFG_SetPassword - Command
Byte IndexCommandDescription
00xC3Command codeSaves an eight-byte password to NVM and sets the protection level to Password Set - Unlocked
1-8qwPasswordPassword (eight bytes)Eight bytes of password
Table 3-40. CNFG_SetPassword - Response
Byte IndexResponseDescription
00xC3Echo command codeReturns whether the CNFG_SetPassword command was accepted or not
10x20Accepted – successAccepted. The new state of the device configuration is Password protected (unlocked) and the password is saved to NVM.
0x60Rejected – wrong parametersRejected because the password is not eight bytes long
0x64Rejected - permanently lockedRejected because the configurations are permanently locked
0x68Rejected – invalid stateRejected because the configurations are locked
0x6CRejected - password existsRejected because the password is already set
0x90Failure - unsuccessful NVM writeCould not save in NVM; retry