Everything
2.11.1.7 Saving displayed memory contents

It is possible to save a specified range of memory contents to a text file (*.txt) or a CSV file (*.csv).

When saving to a file, CS+ gets latest information from the debug tool and saves data in an appropriate form in which data are currently displayed on this panel.

Choose [Save Memory Data As ...] from the [File] menu, and the Data Save dialog box shown below will be opened. (At this time, if you perform this operation while a range is selected on panel, it is possible to save only the selected range of memory data.)

In this dialog box, follow the procedure below to save memory contents.

Figure 2.108

Saving Memory Data (Data Save Dialog Box)

(1)

Specifying the [File Name]

Specify a file name in which you want to save.

Directly enter it in the text box (specifiable in up to 259 characters) or select an input history item from the drop-down list (up to 10 history entries).

Also, you can select a file from the Select Data Save File dialog box that is opened by clicking the [ ...] button.

(2)

Specifying the [File Type]

Select the type of file in which you want to save from the drop-down list below.

The selectable file types are as follows:

List display

Format

Text files (*.txt)

Text format (default)

CSV (comma-separated Variables) (*.csv)

CSV formatNote

Note

Each piece of data are separated with a comma (,) when saved.
To avoid the problem of an invalid file format in cases where any data includes a comma (,), each piece of data are enclosed in double-quotes (" ") when they are output to a file.

(3)

Specifying the [Save Range Address/Symbol]

Specify the "start address" and "end addresses" to set a range of memory to be saved in a file.

Directly enter hexadecimal value or address expressions in the respective text boxes or select an input history item from the drop-down list (up to 10 history entries).

Note that if a range is selected on panel, this selected range is specified, by default, in the text boxes. If no range is selected, the currently displayed range on panel is 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").

(4)

Clicking the [Save] button

Memory data is saved in specified form to a specified file.

Figure 2.109

Memory Data Output Image When Saved

Remark

If panel contents are saved over an existing file by selecting [Save Memory Data] on [File] menu, the respective Memory panels (Memory1 - 4) are handled individually.
Also, as to the save range, the previously specified address range is applied when data is saved.