• 検索結果がありません。

Introduction Purpose This course explains how to use Mapview, a utility program for the Highperformance Embedded Workshop (HEW) development environmen

N/A
N/A
Protected

Academic year: 2021

シェア "Introduction Purpose This course explains how to use Mapview, a utility program for the Highperformance Embedded Workshop (HEW) development environmen"

Copied!
16
0
0

読み込み中.... (全文を見る)

全文

(1)

Introduction

Purpose

 This course explains how to use Mapview, a utility program for the High-performance Embedded Workshop (HEW) development environment for microcontrollers (MCUs) from Renesas Technology Corp.

Objectives

 Learn how to generate a map file

 Know how to activate the Mapview utility and identify the components  Understand how to use the information provided in Mapview

Content

 16 pages  3 questions

Learning Time

(2)

HEW GUI utility

Opens map files

Presents stored map-file information in easy-to-read format

 Section or symbol name  Start and End addresses  Size

 Type

 Optimization

Helps with debugging and analysis

(3)

Map File Review

C File Assembly File Library File

Linker

Map File =

Final output of machine code with all related information

(4)

Creating a Map File

Go to Toolchain configuration window

Select List category

Select Enable all Select Link/Library tab

In this example, the settings apply to the Debug configuration

1 2 5 3 Click “OK” 6

Build project; Map file is created in project’s Debug sub-folder

Select Generate list

(5)

Map File Contents

 Can be opened with text editor

(6)

Activating Mapview

Two methods can be used to activate Mapview GUI

Within HEW, use Tools pull-down menu

From Windows® Start menu, Select Renesas;

High-performance Embedded Workshop; then Mapview and use Start menu

(7)

Snapshot of Mapview

Title bar Menu bar Tool bar Section information view Status bar Symbol information view Optimization information view

To load a map file, select “File” and then “Open,” or press “Control” plus “O” keys. Then select the map file you want to analyze.

(8)

Using Mapview Data

Mapview contains useful information for

analysis and debugging:

Types of optimization used

Exact location of each symbol or section

Memory space each symbol or section occupies

Number of times each symbol is accessed

(9)

With this information you can

Directly amend any symbol without

recompiling the codes

View the allocated data in each

section after compiling

Ensure that symbols do not overflow

into unused or undesired areas

Plan new sections for more efficient

memory use

Study Symbols and Make Changes

Types of optimization used

Exact location of each symbol or section

Memory space each symbol or section occupies

Number of times each symbol is accessed

(10)

With this information you can

Focus optimization on symbols or

sections with the largest code size

Determine whether data in Constant

and Initial Data areas could be

eliminated

Find Areas for Optimization

Types of optimization used

Exact location of each symbol or section

Memory space each symbol or section occupies

Number of times each symbol is accessed

(11)

With this information you can

Determine whether frequency of

access tallies with your expectations

Focus on frequently used symbols

when optimizing for speed

Review Symbol Usage

Types of optimization used

Exact location of each symbol or section

Memory space each symbol or section occupies

Number of times each symbol is accessed

(12)

With this information you can

Understand changes after compiling

Identify bugs more easily

Review affected symbols to further

optimize code

Determine Effects of Optimization

Types of optimization used

Exact location of each symbol or section

Memory space each symbol or section occupies

Number of times each symbol is accessed

(13)

PROPERTIES

On passing, 'Finish' button: Goes to Next Slide

On failing, 'Finish' button: Goes to Slide

(14)

PROPERTIES

On passing, 'Finish' button: Goes to Next Slide

On failing, 'Finish' button: Goes to Slide

(15)

PROPERTIES

On passing, 'Finish' button: Goes to Next Slide

On failing, 'Finish' button: Goes to Slide

(16)

Map file generation

Map file viewing with Mapview

Analysis using Mapview information

Course Summary

Download a free evaluation copy of HEW at:

参照

関連したドキュメント

We observe that the elevation of the water waves is in the form of traveling solitary waves; it increases in amplitude as the wave number increases k, as shown in Figures 3a–3d,

We use both points of view to prove generalizations of classical results such as Whitehead Theorem and use these new results to study their homotopy properties.. Of course,

When using motorized spot spray equipment (rider bar), use a 3% v/v solution. See Spot Spray Dilution Table below for rates of Touchdown CT/volume of fi nished spray solution.

Read the Limitation of Warranty and Liability on the Section 3 Federal product label before buying or using THIS product. If terms are not acceptable, return the unopened package

Kiihleitner, An omega theorem on differences of two squares, $\mathrm{I}\mathrm{I}$ , Acta

There are a large number of researches on the uses of goal-oriented and non-goal-oriented verbs (corresponding to come and go in English) of world languages (e.g.

Study Required Outside Class 第1回..

R1and W: Predicting, Scanning, Skimming, Understanding essay structure, Understanding and identifying headings, Identifying the main idea of each paragraph R2: Summarizing,