Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Putting memory allocation information of symbols using HEW.

Latest Updated:09/10/2007

Question:

[High-performance Embedded Workshop V.4, V.3]  I would like to output memory allocation information of the symbols using HEW.

Answer:

[In case of using the C/C++ compiler package for the SH family or H8 family]

Please do the followings.

  1. Select [… Standard Toolchain…] from [Build] menu of the High-performance Embedded Workshop.
  2. Select [List] from Category in Link/Library tab window. Check for [Generate list file] and click [Enable all] button.
  3. Build the project. Linkage map list file is generated.
  4. Select [Hitachi Mapview] from Tools menu in the High-performance Embedded Workshop to invoke MapView. Select the linkage map list file generated by procedure Section 3 by selecting [Open] from File menu in the MapView.
  5. Confirm the address by MapView. About to the usage of MapView, please refer to the online help of the MapView.

[In case of using the compiler package for for R8C and M16C families]

Please do the followings.

  1. Select [… Standard Toolchain…] from [Build] menu of the High-performance Embedded Workshop.
  2. Select [Output] from Category in Link tab window.
    Select -MS or -MSL in [Generate map file] area.
    (The default option is -MS.)
  3. Build the project. Map file (*.map) is generated.
    The memory allocation information of the symbols is output to the Map file.

And also if the following options are used in the compiler or assembler for the R8C and M16C family the information of the static symbols within each file and the local label symbols are output to the Map file.

<For the compilers>

  1. Select [… Standard Toolchain…] from [Build] menu of the High-performance Embedded Workshop.
  2. Select [Others] from Category in C tab window.
  3. Select -as30 "-S" in [User defined Options] area.

<For the assemblers>

  1. Select [… Standard Toolchain…] from [Build] menu of the High-performance Embedded Workshop.
  2. Select [Object] from Category in Assembly tab window.
  3. Check -S.
Suitable Products
High-performance Embedded Workshop
C/C++ Compiler Package for SuperH Family
C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]
C Compiler Package for R32C Series
C/C++ Compiler Package for H8SX, H8S, H8 Family