2. Connection 9. Fit the LCD module to the connector marked LCD on the RSK. Ensure all the pins of the connector are correctly inserted in the socket. 10. Connect the E1 debugger module to the connector marked E1 on the RSK using the ribbon cable. 11. Connect the E1 debugger module to a spare USB port of your PC. The green ACT LED on the E1 debugger will flash. 12. The Found New Hardware Wizard will appear. Please follow the steps below to install the drivers. Note that, administrator privileges are required for a Windows XP/Vista machine. Windows XP Windows Vista a. Select option No, not this time in Found New a. Device driver software installed successfully Hardware Wizard dialog, and click <Next> pop-up will appear in the Windows toolbar and button. installation will complete. b. Verify the Recommended option is selected and click <Next>. c. If using Windows XP, go to step e otherwise, click <Next>. d. Click <Next> to install the driver. e. Click <Finish> to close the wizard. Note: The Windows driver signing dialog may be displayed. Please accept the driver to continue. 13. The green ACT LED on the E1 debugger will illuminate. 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) 1. Installation 14. Launch HEW from the Start Menu. (Start Menu > All Programs > Renesas > High-performance Embedded Do not connect the E1 debugger module until the software support has been installed. Workshop). 1. Insert the CD into your computers CD-ROM drive. The CD should automatically run the installation program. 15. In the Welcome dialog box: Verify Create New Workspace is selected. Click <OK> If the installer does not start, browse to the CD root folder and double click on setup.exe. 16. In the New Project Workspace dialog box: Set the CPU Family to RX, and verify the Tool chain is set to 2. Windows Vista users may see User Account Control dialog box. If applicable, enter the administrator Renesas RX Standard. Select RSKRX210 from the left hand pane. password and click <OK>. 17. Enter a name for the workspace. The project name will be automatically completed with the Workspace 3. The installer will ask you which language is to be used, please choose the appropriate one and click <OK>. name. You can change this name to Tutorial if required. Click <OK>. 4. On the first screen of the installer, click <Next>. 18. On the RSKRX210 Step 1 window: Select Tutorial and click <Next>. 5. The License Agreement will be shown, read and click <Yes>. 19. On the RSKRX210 Step 2 window: Click <Finish>. 6. The next screen asks you to pick the world region please select your region and click <Next>. 20. On the Project Generator Information window: Click <OK>. 7. The destination folders are shown on the next screen. It is recommended to accept the default settings. The project that is created has two configurations. The Release configuration compiles the project without any debugger support and can be used for the final release code version. The Debug configuration can be Click <Next> to begin copying the program files into the destination folders. used to debug the user application. Note: The Windows driver signing dialog may be displayed. Please accept the driver to continue. 8. After the completion of successful installation, click <Finish>. 21. Select the Debug build configuration in the left hand drop down list on the toolbar. 22. Click on the Build icon to compile, assemble and link the project. 35. The flash memory write program is then downloaded to the microcontroller. The Output window in HEW will 4. Programming and Debug state Connected. 23. Ensure that SessionRX E1 E20 SYSTEM session in the right hand drop down list on the tool bar is 36. Right click on the download module listed in the left selected. hand pane and select Download. The code will be 24. Click the <Connect> button on the Debug toolbar. downloaded to the microcontroller. 25. Select the correct MCU Group type (RX210 Group as illustrated). 26. Select the correct device type (R5F52108 as illustrated). 37. Click the <Reset Go> button. 27. Select Debugging Mode. You will see the LEDs flash on the board. Pressing 28. Select Power target from emulator with 5.0V as the power supply and click the Startup and Communication any of the switches on the RSK will allow you to tab. Check that the FINE Baud Rate is set to 2000000 bps. Also check that Mode Pin and Register Setting control the rate of flashing using the Analog Adjust control. are set to Single-chip mode, and Endian is set to Little Endian. Click <OK>. 29. In the next dialog box Configuration Properties ensure that Single-chip mode is set. 38. Click the <Stop> button. The code will stop and the source code will be opened at the current program counter. 30. Click <OK>. 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/rskrx210 6. Renesas RX 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 128Kbytes. Full licensed RX compiler versions are available from your Renesas supplier. 7. Support Online technical support and information is available at: www.renesas.com Technical Contact Details America: techsupport.america renesas.com Europe: tools.support.eu renesas.com Japan: csc renesas.com First use of the E1 module Note on Autoupdate: The Autoupdater is configured to automatically add itself to the Startup folder in 31. The Please choose driver dialog will be shown. Click <OK>. the Windows Start Menu and use the registry defaults for access to the web. After restarting the machine 32. The Driver Details dialog will be shown, please select the Icon will appear in the System Tray next to the clock. To change the settings or access Autoupdate, Renesas E-Series USB Driver as illustrated. The Interface simply right-click on the icon and use the menu that appears. and Channel items will be automatically populated. Click <Close>. 33. The Firmware setup dialog will be shown warning you not to 2011 Renesas Electronics Europe Limited. All rights reserved disconnect the USB cable until the firmware download is 2011 Renesas Electronics Corporation. All rights reserved. complete. Click <OK>. 2011 Renesas Solutions Corp. All rights reserved. 34. The firmware will be downloaded to the E1 module this will take a few moments. Website: www.renesas.com Please do not disconnect the E1 from the host during download, doing so is likely to damage the E1 module. D009974 11 S01 V01