21.10.12 nvm_update_storage_client
(Ask a Question)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
Parameter | Type | Description |
---|---|---|
client_name | string | Specifies the name of the eNVM storage client to update. |
number_of_words | decimal | Specifies the number of words, number_of_words available to users = Number of user pages * BYTES_PER_PAGE *8 / word_size. |
use_for_simulation | boolean | Specifies whether or not the storage client is used for simulation. The possible value are: true, 1, false or 0. |
base_address | hexadecimal | Specifies the client base address. eNVM address range and available number of words are device dependent. See the eNVM Configuration User Guide for details. |
retrieve_address | boolean | Specifies whether or not the address is retrieved from a file. |
reprogram | boolean | Specifies whether reprogram or not the data storage client is re-programmed. |
memory_file_format | string | Specifies the memory file format: INTELHEX | MOTOROLAS |SIMPLEHEX | BINARY. |
memory_file | string | Specifies the absolute or relative path of the memory file. |
content_type | string or integer | Specifies the content type. |
lock_address | boolean | If set to 1, the start address of the client(s) is locked and cannot be changed during optimization.. |
static_fill_pattern | string | Specifies the static fill pattern: 0 or 1. |
use_as_rom | boolean | Specifies whether or not the data storage client is to be used as ROM. |
Return Type | Description |
---|---|
None | None |
Error Codes
Error Code | Description |
---|---|
None | None |
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