Everything
2.9.1 Use the Memory Mapping Profiler panel to display memory information

The Memory Mapping Profiler panel is used to display memory mapping information of the load module which has been collected from the build tool.

The following two methods for operating the Memory Mapping Profiler panel are available to suit the type of project.

(1)

Projects other than debug-dedicated projects, such as application projects

<1>

Open a project with CS+ for CC. If there is a subproject, specify the main application project as the active project for use in displaying memory information.

<2>

Form the [View] menu, select [Memory Mapping Profiler].

<3>

Click on the [Profile] button in the Memory Mapping Profiler panel.
If any of the following Message dialog boxes (Q0294007 [RL78], Q0291003 [RX], and Q0293008 [RH850]) is displayed, select [Yes]. Options related to memory mapping information are changed. This will not cause changes to the code of load module files or hexadecimal files which have been generated by the build tool.

Figure 2.94

Message Dialog Box

Clicking on the [Profile] button changes the button name to [Profile (Collect)].

Figure 2.95

[Memory Mapping Profiler] Button

<4>

Rebuild the project. With normal completion of rebuilding, the contents of the list file of the linker will be shown in the grid control at the bottom of the panel. The following describes each part of the panel.

Remark 1.

Running a rebuild is not required when [Yes] was selected in response to the message displayed in step <3> above and a rapid build has been enabled. On completion of the rapid build execution, the latest memory information is displayed in the Memory Mapping Profiler panel.

Remark 2.

Clicking on the [Save] button saves the latest result of profiling as a snapshot with a different name. When the result of profiling is updated, changes can be checked through comparison with the saved snapshot.

Figure 2.96

Each Part of the Panel

 

For details on the displayed contents and sorting or filtering in each tabbed page of the grid control, refer to the description of the Memory Mapping Profiler panel .

(2)

Debug-dedicated projects

This method is available when a link map file (*.map) which has been generated by the build tool along with the load module file exists.

<1>

Create a new application project for CCRH, CCRL, or CCRX to display memory mapping information. Select a microcontroller which is equivalent to the target device of the load module file.

<2>

Specify "copy<path to the link map file to be displayed>DefaultBuild\<project name>.map" for the [Commands executed after link processing] property on the [Link Options] tabbed page.

<3>

Click on the [Profile] button in the Memory Mapping Profiler panel.
-> The label of the button changes to [Profile (Collect)].

<4>

Build the project.
-> The contents of the link map file are shown in the panel.