background image

 

Chapter 5.  Building the Tutorial Project 

The tutorial project build settings have been pre-configured in the tool-chain options. To view the tool chain options select the ‘Build’ Menu 

item and the relevant tool-chain. This should be the first option(s) on the drop down menu. 

The dialog that is displayed will be specific to the selected tool-chain. 

The configuration pane on the left hand side will exist on all the 

tool-chain options. It is important when changing any setting to be 

aware of the current configuration that is being modified. If you 

wish to modify multiple or all build configurations this is possible by 

selecting ‘All’ or ‘Multiple’ from the ‘Configuration’ drop down list. 

 

Review 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 <Cancel>. Please 

note that, if you have modified any of the options and want to save 

it, you need to click <OK>. 

 

 

5.1. Building Code 

There are three short cuts available for building the project.   

 

Select the ‘Build All’ tool bar button.

 

This will build everything in the project that has not been excluded from the build. This includes the standard library. 

 

Select the ‘Build’ tool bar button. 

 

This will build all files that have changed since the last build. The standard library will not be built unless toolchain option 

settings are modified. 

 

Press ‘F7’ 

This is equivalent to pressing the ‘Build’ button described above. 

 

Build the project now by pressing ‘F7’ or pressing one of the build icons as shown above. 

During the build each stage will be reported in the Output Window. 

The build will complete with an indication of errors and warnings encountered during the build. 

Содержание RSK H8S2215R

Страница 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 RSK H8S2215R Tutorial Manual User s Manual Rev 1 00 2007 01 RENESAS SINGLE CHIP MICROCOMPUTER...

Страница 4: ...Session 7 Chapter 5 Building the Tutorial Project 8 5 1 Building Code 8 5 2 Connecting the debugger 9 5 3 Connecting to the target with E8Direct HMon 9 5 3 1 Connecting To HMon 13 Chapter 6 Downloadi...

Страница 5: ...arks of their respective companies or organisations Copyright Renesas Technology Europe Ltd 2006 All rights reserved Renesas Technology Corporation 2006 All rights reserved Website http www renesas co...

Страница 6: ...uded Release 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 exampl...

Страница 7: ...sion of the debug monitor within the Debug build and its exclusion in the Release build Contents of common C files are controlled with defines set up in the build configuration options and ifdef state...

Страница 8: ...rmance Embedded Workshop or from its icon 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 abo...

Страница 9: ...that 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...

Страница 10: ...lists to be aware of the options available When complete close the dialog box by clicking Cancel Please note that if you have modified any of the options and want to save it you need to click OK 5 1...

Страница 11: ...to the target with E8Direct HMon This section will take you through the process of connecting to the device programming the Flash and executing the code The E8 provides an interface called E8DIRECT to...

Страница 12: ...erent crystal frequency the device will not be listed in the sub pane In this case Press Other and navigate to your modified kernel Select E8DIRECT as the communication Port Press Next The default set...

Страница 13: ...ill be displayed Press OK To communicate with the RSK FDT and HMon need to be able to change the operating mode of the microcontroller To do this there are settings to control the state of the Mode pi...

Страница 14: ...wing warning dialog will be displayed Press OK Damage to the microcontroller can be sustained with incorrect settings Confirm the mode pin settings Press Finish The Flash configuration has now been co...

Страница 15: ...ed to confirm if it acceptable to assume only one E8 device will be connected to the host computer while using this project This is the preferred operating mode While it is possible to use more than o...

Страница 16: ...he connection still fails then a Boot Mode download will be required Press Abort In the Connection Error dialog box select Download HMon using Boot Mode Press OK Click OK to any warning dialogs Click...

Страница 17: ...Ensure 0x000D 1 Closed is selected and click OK On completion of the download HMon will automatically re connect to the monitor and revert back to User programming mode 15...

Страница 18: ...review the settings in each tab HMon includes a cache of the current device program This allows the number of reprogramming cycles to be reduced by not programming areas of the device that have not c...

Страница 19: ...le breakpoint Press Reset Go on the Debug Tool Bar The code will execute to the breakpoint At this point all the device initialisation will have been completed Press Step In on the Debug Tool Bar The...

Страница 20: ...rupt on an available internal timer On a compare match in the timer module an interrupt is generated In the TimerADC code version the interrupt reads the last ADC conversion for the external potentiom...

Страница 21: ...a button to bypass the flashing LED test Press Step In on the Debug Tool Bar It is possible to monitor variables during debugging of the code To set up a watch on a variable place the mouse over the...

Страница 22: ...g function call after the loop and select Go to cursor This shows that the variable was initialised at program start up and can be overwritten with TESTTEST The modified string is also displayed on th...

Страница 23: ...for greater detail on the purpose and operation of the compiler specific details 7 1 1 Initialisation code Resetprg c resetprg h This is the entry point of the main tutorial code Depending upon the c...

Страница 24: ...h There are four common stages to the configuration of the microcontroller device The code to demonstrate this is therefore split into four functions Each function is written specifically for the devi...

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

Страница 26: ...lled with this product For more information on the configuration and use of HMon please refer to the HMon User Manual installed from the CD Further information available for this product can be found...

Страница 27: ...Manual Publication Date Rev 1 00 12 01 2007 Published by Renesas Technology Europe Ltd Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom 2006 Renesas Technology Europe and...

Страница 28: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan Renesas Starter Kit for H8S2215R REG10J0023 0100 Tutorial Manual...

Отзывы: