21.11.22 set_hsm_params
(Ask a Question)Description
This Tcl command saves the HSM parameters for the FlashPro Express application. These parameters remain in effect until overridden by another invocation of this command.
Note: 
- The HSM parameters are persistent between multiple FlashPro Express sessions on the same computer.
 - HSM parameters only need to be set for HSM flow jobs.
 
set_hsm_params -hsm_server_name hsm_server \
                -hsm_type_u {TRUE|FALSE} \
                -m_hsm_uuid m_uuid \
                -ftp_username {ftp_username} \
                -ftp_password {ftp_password}Arguments
| Parameter | Type | Description | 
|---|---|---|
| hsm_server | string | Name or IP address of HSM server computer. | 
| hsm_type_u | boolean | The possible value for this argument are: 
  | 
| m_hsm_uuid | string | Specifies UUID of HSM to be used for FlashPro Express tasks. | 
| ftp_username | string | Specifies the user name to access the HSM files via FTP server. | 
| ftp_password | string | Specifies the password to access the HSM files via FTP server. | 
| Return Type | Description | 
|---|---|
| None | None | 
Error Codes
| Error Code | Description | 
|---|---|
| None | Required parameter 'hsm_server_name' is missing. | 
| None | Could not get server information. Please check server address and connection and try again. | 
| None | HSM server name cannot be empty. | 
| None | hsm_type_u: Invalid argument value: '' (expecting TRUE, 1, true, FALSE, 0 or false). | 
| None | Warning:Deprecated 'hsm_type_u' parameter is used. | 
| None | FTP login password must be specified along with the user name. | 
| None | Parameter 'param_name' is not defined. Valid command formatting is 'set_hsm_params -hsm_server_name "HSM server machine name or IP address" \ [-m_hsm_uuid "Manufacturer HSM UUID *DEPRECATED PARAMETER*"] \ [-hsm_type_u "TRUE | FALSE"] \ [-ftp_username "FTP login user name"] \ [-ftp_password "FTP login password"] | 
Supported Families
| Supported Families | 
|---|
| PolarFire® | 
| RTG4™ | 
| SmartFusion® 2 | 
| IGLOO® 2 | 
Example
The following example sets M-HSM parameters:
set_hsm_params -hsm_server_name {11.22.33.44} \
                -hsm_type_u {0} \
                -m_hsm_uuid {0000000000000000000000000000000000000002} \
                -ftp_username {hsm} \
                -ftp_password {hsm}