Contents of the memory can be modified in batch (initialize).
When [Fill...] from the context menu is selected, the Memory Initialize dialog box opens to modify the memory value of the specified address range in batch.
In this dialog box, follow the steps below.
Specify the range of memory address to initialize via the [Start address/symbol] and [End address/symbol]. You can either type address expressions directly into the text boxes (up to 1024 characters), or select them from the input history via the drop-down list (up to 10 items).
The results of calculating the address expressions you have entered are treated as start and end addresses, respectively.
Note that address values greater than the microcontroller address space cannot be specified.
A symbol name at the current caret position can be complemented by pressing the [Ctrl] + [Space] key in each text box (see "2.19.2 Symbol name completion function"). |
Specify the initializing data to write to the memory.
You can either type the initial value into the text box directly in hexadecimal number, or select one from the input history via the drop-down list (up to10 items).
You can specify more than one initial value. Specify up to 16 values of up to 4 bytes (8 characters) each, separated by spaces.
Each initial value is parsed from the end of the string, with each two characters interpreted as a byte.
If the string has an odd number of characters, then the first character is interpreted as one byte.
Note that if a initial value consists of more than one byte, then the target memory is overwritten with the value converted into an array of bytes of the specified address range's endian, as follows.
The memory area in the specified address range is repeatedly overwritten with the specified initial data pattern. If the end address is reached in the middle of the pattern, then writing ends at that point.
Note that if an illegal value is specified, a message will appear, and the memory value will not be initialized.