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
(38D5 Group and M38D59FF for RSKM38D5
as illustrated)
•
Select ‘Erase Flash and Connect’
•
If the E8a is to provide power to the CPU
board, select ‘Power Target from Emulator’ and
choose ‘5.0V’ option.
Otherwise connect a 5V centre positive supply.
•
Press <OK>
7