This dialog box initializes memory values. (See "2.11.1.6 Collectively changing (initializing) memory contents".)
A pattern of specified initialization data is written into a specified address range of memory repeatedly.
Here, the following items are explained.
Choose [Fill...] from the context menu on the Memory panel. |
Specify an address range of memory whose values need to be initialized in [Start address/symbol] and [End address/symbol]. Enter address expressions directly in the respective text boxes (specifiable in up to 1,024 characters) or select an input history item from the drop-down list (up to 10 history entries).
The calculation results of the input address expressions are handled respectively as the start address and end address.
No address values can be specified that are greater than the microcontroller's address space.
By holding down [Ctrl]+[Space] keys in this text box, you can complete the symbol name at the present caret position (see "2.21.2 Symbol name completion function"). |
Specify the initialization data to be written into memory.
To specify initialization data, enter a hexadecimal value directly in the text box or select an input history item from the drop-down list (up to 10 history entries).
To specify multiple pieces of initialization data, specify a maximum of 16 pieces of up-to-4-byte data (8 characters) by separating each with a space.
Each piece of initialization data are interpreted as comprising 1 byte in units of 2 characters from the tail end of the character string. If the data consists of an odd number of characters, the first character in it is assumed to be comprising 1 byte.
Note that if the data consists of 2 bytes or more, it is converted, before being written into the target memory, to an appropriate byte sequence that suits the project's endian as shown below.