world leader in high performance signal processing
Trace: » install

Installing Eclipse 4.2 (Juno)

If you do not have Eclipse 4.2 (Juno) installed already, this is the place for you! If you do have Eclipse installed already, but an older version, then you will still need to follow this document. Eclipse's update manager is for add-on plug-ins only, not for the main IDDE. So updating from one major version to another is basically a re-install.

Overview

In order to run Eclipse with Blackfin projects, you will need the following:

  • A Java Runtime Environment (JRE) version 1.6 or newer
  • Eclipse IDDE (version 4.2 recommended)
  • C/C++ Development Tools (CDT)
  • Blackfin Plug-ins

Checking your Java Runtime Environment version

Most systems will already have a JRE installed.

On Windows, Java is usually installed in C:\Program Files\Java. If you do not have Java installed, then visit the Eclipse JRE page for more information on how to get one set-up.

Checking the JRE version:

C:\> java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)

IDDE

There are no executable installers for Eclipse. It is distributed as a zip archive which you can unpack anywhere you like, and then just run the eclipse.exe program in the eclipse sub-directory.

To get the installer, visit the Eclipse download page.

If you wish to use the Blackfin plug-ins, it is recommended that you install Indigo (3.7) or later (e.g. Juno 4.2).

You will be presented with a variety of download choices. The only difference between them is the default plug-in set. Since you will most likely be compiling/debugging code for the Blackfin processor, you should pick Eclipse IDE for C/C++ Developers. Any of the other ones will work as well, but then you will need to install the CDT manually. See the CDT wiki page for more information.

Blackfin Plug-ins

The Blackfin plug-ins will require Eclipse 4.2, as well as the CDT. Additionally, you will have to install the GDB Hardware Debugging CDT plug-in (it is usually not installed by default). To install the GDB Hardware Debugging plug-in the CDT update site needs enabled. To enable the CDT site:

  1. Select the Eclipse menu Window→Preferences.
  2. Select Install/Update→Available Software Sites and select the site, http://download.eclipse.org/tools/cdt/releases/juno.
  3. Use the Enable button to enable the site.

Install the GDB Hardware Debugging plug-in via the Update Manager:

  1. Select the Eclipse menu Help→Install New Software
  2. Select the http://download.eclipse.org/tools/cdt/releases/indigo site in the Work With list
  3. Enable the GDB Hardware Debugging plugin under CDT Optional Features

The Blackfin plug-ins can be obtained in 2 ways:

  1. Make sure you installed the Eclipse CDT jtag debugging plugin first.
  2. Put the plugin jar files under your folder “eclipse/dropins/”
  3. Find the ADI extensions by checking Help/About Eclipse/Installation Details/Plug-ins/
  1. Select Help→Install New Software from the Eclipse menu
  2. Click the Add button

Then you can select the plug-ins to install:

The Blackfin Debug plug-in results in extra selectable entries in the “Debug Configuration” dialog, while the Tool chain plug-in allows for selecting the desired tool chain out of a list from within the New Project Wizard dialog.

Other Plugins

Zylin CDT

The Eclipse C/C++ Development Tools (CDT) has excellent GDB support. However, there are a few stumbling blocks when trying to debug embedded applications, which Zylin AS has made some modifications in Eclipse CDT to improve support for GDB embedded debugging.

Path for update manager “Add Site”: http://opensource.zylin.com/zylincdt

Subclipse (SVN)

While not released with Eclipse, there is a Subversion plugin called Subclipse. Visit the Subclipse homepage for some concise install directions.

Once you have Subclipse installed, the interface is the same as using the CVS plugin.

Target Management Terminal

An ANSI (vt102) compatible Terminal including plug-ins for Serial, SSH and Telnet connections.

Can be found within the default install sites.
Search for:

Mobile and Device Development	
  Target Management Terminal
Target Management Terminal
  Target Management Terminal Serial Connector
  Target Management Terminal SSH Connector
  Target Management Terminal Telnet Connector
  Target Management Terminal View
  Target Management Terminal Widget

Target Management Terminal Serial Connector requires RXTX

Installation as an Eclipse Plugin via Update Manager:


  • In Eclipse, choose Help > Software Updates…
    • Add New Remote Site:
     Name = RXTX
     URL  = http://rxtx.qbang.org/eclipse/
  • Finish, select proper version, Install All