This page is about using Eclipse IDE for BeagleBoard. It is focused on JTAG debugging with e.g. OpenOCD, but can be extended to additional topics, e.g. C/C++ development. And, while the examples focus on Beagle, stuff shown here will most probably easily apply to other boards.

CDT perspective

Now, everything is installed. We can switch to C/C++ mode now. For this:

Switch to "Workspace" (clicking Workspace button)

Make sure you are in C/C++ mode. In upper right corner, C/C++ perspective has to be enabled. If this isn't enabled (e.g. Java is enabled), do Window -> Open Perspective -> Other ... and select "C/C++":

Usage

To demonstrate usage an example is the best way. Here a small stand alone program is used. It is downloaded to BeagleBoard which is running U-Boot prompt and then debugged using OpenOCD JTAG debugger. So in this example we do:

Get a small stand alone program (LEDblink) from internet and create an Eclipse project with it

Start OpenOCD and configure Eclipse debug environment

Download build example and debug it

Example project

First, we download source code and control files for a small stand alone program we can run on BeagleBoard. For this, we use Magnus' LEDblink program. While Beagle is running at U-Boot prompt, this can be downloaded by OpenOCD JTAG to Beagle and let Beagle's LEDs blink.