background image

 

5.2. Connecting the debugger 

For this tutorial it is not necessary to provide an external power supply to the board. The power will be obtained from the USB port. Please 

be aware that if you have too many devices connected to your USB port it may be shut down by Windows. If this happens remove some 

devices and try again. Alternatively provide an external power source taking care to ensure the correct polarity and voltage. 

The Quick Start Guide provided with the Renesas Starter Kit board gives detailed instructions on how to connect the E8a to the host 

computer. The following assumes that the steps in the Quick Start Guide have been followed and the E8a drivers have been installed. 

 

Fit the LCD module to J8 on the Renesas Starter Kit ensuring that 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 that it is plugged into the connector marked J6 which is nearest 

the power connector. 

 

If supplying external power to the board this can be turned on now. 

5.3.  Connecting to the target with the E8a 

This section will take you through the process of connecting to the device, programming the Flash and executing the code. 

 

Select the ‘Session740_E8a_SYSTEM’ debug 

session. 

 

Click the <Connect> button   

on the debug toolbar. 

 

The “Emulator Setting” dialog will be shown. 

Select the correct MCU  group  and  device type 

(3803L Group and M38039FFL for RSKM3803L 

as illustrated) 

 

Select ‘Erase Flash and Connect’. 

 

If the E8a is to provide power to the CPU 

board, select ‘Power from Emulator’ and 

choose the ‘5.0V’ option. 

Otherwise connect a 5V centre positive supply. 

 

Press <OK> 

 

 

 

Summary of Contents for 740 Family

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

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

Page 3: ...Renesas Starter Kit for 3803L Tutorial Manual for M3T SRA74 User s Manual Rev 2 00 2007 08 RENESAS SINGLE CHIP 8 BIT CMOS MICROCOMPUTER 740 FAMILY...

Page 4: ...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...

Page 5: ...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...

Page 6: ...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...

Page 7: ...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...

Page 8: ...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 t...

Page 9: ...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...

Page 10: ...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...

Page 11: ...g that 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 ensuri...

Page 12: ...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...

Page 13: ...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...

Page 14: ...ternatively 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 programming the flash memory and so are fa...

Page 15: ...e last ADC conversion from 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...

Page 16: ...AM 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 toolbar It is possib...

Page 17: ...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...

Page 18: ...ain a74 main inc This is the entry point of the main tutorial code The call to InitRAM Do While Zero Setting ConfigurePortPins EnablePeripheraModules and ConfigureInterrupts will initialise the device...

Page 19: ...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...

Page 20: ...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...

Page 21: ...for 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 a...

Page 22: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan Renesas Starter Kit for 3803L REJ10J1334 0200 Tutorial Manual for M3T SRA74...

Reviews: