Download presentation
Presentation is loading. Please wait.
Published byCathleen Jordan Modified over 8 years ago
1
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose This training course demonstrates the use 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 Take a quick tour of the multiple-window HEW user interface. Become familiar with the basic steps involved in starting a project, editing and compiling the code, and running a simulation in order to debug the code. Content 24 pages 0 questions Learning Time 15 minutes
2
© 2008, Renesas Technology America, Inc., All Rights Reserved 2 Scope of This Demonstration Project Generation Compiling Simulation
3
© 2008, Renesas Technology America, Inc., All Rights Reserved 3 To begin: Invoke HEW from the “Start” menu or double-click on HEW2.exe 2. Click “OK” 1. Select the desired option Project Generation: Getting Started Project GenerationCompilingSimulation
4
© 2008, Renesas Technology America, Inc., All Rights Reserved 4 2. Enter project name 5. Click “OK” 1. Select the project type New Project Workspace Project GenerationCompilingSimulation 3. Select CPU family 4. Select toolchain
5
© 2008, Renesas Technology America, Inc., All Rights Reserved 5 Setting Up 2. You can select CPU series and CPU type 1. Enter version of toolchain you are using 3. Click “Next” Project GenerationCompilingSimulation
6
© 2008, Renesas Technology America, Inc., All Rights Reserved 6 Choosing Options 1. Specify the global options that you want to use 2. Click “Next” Project GenerationCompilingSimulation
7
© 2008, Renesas Technology America, Inc., All Rights Reserved 7 Defining Initialization 1. Choose the initialization routine you want to use 2. Click “Next” Project GenerationCompilingSimulation
8
© 2008, Renesas Technology America, Inc., All Rights Reserved 8 Setting the Standard Library 2. Click “Next” 1. Choose the libraries you want to use Project GenerationCompilingSimulation
9
© 2008, Renesas Technology America, Inc., All Rights Reserved 9 Stack Area Settings 2. Click “Next” 1. Enter the stack pointer address and stack size Project GenerationCompilingSimulation
10
© 2008, Renesas Technology America, Inc., All Rights Reserved 10 Setting the Vector 2. Click “Next” (You cannot enter vector handlers here) 1. Select checkbox if you want to create vector definition files Project GenerationCompilingSimulation
11
© 2008, Renesas Technology America, Inc., All Rights Reserved 11 1. Choose the simulator you will be using, and… Systems for Debugging 3. Click “Next” 2. the type of target device Project GenerationCompilingSimulation
12
© 2008, Renesas Technology America, Inc., All Rights Reserved 12 Debugger Options 2. Click “Next” 1. Make the appropriate selections Project GenerationCompilingSimulation (Default settings are usually OK)
13
© 2008, Renesas Technology America, Inc., All Rights Reserved 13 Source Files 2. Click “Finish” 1. Check the list of source files to be generated; change file names if necessary Project GenerationCompilingSimulation
14
© 2008, Renesas Technology America, Inc., All Rights Reserved 14 Project Generation Summary 1. Click “OK” Project GenerationCompilingSimulation
15
© 2008, Renesas Technology America, Inc., All Rights Reserved 15 Compiling the Code 1. Click on “Tutorial.c” to select it, then double- click on the file to open it in the editor CompilingProject GenerationCompilingSimulation
16
© 2008, Renesas Technology America, Inc., All Rights Reserved 16 2. Build Tutorial.c 1. Edit Tutorial.c Edit and Build Functions CompilingProject GenerationCompilingSimulation
17
© 2008, Renesas Technology America, Inc., All Rights Reserved 17 Log of compilation results Viewing Compiled Results CompilingProject GenerationCompilingSimulation
18
© 2008, Renesas Technology America, Inc., All Rights Reserved 18 1. Switch from “DefaultSession” to “SimSessionH8SXA” 2. Click “Yes” Using the Simulator CompilingProject GenerationCompilingSimulation
19
© 2008, Renesas Technology America, Inc., All Rights Reserved 19 1. Right-click on “Tutorial.abs” Downloading Code CompilingProject GenerationCompilingSimulation 2. Select “Download module”
20
© 2008, Renesas Technology America, Inc., All Rights Reserved 20 Double-click to set a software breakpoint Setting a Software Breakpoint CompilingProject GenerationCompilingSimulation
21
© 2008, Renesas Technology America, Inc., All Rights Reserved 21 1. Click “Reset Go” Program Execution CompilingProject GenerationCompilingSimulation
22
© 2008, Renesas Technology America, Inc., All Rights Reserved 22 1. Right-click on the variable “count” 3. Click “Add” Setting Instant Watch CompilingProject GenerationCompilingSimulation 2. Select “Instant Watch”
23
© 2008, Renesas Technology America, Inc., All Rights Reserved 23 1. Add the variable “i” 2. Perform a Step-In (F11) 3. Observe the changes line-by-line Adding Variables Demonstration complete. Try it yourself! Download a FREE evaluation copy of HEW at www.renesas.com/hew CompilingProject GenerationCompilingSimulation
24
© 2008, Renesas Technology America, Inc., All Rights Reserved 24 Speed and ease of use for software development Intuitive HEW GUI Project generation Compiling code Debugging code with a simulator Course Summary Download a free evaluation copy of HEW @ www.renesas.com/hew
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.