21.6.20 SPM_OTP

Description

SPM_OTP is a command tool used in configure_tool to pass the SPM configuration parameters.

Important: At least one "parameter:value" must be specified. You can repeat <params> argument for multiple parameters.
configure_tool -name {SPM_OTP} -params {parameter:value}

Arguments

ParameterTypeDescription
permanently_disable_debuggingbooleanSpecifies that the SmartDebug access control, and reading temperature, and voltage sensor settings is either permanently enabled or disabled. A value of true or 1 will permanently disable debugging. The default value is false.
permanently_disable_dpkbooleanSpecifies that the Debug Pass Key is either permanently enabled or disabled. A value of true or 1 will permanently disable FlashLock DPK unlocking. The default value is false.
permanently_disable_factory_accessbooleanSpecifies that the access policy for Microchip factory test mode is either permanently enabled or disabled. A value of true or 1 will permanently disable Microchip factory test mode. The default value is false.
permanently_disable_prog_interfacesbooleanSpecifies that the Programming interfaces such as Auto Programming, JTAG, SPI Target are either permanently enabled or disabled. A value of true or 1 will permanently disable all of the programming interfaces. The default value is false.
permanently_disable_upk1booleanSpecifies that the User Key UPK1 is either permanently enabled or disabled. A value of true or 1 will permanently disable FlashLock UPK1 unlocking. The default value is false.
permanently_disable_upk2booleanSpecifies that the User Key UPK2 is either permanently enabled or disabled. A value of true or 1 will permanently disable FlashLock UPK2 unlocking. The default value is false.
permanently_write_protect_fabricbooleanSpecifies that the write protection for fabric is either permanently enabled or disabled. A value of the true or 1 will make the fabric one-time programmable. The default value is false.
one_way_passcodebooleanSpecifies 1 to enable or 0 (default) to disable One-Way Passcode (OWP).

Specifies true to enable or false (default) to disable One-Way Passcode (OWP).

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'params' is missing.
NonePermanent locks cannot be configured for bit stream encryption with default key.
NoneThe Configure Permanent Locks for Production tool is not available for PolarFire SoC.

Supported Families

PolarFire®

Example

The following example specifies that SPM_OTP tool is configured to permanently disable user keys UPK1 and UPK2:

configure_tool -name {SPM_OTP} \
               -params {permanently_disable_debugging:false} \
               -params {permanently_disable_dpk:false} \
               -params {permanently_disable_factory_access:false} \
               -params {permanently_disable_prog_interfaces:false} \
               -params {permanently_disable_upk1:true} \
               -params {permanently_disable_upk2:true} \
               -params {permanently_write_protect_fabric:false}

The following example specifies that SPM_OTP tool is configured to permanently disable programming interfaces:

configure_tool -name {SPM_OTP} \
               -params {permanently_disable_debugging:false} \
	       -params {permanently_disable_dpk:false} \
               -params {permanently_disable_factory_access:false} \
               -params {permanently_disable_prog_interfaces:true} \
               -params {permanently_disable_upk1:false} \
               -params {permanently_disable_upk2:false} \
               -params {permanently_write_protect_fabric:false}

The following example specifies that SPM_OTP tool is configured to enable one_way_passcode:

configure_tool -name {SPM_OTP} \
 -params {one_way_passcode:true} \

See Also

  • SPM