Introduction
Purpose
This training course describes the configuration and session features of the High-performance Embedded Workshop
(HEW), a key tool for developing software for embedded systems that use microcontrollers (MCUs) from Renesas Technology Corp.
Objectives
Describe the basic functions of configurations and sessions Explain the effective use of these features
Show the steps used to generate new configurations and sessions
Content
15 pages 1 questionLearning Time
20 minutes2
© 2008, Renesas Technology America, Inc., All Rights Reserved
Workspace and Projects
Workspace
Contains one or more projects Simplifies project management
Project
Contains multiple configurations and sessions
Workspace Project A Configuration Configuration Session Session Project B Project C
Projects are specific to a target MCU. However . . . • HEW configurations let you select different sets of toolchain options to be applied to the files in the project when it is built.
• HEW sessions allow you to select different debug targets or target settings.
Definitions
Configuration
A collection of parameter switches used for building a project HEW generates two configurations by default:
– Debug (Optimization is turned off in initial Debug configuration) – Release (Optimization is turned on in initial Release configuration)
Session
Determines which debut target is used Stores debug target parameters
– Default – Simulator – Emulator
4
© 2008, Renesas Technology America, Inc., All Rights Reserved
HEW Window
Workspace Project Project Standard Toolbar Configuration SessionExploring the Workspace
Workspace Project Session Setting Configuration Directory6
© 2008, Renesas Technology America, Inc., All Rights Reserved
Configuration Files
Configuration Debug Configuration Release
Debug and Release configurations are compiled based on
initial toolchain settings
Output file using Release configuration is smaller than output
file using Debug configuration
Usage Example
7 Debug “Release code” in Emulator 6 Debug “Release code” in Simulator
5 Compile “Release code”
3 Debug “debug code” in Emulator 2 Debug “debug code” in Simulator
4 Disconnect from target
8
© 2008, Renesas Technology America, Inc., All Rights Reserved
Effective Usage
Configurations and Sessions
Provide easy way to manipulate environmental settings
Enable quick and easy comparison of resulting code
- Size
- Performance
Allow you to add new debug targets
(proprietary or third-party types)Create New Configuration
HEW generates new subdirectory with assigned configuration name
Click on “Build Configuration”
Click on “Add” 1
2
Type in new configuration name 3
Choose configuration on which new configuration will be based 4
10
© 2008, Renesas Technology America, Inc., All Rights Reserved
Create New Session (Automatic)
Sessions are created automatically during new project generation
when Target is selected
Availability of sessions (Emulator, Simulator) depends on what
HEW components are installed
Selecting target generates session
Create New Session (Manual)
Click on “Debug Session” 1
Type in new session name 3
Click on “Add” 2
12
© 2008, Renesas Technology America, Inc., All Rights Reserved
Click on “Debug Settings” 1
Set Up New Session
Select available target 2
Select debug format 3
Use placeholder filename 5
Click on “Add” 4
Add a New Debug Target
“New Session” wizard makes it easy to add a new target
Select “New Session”
Name new session
New session is added to toolbar 1
2
PROPERTIES
On passing, 'Finish' button: Goes to Next Slide
On failing, 'Finish' button: Goes to Slide
Allow user to leave quiz: After user has completed quiz
User may view slides after quiz: After passing quiz
Definitions of Configuration and Session
Basic functions and effective usage
Generating and adding Configuration and Session
files
Course Summary
Download a free evaluation copy of HEW at: