21.10.12 nvm_update_storage_client

Description

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

Note: You can repeat <params> argument for specifying multiple parameters.
nvm_update_storage_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 storage 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 storage 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.
retrieve_addressbooleanSpecifies whether or not the address is retrieved from a file.
reprogrambooleanSpecifies whether reprogram or not the data storage client is re-programmed.
memory_file_formatstringSpecifies the memory file format: INTELHEX | MOTOROLAS |SIMPLEHEX | BINARY.
memory_filestringSpecifies the absolute or relative path of the memory file.
content_typestring or integerSpecifies the content type.
lock_addressbooleanIf set to 1, the start address of the client(s) is locked and cannot be changed during optimization..
static_fill_patternstringSpecifies the static fill pattern: 0 or 1.
use_as_rombooleanSpecifies whether or not the data storage 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 storage client with "update_envm.cfg": sets name, maximum devices to program and maximum value:

nvm_update_storage_client \
		    -client_name {client1} \
		    -word_size 32 \
                    -number_of_words {512}
                    -maximum_value {12}

See Also

  • UPDATE_ENVM
  • nvm_update_serialization_client