R0K33062PS001BE

3. HEW Workspace
HEW integrates various tools such as compiler, assembler, debugger and editor into a common graphical user interface. To learn more on how to use HEW, open the
HEW manual installed on your computer (Start Menu > All Programs > Renesas > High-performance Embedded Workshop > Manual Navigator).
18. Launch HEW from the Start Menu. (Start Menu > All Programs > Renesas > High-performance Embedded Workshop).
19. In the “Welcome” dialog box: Verify “Create New Workspace” is selected. Click <OK>
20. In the “New Project Workspace” dialog box: Set the “CPU Family” to “M16C”, and verify the “Tool chain” is set to “Renesas M16C Standard”. Select
“E8A_RSKM16C62P” from the left hand pane.
21. Enter a name for the workspace. The project name will be automatically completed with the Workspace name. You can change this name to ‘Tutorial’ if required.
Click <OK>.
22. On the “E8A_RSKM16C62P– Step 1” window: Select “Tutorial” and click <Next>.
23. On the “E8A_RSKM16C62P– Step 2” window: Click <Finish>.
24. On the Project Generator Information window: Click <OK>.
The project that is created has two configurations. The Release configuration can be used for the final release code version. The Debug configuration allows
modifications to the configuration for debugging.
25. Select the Debug build configuration in the
left hand drop down list on the tool bar.
26. Click on the ‘Build’ icon to compile, assemble and link the project.
4. Programming and Debug
27. Ensure the “SessionM16C_E8a_SYSTEM”
session in the right hand drop down list on
the tool bar is selected.
28. Click the <Connect> button on the debug toolbar
29. The “Emulator Mode” wizard will be shown.
Select the correct MCU group (M16C/62P) and device type (M30626FJP for
RSKM16C62P )
Please note that the “Emulator mode” view shown here will only appear the
FIRST time you connect to the target within a project. On subsequent
connections the “Emulator setting” dialog will appear, please choose the same
options to connect – refer to the RSKM16C62P Tutorial manual for details.
30. Select “Erase Flash and Connect”.
If the E8a is to provide power to the CPU board, select “Power Target from E8” and
choose the “5.0V” option. Otherwise connect a 5V centre positive supply.
31. Click <Next>
32. In the “Firmware Location” view, select “FF000” for the Program location and “7F00”
for the Work RAM location, Clear the “Debugging of program that uses WDT”
checkbox; click <Next>.
33. The “MCU Setting” view will be shown.
Select the processor mode “Single-Chip Mode”. Ignore “Memory Space Expansion”.
34. Set “PM13 (b3 of 000005H) is 1” checkbox.
35. Clear “PM10 (b0 of 000005H) is 1” checkbox.
36. Click <Finish>.
Note: The first time the E8a is connected, you may be asked to choose a driver, select “Renesas Communications”, after a few seconds the “Interface”
and “Channel” numbers will be automatically displayed, click <Close> on the dialog.
D006344_11_S01_V04
37. Accept any dialog warning that a different version of E8a firmware is necessary to work with the application.
Allow download of firmware to complete, this may take several seconds.
38. Right click on the download module listed in the left hand pane and select
‘Download’.
The code will be downloaded to the microcontroller. This may take several
seconds.
39. Click the <Reset – Go> button.
The code will run and you will see the LEDs flash on the board.
40. Click the <Stop> button.
The code will stop and the source code will be opened at the current program counter.
5. Next Step
After you have completed this quick start procedure, please review the tutorial code and sample code that came with the kit. You can add projects to the current
workspace by selecting (Project > Insert Project) from the main menu. The tutorials will help you understand the device and development process using Renesas
Development Tools.
The Hardware manual supplied with this RSK is current at the time of publication. Please check for any updates to the device manual from the Renesas internet
site at:
www.renesas.com/renesas_starter_kits
6. Renesas M16C Compiler
The version of the compiler provided with this RSK is fully functional but time limited. You have 60 days to evaluate the full product before the compiler will limit the
code linker to 64k bytes.
Full licensed M16C compiler versions are available from your Renesas supplier.
7. Support
Online technical support and information is available at: www.renesas.com/renesas_starter_kits
Technical Contact Details
America: techsupport.rta@renesas.com
Europe:
tools.support.eu@renesas.com
Japan:
csc@renesas.com
Note on Autoupdate: The Autoupdater is configured to automatically add itself to the Startup folder in the Windows Start Menu and use the registry defaults
for access to the web. After restarting the machine the Icon will appear in the System Tray next to the clock. To change the settings or access Autoupdate
simply right-click on the icon and use the menu that appears.
© Renesas Technology Europe Ltd 2007.
© Renesas Technology Corporation 2007.
D006344_11_S01_V04

R0K33062PS001BE

Mfr. #:
Manufacturer:
Renesas Electronics
Description:
Development Boards & Kits - Other Processors RSK for M16C/62P
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet