Everything
 

Memory Initialize dialog box


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.

Figure A.32

Memory Initialize Dialog Box

 

Here, the following items are explained.

[How to open]

-

Choose [Fill...] from the context menu on the Memory panel.

[Description of each area]

(1)

Range specification area

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.

Caution

Note that an address range that covers areas with different endians cannot be specified.

Remark

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").

(2)

[Initialize data] area

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.

Input character string (initialization data)

Written-in image (in bytes)

Little endian

Big endian

1

01

01

0 12

00 12

00 12

00 012 345

00 12 00 45 03

00 00 12 03 45

000 12 000345

00 00 12 45 03 00

00 00 12 00 03 45

[Function buttons]

Button

Function

OK

Writes a pattern of specified initialization data into a specified address range of memory repeatedly. (If the end address is reached in the middle of this pattern, the write process is terminated.)

Cancel

Nullifies settings for memory value initialization and closes this dialog box.

Help

Displays help for this dialog box.