Power LED User LEDs E1 Header 12. After a successful installation click <Next>. Renesas Starter Kit QuickStart for RL78/G13 (CubeSuite+) 13. The Setup Completion window will appear. Click <Finish> to close the installer. Application Interfaces Serial Port 2. Connection DC Power Jack Reset Switch 14. 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. 15. Connect the E1 debugger module to the connector marked E1 on the RSK using the ribbon cable. LCD Module 16. Connect the E1 debugger module to a spare USB port of your PC. The green ACT LED on the E1 debugger will flash. LCD Module Header 17. 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 / Windows 7 a. Select option No, not this time in Found New a. Device driver software installed successfully LIN Hardware Wizard dialog, and click <Next> pop-up will appear in the Windows toolbar and button. installation will complete. E1 Emulator b. Verify the Recommended option is selected Application Interfaces Analogue Adjust and click <Next>. User Swiches c. Click <Finish> to close the wizard. Note: The Windows driver signing dialog may be displayed. Please accept the driver to continue. 18. The green ACT LED on the E1 debugger will illuminate. 3. CubeSuite+ Project 1. Installation CubeSuite+ integrates various tools such as compiler, assembler, debugger and editor into a common graphical user interface. To learn more on how to use CubeSuite+, refer to the CubeSuite+ Tutorial manual from the menu Do not connect the E1 debugger module until the software support has been installed. bar (Help > Tutorial). 1. Insert the CD into your computers CD-ROM drive. The CD should automatically run the installation program. If the installer does not start, browse to the CD root folder and double click on CsPlusLauncher.exe. 19. Launch CubeSuite+ from the Windows Start Menu. (Start Menu > All Programs > Renesas Electronics 2. Windows Vista/Windows 7 users may see User Account Control dialog box. If applicable, enter the CubeSuite+ > CubeSuite+). administrator password and click <OK>. 20. The One Point Advice dialog which provides useful tips will open. The detail for this is out of scope for this 3. The pre installer will first check to see if the CubeSuite prerequisites are present, and will install if necessary guide. Click <OK>. (this may take a few minutes). 21. The Start panel will appear. Select the RSKRL78G13 Tutorial project under the Open Sample RSK Project 4. Once the prerequisites are setup, the CubeSuite+ installer will launch. and click <GO>. 5. The CubeSuite+ Welcome window will appear. Click <Next>. 6. The End User License Agreement appears. Read the license agreement and select <Accept> if you wish to continue. Click <Next>. 7. The Select Component window appears. Review the components by selecting each component in turn. Click <Next> to continue. 8. The License Key Registration window appears. If you have a license key available, click the <License Manager> button, otherwise go to Step 9. Enter the license key in the opened License Manager dialog. Add the license key. Click <Add>. If the license key is added successfully, click <Close>. 22. In the Create Project dialog that follows, specify a name for the project. Leave the list of subprojects 9. Click <Next>. unselected. 10. The Installation Settings Confirmation window appears. Review the information and click <Next> to begin 23. Click Create to launch the main Tutorial project. installation. 11. The Installation Execution window will appear showing the install status progress. Before completion, the Renesas E-Series USB Driver installation dialog will appear. Windows Vista and Windows 7 users may see a Windows Security dialog box. Click Always trust software from Renesas Solutions Corp. then click <Install>. 4. Programming and Debug 31. Click the <Restart> button to reset the CPU then start program execution. 24. Click on RL78 Simulator (Debug Tool) from the Project Tree pane and select the RL78 E1 (Serial) as The user LEDs on the board will flash at regular intervals. Pressing any of the switches on the RSK, or after shown in the following screenshot: 200 flashes have elapsed, will display the string STATIC on the second line of the debug LCD. The second line will then be replaced with the string TESTTEST one character at a time whilst allowing you to control the user LEDs flashing rate using the potentiometer shaft. 32. Click the <Stop> button. The code will stop and the source code will be opened at the current program counter. 25. Right-click on RL78 E1(Serial) (Debug Tool) and select Property. 5. Next Step 26. On the Property tab, select Power target from the emulator.(MAX200mA). After you have completed this quick start procedure, please review the tutorial code and sample code that 27. Click on the drop-down menu button on the right and select Yes. A new entry, Supply voltage, will appear. came with the kit. You can review these codes by changing the active project to another project. The tutorials 28. Click on the Supply voltage entry and change the voltage to 5.0V from the drop-down menu. 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/rskrl78g13 29. Build the project by clicking on the Build Project button. 6. Renesas RL78 Compiler 30. Download the code to the microcontroller by clicking on the download button. The version of the compiler provided with this RSK is fully functional with no time restrictions. The compiler will limit the code linker to 64k bytes. Full licensed RL78 compiler versions are available from your Renesas Caution supplier. When using for the first time or E1 & board are used in the CubeSuite+ environment of a different version from this product, the following error dialog is displayed. 7. User Manuals User manuals can found in the Windows Start Menu. (Start Menu > All Programs > Renesas Electronics CubeSuite+ > Readme Documents > RSK > RSKRL78G13). 8. Support Online technical support and information is available at: www.renesas.com/rskrl78g13 Technical Contact Details csc renesas.com In order to avoid this error, open the RL78 E1 (Serial) Property, and set theErase flash ROM when startin on the Connect Settings tab to YES, to download the program. Note on Update Manager: The Update Manager checks via Internet for any updated resources available for each installed CubeSuite+ tool and downloads them accordingly to simplify the update process. Automatic updates will not work if CubeSuite+ is installed without a license key. 2011 (2014) Renesas Electronics Corporation Website: www.renesas.com D010234 11 S01 V02