21.10.24 update_storage_client
(Ask a Question)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
Parameter | Type | Description |
---|---|---|
client_name | string | Specifies the name of the uPROM storage client to update. |
number_of_words | decimal | Specifies 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_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: hexadecimal(0-0x289F). 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. |
memory_file_format | string | Specifies the memory file format: {Microchip Binary}. |
memory_file | string | Specifies the absolute or relative path of the memory file. |
content_type | string or integer | Specifies the content type: MEMORY_FILE, STATI_FILL or NO_CONTENT. |
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
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