21.6.22 UPDATE_ENVM

Description

"UPDATE_ENVM" is a command tool used in the run_tool command. The "run_tool -name {UPDATE_ENVM} -script {update_config_file}" Tcl command updates eNVM Memory Content without having to rerun Synthesize and Place and Route. It is useful if you have reserved space in the eNVM configurator within the MSS for firmware development.

Note: Before running this tool, you must configure MSS which internally uses eNVM, create client.
run_tool -name {UPDATE_ENVM} -script {update_config_file.cfg}

Arguments

ParameterTypeDescription
scriptstringSpecifies the path to the configuration file of the eNVM client. This parameter is mandatory.
Return TypeDescription
IntegerReturns 0 on success and 1 on failure.

Error Codes

Error CodeDescription
NoneCannot open eNVM configuration file.
NoneTCL script 'update_config_file.cfg' not found.

Supported Families

SmartFusion® 2
IGLOO® 2

Example

This example runs and configures the eNVM clients with {./eNVM.cfg}:

run_tool -name {UPDATE_ENVM} -script "eNVM.cfg"

See Also

  • nvm_update_serialization_client
  • nvm_update_storage_client