Embedded linux development with eclipse
Download
1 / 14

Embedded Linux Development with Eclipse - PowerPoint PPT Presentation


  • 332 Views
  • Updated On :

Embedded Linux Development with Eclipse. JT Thomas, MontaVista Software. Agenda. Eclipse History and Overview Key Eclipse Projects for embedded Step-by-Step to build, deploy, and debug Working examples using DevRocket Future Eclipse Projects for embedded Questions & Answers.

Related searches for Embedded Linux Development with Eclipse

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Embedded Linux Development with Eclipse' - bernad


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Embedded linux development with eclipse l.jpg

Embedded Linux Development with Eclipse

JT Thomas, MontaVista Software


Agenda l.jpg
Agenda

  • Eclipse History and Overview

  • Key Eclipse Projects for embedded

  • Step-by-Step to build, deploy, and debug

  • Working examples using DevRocket

  • Future Eclipse Projects for embedded

  • Questions & Answers


Eclipse history and overview l.jpg
Eclipse History and Overview

  • Donated by IBM to open source community in NOV 2001

  • An open development platform … and a community

    • Multi-platform GUI “for anything and nothing in particular”

    • Java plug-in architecture

  • Governed by Eclipse Public License (EPL)

  • Initially implemented as a Java integrated development environment (JDT)

  • Eclipse foundation formed in JAN 2004

  • Many language and software development focused plug-ins and environments

  • Major sub-projects coordinated releases every June



Key eclipse projects for embedded l.jpg
Key Eclipse Projects for embedded

  • CDT – C/C++ Development Toolkit

    • C/C++ source code editor and indexer

    • Syntax highlighting and object browsing

    • Build management

    • Binary parsing

    • Native support for GCC/GDB

  • RSE – Remote Systems Explorer

    • Consistent interface across multiple targets

    • Many connection mechanisms

    • Filesystem management

    • Process management

    • Shell (and terminal) access


Installing and updating eclipse l.jpg
Installing and Updating Eclipse

  • eclipse.org/downloads

  • Updating and finding plug-ins


Step 1 setting up a target l.jpg
Step 1: Setting up a Target

  • Install RSE plugin

  • Setup SSH server on target

  • Open Remote Systems Explorer Perspective

  • Create “SSH Only” RSE connection

  • Open integrated shell on target

  • Perform file management tasks on target


Step 2 building an application l.jpg
Step 2: Building an application

  • Open C/C++ Perspective

  • Create new Managed Make C++ project

  • Open build setting and preface compiler command line name with architecture name

    • i.e. armv6_gcc

  • Build application


Step 3 deploying an application l.jpg
Step 3: Deploying an application

  • Open RSE perspective

  • Drag-and-drop binary from Local system to target

  • Open integrated remote shell

  • Run application from shell


Step 4 debugging an application l.jpg
Step 4: Debugging an application

  • Setup launch configuration (Run | Run)

  • Select target connection (exported by RSE)

  • Login to target through shell

  • Start gdbserver on target

  • Specify gdb remote connection and port in .gdbinit

  • Open Debug Perspective

  • Debug application


Working examples l.jpg
Working Examples

  • MontaVista DevRocket 5.0

  • Edit-Compile-Debug automation

  • Application Analysis

    • Memory Usage Analysis

    • Memory Leak Detection

    • Performance Profiling

  • System Analysis

    • Performance Profiling

    • Trace Visualization

  • Filesystem Creation


Future interesting initiatives l.jpg
Future (interesting) Initiatives

  • DSDP – Device Software Development Project

    • Umbrella project focused on improving embedded development

  • RTSC – Realtime System Components

    • TI led project to support DSPs and 16-bit microcontrollers

  • TCF - Target Communications Framework

    • One “protocol to rule them all”

    • Debugging, monitoring, analysis, and test tools

  • DD - Device Debugging

    • Extensible Debugger Services Framework for better integration


Summary l.jpg
Summary

  • Eclipse is quickly becoming the de-facto standard for embedded Linux Integrated Development Environments

  • CDT is mature enough (now) to support cross-compilation and debugging – and to handle larger projects

  • RSE makes target management easy

  • Embedded focused features and integration is improving all the time

  • It’s time to give it a try!


Questions and answers l.jpg
Questions and Answers

  • Anyone?

  • Bueller?


ad