This dialog box is used to initialize memory (see "2.10.1.6 Modify the memory contents in batch (initialize)").
The memory area in the specified address range is repeatedly overwritten with the specified initial data pattern.
This section describes the following.
On the Memory panel, select [Fill…] from the context menu. |
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.20.2 Symbol name completion function"). |
Specify the initial value(s) with which to overwrite the memory.
You can either type the initial value into the text box directly in hexadecimal number (the value need not start with "0x"), or select one from the input history via the drop-down list (up to 10 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.