Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Support
  • About Us
  • Blog
  • Forum
  • Search
    • Contact Us
    • Forum
    • Wiki
    • Web Shop
    • Newsletter
    • RSS
  •  Jobs
  •  Blog
  • J-Link
  • Eclipse
  • Technology
  • Accessories
  • Tools
  • Models
J-Link product icon SEGGER blue stack

Eclipse - Universal, Customizable Integrated Development Environment

Eclipse is a universal customizable IDE, which is also the base for many common commercial IDEs. In order to work with Eclipse and debug with J-Link, you also need to install a toolchain which includes compiler, assembler, linker + GDB (GNU Debugger) for debugging (e.g. GNU Tools for ARM).

  1. 1.GNU ARM Eclipse plugin
  2. 2.Other Eclipse plugins
  3. 3.FAQ

In order to allow hardware debugging on embedded systems via GDB + GDB Server, there is also an Eclipse plugin needed, which enables hardware debugging via GDB (e.g. the CDT plugin). For further information about these plugins, please refer to the section "GNU ARM Eclipse plugin".

After setting up Eclipse + Plugin, Eclipse will use GDB as debugger where GDB communicates via the GDB protocol with J-Link GDB Server, allowing to debug the target hardware which is connected to a J-Link.

Note: J-Link GDB Server is part of the J-Link Software and Documentation Pack and can be used free of charge.

 

Eclipse

GNU ARM Eclipse plugin

The GNU ARM Eclipse project is a collection of plug-ins for Eclipse CDT and ARM toolchains including extensions for easy embedded development in Eclipse. It is recommended to use this plug-in when working with a standard Eclipse installation.

One part if it is a debugger plug-in for for J-Link which allows easy configuration and usage of J-Link GDB Server within Eclipse. It is cross-platform available (Windows, Linux, Mac) and features the corresponding versions of J-Link GDB Server. Detailed step-by-step instructions on how to setup Eclipse are available on the GNU ARM Eclipse plug-ins website.

It also provides very well documented step-by-step instructions on how to get up and running with the plug-in itself.

  • Install the J-Link plugin: http://gnuarmeclipse.github.io/plugins/install/
  • Install the J-Link software: http://gnuarmeclipse.github.io/debug/jlink/install/
  • Use the J-Link plugin: http://gnuarmeclipse.github.io/debug/jlink/
EclipsePlugin

Other Eclipse plugins

Despite the GNU ARM Eclipse plugins, J-Link can be used with Eclipse using some other plugins. With the native CDT plugin it is possible to connect to a running GDB Server, which has to be configured before starting a debug session. Some (commercial) eclipsed-based IDEs provide native or GDB Server based J-Link support. The debug connection setup for each IDE may vary. For instructions please refer the the corresponding documentations.

Note: SEGGER does only provide support and maintenance for problems which are directly related to J-Link or GDB Server. For problems with Eclipse, its plugins or Eclipse-based solutions, please contact the respective distributors.

FAQ

I am using a standard Eclipse. What do I need to debug my application with J-Link?

A: To debug with J-Link the CDT plugin with GDB Server support, the GNU ARM Eclipse plugins or a similar plugin are required.

I have all plugins installed. What else do I need?

A: To use J-Link, the J-Link Software and Documentation Pack has to be installed. It includes the J-Link USB drivers and the J-Link GDB Server.

I cannot set a debug session with one of the plugins. Where can I get help?

A: For setting up a debug session, please refer to the respective documentation of the used plugin. SEGGER can only provide support for problems which are directly related to J-Link or GDB Server.

Does SEGGER support and maintain the GNU ARM Eclipse plugins?

A: No. The GNU ARM Eclipse plugins are not affiliated with SEGGER and are created, supported and maintained by Liviu Ionescu. SEGGER does only recommend these plugins as they are easy to use.

I am missing a feature in Eclipse. Can SEGGER add it?

A: No. SEGGER does not develop Eclipse or its plugins. Please contact the respective distributors.

When debugging with Eclipse, some commands do not work with J-Link. Why not?

A: Eclipse was mainly designed for JAVA development, later C/C++ development features and debugging features were added via plugins. Some of the plugins even work for embedded development, but there might be limitations related to the used plugin. In some cases it is possible to control J-Link and GDB Server by issuing monitor commands directly via GDB. (In the Eclipse Consoles -> ".../arm-...-gdb.exe") For the available GDB Server commands refer to the corresponding chapters in the J-Link User Manual (UM08001_JLink.pdf). Otherwise another debugger plugin or debugger might be needed.

Where can I find the GDB and GDB Server output?

A: Most Eclipse plugins invocate GDB and GDB Server and redirect input and output to the Console Window. GDB commands can be executed in the arm-...-gdb Console. gdb traces shows the log output of executed GDB commands. JLinkGDBServer(CL) shows the log output of GDB Server.

Eclipse_Console

I am absolutely sure I set up everything correctly, but GDB Server or J-Link report errors. Can SEGGER help?

A: In this case, mostly yes. If your J-Link is within the support period (12 / 24 months), contact us at support@segger.com. If you are using a J-Link LITE / EDU / OB or an older J-Link, please use the SEGGER Forum. To allow fast response, please add your J-Link S/N, your target device name, the Eclipse version number, the used plugin and the GDB Server output to your mail or post.

Is there an alternative to debugging with Eclipse?

A: Yes. There are many commercial and free IDEs and stand-alone debuggers available. If you want to use Eclipse for your project development but not for debugging, J-Link Debugger is a good soulution. It is a full featured stand-alone GUI debugger to be used with J-Link, featuring nearly all functionality of J-Link. J-Link Debugger is as flexible as Eclipse, but with better performance and intuitively easy to use user interface. It is available free of charge and can also be used with Eclipse-created applications.

More Information

Purchase

  • Pricing

Technology

  • Control Panel
  • Flash Breakpoints
  • Flash Download
  • Interface Description
  • J-Link SDK
  • Monitor Mode Debugging
  • Power Profiling
  • Real-Time Transfer (RTT)
  • CPUs and Devices
  • IDEs

Accessories

  • Adapters
  • Isolators

Tools

  • J-Run
  • Ozone - J-Link Debugger
  • J-Link Configurator
  • J-Link GDB Server
  • J-Link Remote Server
  • J-Link Commander
  • J-Mem
  • J-Link SWO Viewer
  • J-Scope
  • J-Flash
  • J-Flash SPI
  • J-Link RDI
  • RTT Viewer
  • SystemView
  • Terms of Use
  • Third Party applications

Models

  • Model Overview
  • J-Link PRO
  • J-Link ULTRA+
  • J-Link WiFi
  • J-Link PLUS
  • J-Link BASE
  • J-Link EDU
  • J-Link EDU Mini
  • J-Link OB
  • J-Link LITE
  • Other J-Links
  • Related products

About us

  • The Company
  • Partners
  • Job Offers
  • Media
  • Contact us

Support

  • Technical Support
  • Blog
  • Forum
  • Wiki

Downloads

  • Application Notes
  • Embedded Studio
  • embOS
  • emCompress
  • emCrypt
  • emFile
  • emLib
  • emLoad
  • emModbus
  • emNet
  • emPower
  • emSecure
  • emSSH
  • emSSL
  • emUSB-Device
  • emUSB-Host
  • emWin
  • Flasher
  • Free Utilities
  • IoT
  • J-Link / J-Trace
  • SystemView
  • CE / REACH

Social Media

Headquarters

SEGGER Microcontroller GmbH

Ecolab-Allee 5
40789 Monheim am Rhein, Germany
info@segger.com
Tel.: +49-2173-99312-0
Fax: +49-2173-99312-28

Locations

USA: SEGGER Microcontroller Systems LLC

Boston area
101 Suffolk Lane
Gardner, MA 01440, USA
us-east@segger.com
Tel.: +1-978-874-0299
Fax: +1-978-874-0599

Silicon Valley
Milpitas, CA 95035, USA
us-west@segger.com
Tel.: +1-408-767-4068

China: SEGGER Microcontroller China Co., Ltd.

Room 218, Block A, Dahongqiaoguoji
No. 133 Xiulian Road
Minhang District, Shanghai 201199, China
china@segger.com
Tel.: +86-133-619-907-60

ISO 9001 certified

ISO 9001

28+ years of experience

28+ years of experience
  • Imprint
  • Disclaimer
  • Privacy Policy

© 2021 SEGGER - All rights reserved.