background image

 

Chapter 4.  Project Workspace 

4.1. Introduction 

HEW is an integrated development tool that allows the user to write, compile, program and debug a software project on any of the Renesas 

Microcontrollers. HEW will have been installed during the installation of the software support for the RSK product. This manual will describe 

the stages required to create and debug the supplied tutorial code. 

4.2. Creating a new Project Workspace 

To look at the program, start High performance Embedded Workshop from the Windows Start Menu. 

Open a new tutorial workspace from the [File -> New Workspace…] menu or select ‘Create a new project workspace’ when presented with 

the ‘Welcome!’ dialog. 

 

The example above shows the New Project Workspace dialog with the RSK2H8S2472 selected. 

 

Select the ‘H8S, H8/300’ CPU family and ‘Hitachi H8S, H8/300 Standard’ Tool-chain for the RSK. 

 

Select the ‘RSK2H8S2472’ Project type for the RSK from the project list. 

 

Enter a name for the workspace; all your files will be stored under a directory with this name. 

 

The project name field will be pre-filled to match the workspace name above; this name may be changed. 

Note: HEW allows you to add multiple projects to a workspace. You may add the sample code projects later so you may 

wish to choose a suitable name for the Tutorial project now. 

Содержание H8S/2472

Страница 1: ...ok over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electron...

Страница 2: ...t for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas...

Страница 3: ...Renesas Starter Kit for H8S 2472 Tutorial Manual User s Manual Rev 1 00 2008 08 RENESAS SINGLE CHIP MICROCOMPUTER H8S FAMILY...

Страница 4: ...ion 5 4 3 2 Debug Session 5 Chapter 5 Building the Tutorial Project 6 5 1 Building Code 6 5 2 Connecting the debugger 7 5 3 Connecting to the target with the E10A 7 Chapter 6 Downloading and Running t...

Страница 5: ...or registered trademarks of their respective companies or organisations Copyright Renesas Technology Europe Ltd 2008 All rights reserved Renesas Technology Corporation 2008 All rights reserved Renesas...

Страница 6: ...ase build demonstrating code suitable for release in a product Files referred to in this manual are installed using the project generator as you work through the tutorials The tutorial examples in thi...

Страница 7: ...figuration menu in High performance Embedded Workshop HEW allows the project to be configured such that certain files may be excluded from each of the build configurations This allows the inclusion of...

Страница 8: ...orkspace from the File New Workspace menu or select Create a new project workspace when presented with the Welcome dialog The example above shows the New Project Workspace dialog with the RSK2H8S2472...

Страница 9: ...has been created contains two build configurations and two debug sessions The Build Configuration allows the same project to be built but with different compiler options The options available to the u...

Страница 10: ...w the options on each of the tabs and Category dropdown lists to be aware of the options available When complete close the dialog box by clicking OK 5 1 Building Code There are three shortcuts availab...

Страница 11: ...d Fit the LCD module to LCD on the RSK so it lies above U13 Ensure all the pins of the connector are correctly inserted in the socket Connect the E10A debugger to the USB port on your computer Connect...

Страница 12: ...program is downloaded The Output window in HEW will state Connected Now is a good time to save the HEW session Select File Save Session If you have changed any workspace settings now is a good time t...

Страница 13: ...CPU on the Debug Toolbar The File window should open the Tutorial code at the entry point An arrow marks the current position of the program counter We will now skip over the initialisation code and...

Страница 14: ...are faster to use Press Reset Go on the Debug Toolbar The code will execute to the breakpoint At this point all the device initialisation will have been completed Press Step In on the Debug Toolbar T...

Страница 15: ...on for the external potentiometer and uses the result to set the next compare match value The ADC conversion is then re started The interrupt initialisation is completed as part of the hardware setup...

Страница 16: ...context a tool tip will be displayed with the current value of the variable Hover the mouse over the ucStr variable to see the tooltip value Then Right click on the variable name and select Instant W...

Страница 17: ...can be overwritten with TESTTEST You have now run the tutorial code and used many of the common features of the debugger We suggest that you review the rest of the tutorial code as many functions have...

Страница 18: ...c details 7 1 1 Initialisation code resetprg c resetprg h This is the entry point of the main tutorial code Initialisation of the variables used in the C compilers and initialisation of stack pointers...

Страница 19: ...is common to all tutorial projects The display initialisation and string display functions operate on the LCD display module Check compatibility with ks0066u controller and pin connection on the schem...

Страница 20: ...able for this product can be found on the Renesas website at http www renesas com renesas_starter_kits General information on Renesas Microcontrollers can be found at the following website Global http...

Страница 21: ...orial Manual Publication Date Rev 1 00 28 08 2008 Published by Renesas Technology Europe Ltd Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH UK 2008 Renesas Technology Europe and Renesa...

Страница 22: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan Renesas Starter Kit for H8S 2472 REG10J0083 0100 Tutorial Manual...

Отзывы: