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 on the drop down menu. 

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

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’ drop down lists to be aware of the 

options available. 

Note: For the purposes of the tutorial, leave all 

options at default. 

When complete close the dialog box by clicking <OK>. 

 

 

5.1. Building Code 

There is a choice of three shortcuts available for building the project.   

1.

 

Selecting 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. 

2.

 

Selecting 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 an option has been 

changed. 

3.

 

Pressing <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 any errors and warnings encountered during the build. 

Содержание M3T-SRA74

Страница 1: ...J10J1330 0200 Renesas Starter Kit for 7542 Tutorial Manual for M3T SRA74 RENESAS SINGLE CHIP 8 BIT CMOS MICROCOMPUTER 740 FAMILY Rev 2 00 Renesas Solutions Corp Revision date Aug 10 2007 www renesas c...

Страница 2: ...ons 5 4 3 1 Build Configuration 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 E8a 7 Chapter...

Страница 3: ...emarks of their respective companies or organisations Copyright Renesas Solutions Corporation 2007 All rights reserved Renesas Technology Europe Ltd 2007 All rights reserved Renesas Technology Corpora...

Страница 4: ...strating 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 this manual assume...

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

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

Страница 7: ...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 user are fully described in...

Страница 8: ...rop down lists to be aware of the options available Note For the purposes of the tutorial leave all options at default When complete close the dialog box by clicking OK 5 1 Building Code There is a ch...

Страница 9: ...t pin 1 on the module corresponds to the indication on the Renesas Starter Kit PCB Connect the E8a debugger to the USB port on your computer Connect the E8a Debugger to the target hardware ensuring th...

Страница 10: ...cted Note The connection to the target will activate the debugger buttons on the High performance Embedded Workshop toolbar Now is a good time to save the High performance Embedded Workshop session Se...

Страница 11: ...select Download Note The output display will show Flash memory write end to confirm the completion of the download On completion of the download the debugger is ready for the code to be executed To st...

Страница 12: ...on the line and select Toggle breakpoint Alternatively set an eventpoint by double clicking in the column to the left of the breakpoint column Up to 2 eventpoints can be set Eventpoints do not require...

Страница 13: ...enerated In the TimerADC code version the interrupt reads the last ADC conversion from the external potentiometer and uses the result to set the next compare match value The ADC conversion is then re...

Страница 14: ...ge in flash to RAM Press Reset Go on the debug toolbar The code will stop at the breakpoint Press one of the Renesas Starter Kit buttons to bypass the flashing LED test Press Step In on the debug tool...

Страница 15: ...emory Window will show that the first character of the variable string has been replaced with the first character of the constant replacement string Remove the breakpoint Right click on the DisplayStr...

Страница 16: ...rial code main a74 main inc This is the entry point of the main tutorial code The call to InitRAM ConfigurePortPins EnablePeripheraModules and ConfigureInterrupts will initialise the device hardware a...

Страница 17: ...4 There are two stages to the configuration of the microcontroller device The code to demonstrate this is therefore split into two functions Each function is written specifically for the device suppor...

Страница 18: ...on available 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 websites Gl...

Страница 19: ...or M3T SRA74 Publication Date Rev 2 00 Aug 10 2007 Published by Renesas Solutions Corp 4 1 6 Miyahara Yodogawa ku Osaka City 532 0003 Japan 2007 Renesas Solutions Corp Renesas Technology Europe Ltd an...

Страница 20: ...Renesas Starter Kit for 7542 Tutorial Manual for M3T SRA74 Renesas Solutions Corp 4 1 6 Miyahara Yodogawa ku Osaka City 532 0003 Japan...

Отзывы: