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 question Learning Time 20 minutes 1
Workspace and Projects Workspace Contains one or more projects Simplifies project management Project Contains multiple configurations and sessions Project A Workspace Project C Configuration Configuration Session Session Project B 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. 2
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 3
HEW Window Workspace Standard Toolbar Project Configuration Session Project 4
Exploring the Workspace Workspace Project Configuration Directory Session Setting 5
Configuration Files Debug and Release configurations are compiled based on initial toolchain settings Output file using Release configuration is smaller than output file using Debug configuration Larger Smaller Configuration Debug Configuration Release 6
Usage Example 1 Compile debug code 2 Debug debug code in Simulator 3 Debug debug code in Emulator 4 Disconnect from target 5 Compile Release code 6 Debug Release code in Simulator 7 Debug Release code in Emulator 7
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 thirdparty types) 8
Create New Configuration 1 Click on Build Configuration 2 Click on Add 3 Type in new configuration name 4 Choose configuration on which new configuration will be based 9 HEW generates new subdirectory with assigned configuration name
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 10
Create New Session (Manual) 1 Click on Debug Session 2 Click on Add 3 Type in new session name 11 HEW creates new session
Set Up New Session 1 Click on Debug Settings 2 Select available target 3 Select debug format 4 Click on Add 5 Use placeholder filename 12
Add a New Debug Target New Session wizard makes it easy to add a new target 2 Name new session 1 Select New Session 3 New session is added to toolbar 13
PROPERTIES On passing, 'Finish' button: On failing, 'Finish' button: Allow user to leave quiz: User may view slides after quiz: User may attempt quiz: Goes to Next Slide Goes to Slide After user has completed quiz After passing quiz Unlimited times
Course Summary Definitions of Configuration and Session Basic functions and effective usage Generating and adding Configuration and Session files Download a free evaluation copy of HEW at: www.renesas.com/hew 15