21.10.10 nvm_update_serialization_client

Description

This Tcl command updates an existing serialization client in the SmartFusion 2 and IGLOO 2 eNVM.

Note: You can repeat <params> argument for specifying multiple parameters.
nvm_update_serialization_client -params {parameter:value}

This command is usually put in a configuration *.cfg file and passed as an argument to the script parameter of the run_tool command.

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

Arguments

ParameterTypeDescription
client_namestringSpecifies the name of the eNVM serialization client to update.
number_of_wordsdecimalSpecifies the number of words, number_of_words available to users = Number of user pages * BYTES_PER_PAGE *8 / word_size.
use_for_simulationbooleanSpecifies whether or not the serialization client is used for simulation. The possible value are: true, 1, false or 0.
base_addresshexadecimalSpecifies the client base address. eNVM address range and available number of words are device dependent. See the eNVM Configuration User Guide for details.
maximum_devices_to_programintegerSpecify maximum devices to program.
reprogrambooleanSpecifies whether reprogram or not.
content_from_filebooleanSpecify the content from file.
number_of_pagesdecimalSpecify the number of pages, number_of_words available to users = Number of user pages * BYTES_PER_PAGE *8 / word_size.
content_filestringSpecify absolute or relative path to content file.
content_file_formatstringSpecifies the content file format: Decimal or Hexadecimal.
start_valueintegerSpecifies the start value.
step_valueintegerSpecifies the step value.
maximum_valueintegerSpecifies the maximum value. See eNVM Configuration User Guide for details.
use_as_rombooleanSpecifies whether or not the serialization client is to be used as ROM.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneNone

Supported Families

SmartFusion® 2
IGLOO® 2

Example

The following example configures eNVM client with the update_envm.cfg: sets name, maximum devices to program and maximum value:

nvm_update_serialization_client \
                    -client_name {client1} \
                    -maximum_devices_to_program {6}
                    -maximum_value {12}

See Also

  • UPDATE_ENVM
  • nvm_update_storage_client