Difference between revisions of "Renesas:RXHEW"

From Serious Documentation
Jump to: navigation, search
(Installing the Hardware Programmer/Debugger Drivers)
Line 53: Line 53:
 
==Installing the Hardware Programmer/Debugger Drivers ==
 
==Installing the Hardware Programmer/Debugger Drivers ==
  
Now that HEW and GNURX Toolchain are installed, you can now install the hardware debugger software drivers.  At this point you have a few options in selecting the hardware debugger.  This installation guide will go over the Renesas E1/E20 and the Segger J-Link/J-Link Lite installation.  The Renesas E1 debugger, the Segger JLink and the Segger JLink-Lite debugger are all used in the development of Serious products.
+
Now that HEW and GNURX Toolchain are installed, you can now install the hardware debugger software drivers.  
  
 +
At this point you have a few options in selecting the hardware debugger.  This installation guide will go over the Renesas E1/E20 and the Segger J-Link/J-Link Lite installation.  The Renesas E1 debugger, the Segger JLink and the Segger JLink-Lite debugger are all used in the development of Serious products.
  
 +
We recommend you install drivers for both the E1 and JLink.
  
+
===Installing the Renesas E1/E20 Debugger Drivers===
  
 +
#Download the latest driver software for the <ext>http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e1/downloads.jsp ::E1</ext> or <ext>http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e20/downloads.jsp ::E20</ext>.
 +
#Run the installer.
 +
#The HEW Install Manager will also be installed with the RX E1/ED20 Emulator Debugger along with the E-Series USB Drive and an Auto-Update utility.  Go ahead and install all those items as well.
  
 +
===Installing the Segger JLink Debugger Drivers===
  
+
The Segger J-Link and J-Link LITE RX debuggers are great, cost-effective debugger solutions, and are included with many SIM bundles, including the [[SIM110-A00-SJL]], [[SIM205-A00-SJL]], and [[SIM225-A00-SJL]].
  
  
 +
These Renesas links have important information about the <ext>http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers ::J-Link</ext> and <ext>http://segger.com/jlink-lite-rx.html ::J-Link LITE</ext> debuggers.
  
+
The Segger J-Link Driver install is actually a two part download/install process.
  
<div> name="_Toc340819002" </div>
 
  
If you’re using the Renesas E1 or E20 debugger, download the appropriate driver software from the following links:
+
To install the Segger J-Link or J-Link LITE RX, you will need two files from this link:
 
 
 
 
 
 
·        E1: [http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e1/downloads.jsp http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e1/downloads.jsp]
 
 
 
 
 
 
 
·        E20: [http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e20/downloads.jsp http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e20/downloads.jsp]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Find the latest debugger installation link in the list, download it and run it.  The HEW Install Manager will also be installed with the RX E1/ED20 Emulator Debugger along with the E-Series USB Drive and an Auto-Update utility.  Go ahead and install those items as well.
 
 
 
 
 
 
 
 
 
 
<div> name="_Toc340819003" </div>
 
 
 
Segger J-Link and J-Link Lite debuggers are great, cost-effective debugger solutions.  For the Segger J-Link and J-link Lite, these links have important information about the debuggers:
 
 
 
 
 
 
 
·        J-Link: [http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e1/downloads.jsp http://www.renesas.com/products/tools/emulation_debugging/onchip_debuggers/e1/downloads.jsp]
 
 
 
 
 
 
 
·        J-Link Lite: [http://segger.com/jlink-lite-rx.html http://segger.com/jlink-lite-rx.html]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
To install the Segger J-Link or J-Link Lite for the RX-family, you will need two files from this link:
 
  
  

Revision as of 14:14, 23 November 2012

Introduction

Software development in C on Serious Integrated Modules (SIMs) using the Renesas RX600 series MCUs requires the following software installs:

  • Renesas High-performance Embedded Workshop (HEW) or the Eclipse-based E2Studio
  • GNU C compiler (supplied by KPIT Cummins)

In addition, one of the following programmer/debugger hardware units must be used with the appropriate drivers:

  • Renesas E1/E20 debugger drivers
  • Segger Jlink

For more information on Renesas development tools, please visit the Renesas tools site.

Installing HEW

HEW runs on Windows XP, Vista and 7 platforms. Please consult the Renesas HEW website for complete system requirements.

Renesas HEW IDE is not available for download as a standalone item. Instead, you must download the complete build from a starter kit or development kit. These instructions use the release image for the YRDKRX63N starter kit.

  1. Download the YRDKRX63N Installation ZIP to your PC and extract it.
  2. Run the install program autorun.exe from the DVD10 folder to install HEW. DO NOT INSTALL the KPIT GNU Compiler from the YRDKRX63N installation files: the version included in the YRDKRX63N installation may be out of date. Also, you will need an activation key from KPIT Cummins. After the base HEW IDE is installed we'll cover how to get and install the latest KPIT GNU C compiler suite.
  3. RDK Installation Startup Screen


  4. Install the YRDKRX63N with the rest of the settings as default.

Updating HEW

Once HEW is installed, you will need to update it to the latest revision. This will enable new features and new microprocessor support for the RX63x series as well.

  1. Download the latest updater for HEW at the Renesas HEW update website
  2. Follow the install directions and update your HEW install to the latest version.


Installing the KPIT GNU C Compiler

For C-based development, including using SHIPWare, you will need a C Compiler. The no-cost GNU C/C++ compiler from KPIT Cummins includes full plug-in compatibility with the Renesas HEW IDE.

  1. Register with KPIT and get an activation code before you can download and install the tools; it may take 24 hours to get access and a code.
  2. Once you have your activation code, log into the KPIT website, and navigate to the Free Downloads->KPIT GNU Tools area.
KPIT GNU Tools & Support Page
  1. Select the GNURX vXX.XX Windows Tool Chain (ELF) download
GNURX selection
  1. Run the downloaded installer. Default settings are usually sufficient for the installation.

Installing the Hardware Programmer/Debugger Drivers

Now that HEW and GNURX Toolchain are installed, you can now install the hardware debugger software drivers.

At this point you have a few options in selecting the hardware debugger. This installation guide will go over the Renesas E1/E20 and the Segger J-Link/J-Link Lite installation. The Renesas E1 debugger, the Segger JLink and the Segger JLink-Lite debugger are all used in the development of Serious products.

We recommend you install drivers for both the E1 and JLink.

Installing the Renesas E1/E20 Debugger Drivers

  1. Download the latest driver software for the E1 or E20.
  2. Run the installer.
  3. The HEW Install Manager will also be installed with the RX E1/ED20 Emulator Debugger along with the E-Series USB Drive and an Auto-Update utility. Go ahead and install all those items as well.

Installing the Segger JLink Debugger Drivers

The Segger J-Link and J-Link LITE RX debuggers are great, cost-effective debugger solutions, and are included with many SIM bundles, including the SIM110-A00-SJL, SIM205-A00-SJL, and SIM225-A00-SJL.


These Renesas links have important information about the J-Link and J-Link LITE debuggers.

The Segger J-Link Driver install is actually a two part download/install process.


To install the Segger J-Link or J-Link LITE RX, you will need two files from this link:


· http://segger.com/j-link-rx.html




TipIMPORTANT! There are actually two files you need from the above link page. The Segger documentation is not well written so do the following in these steps.


There is a “Getting Started” section on the Segger j-link-rx link. A screenshot of that is shown below:


499px


Figure 4 Segger Getting Started


You can use their guidelines for installation if you get stuck, but what works for us at Serious is to do the following instructions outlined below.


http://pinoylist.net/images/warning.gif For first-time installations, start at step (1). For updating installations of the J-Link debugger, you can skip step #1.


1) Download and install this file:


http://segger.com/admin/uploads/userfiles/file/JLinkRX/HEWJLinkRegistrationInstaller.zip


               This tool registers your debugger in HEW.  Screen shot of the install:


361px


Figure 5. HEWSEggerJLink Installer


2) Once that’s done, then download and the J-Link RX software package from the Segger website:


· http://segger.com/j-link-rx.html


489px


Figure 6. Segger J-Link RX Website






Run the Setup_JlinkRX_Vxxx.exe and install the J-Link software. You will be prompted with a screen similar to the one below:


536px


Figure 7. Segger-Jlink RX DLL Updater


Usually the default settings are fine, click OK and let the installation finish.


Finally, the Segger J-Link RX DLL Updater will also get installed as a Windows application. As a final step, click on the Windows Start button, find SEGGER->JLink RX VX.xxx folder and run the Segger J-Link RX DLL Updater program. You may see a screen again similar to Figure 7 above. Click OK and the application will install/update the DLLs for HEW.


http://pinoylist.net/images/warning.gifNote: When running the Segger J-Link RX DLL Updater program, use the default settings. Do not click on the other boxes as it will overwrite the entries for other debuggers!

name="_Toc340819004"

http://pinoylist.net/images/warning.gifAfter everything has been installed, reboot your PC! This final step will eliminate any potential installation issues where the above files have made registry and program location changes. It has been experienced at Serious where a full installation leaves a side-effect that will cause Windows to get confused where Explorer shortcuts are located.



name="_Toc340819005"

You should now have everything installed and ready to run HEW. For starting up HEW and loading SHIPWare on your SIM product, please consult the “Getting Started Guide” located in the SHIPWare distribution docs folder.