21.10.24 update_storage_client

Description

This command updates an existing uPROM storage client for the RTG4 uPROM.

Note: You can repeat <params> argument for specifying multiple parameters.
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_UPROM} -script "update.cfg"

Arguments

ParameterTypeDescription
client_namestringSpecifies the name of the uPROM storage client to update.
number_of_wordsdecimalSpecifies the number of words, decimal 1 to 10, 400. 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: hexadecimal(0-0x289F). 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.
memory_file_formatstringSpecifies the memory file format: {Microchip Binary}.
memory_filestringSpecifies the absolute or relative path of the memory file.
content_typestring or integerSpecifies the content type: MEMORY_FILE, STATI_FILL or NO_CONTENT.
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

RTG4

Example

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

update_storage_client \
      -client_name {inc_dat} \
      -number_of_words {10400} \
      -use_for_simulation {0} \
      -content_type {MEMORY_FILE} \
      -memory_file_format {Microchip-Binary} \
      -memory_file "E:/no-IDE/rtg4_uprom_example/uprom1.mem" \
      -base_address {0}

See Also

  • nvm_update_storage_client