EasyManua.ls Logo

CONITEC GALEP-5 - Page 20

CONITEC GALEP-5
30 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
On Chip Debugging with GALEP-5 and OpenOCD
The GALEP-5 device programmer series can be used as a hardware interface for OpenOCD. The OpenOCD
project is a free software project for accessing microcontrollers (MCUs) via JTAG interface. This way software
can be debugged on the original MCU and on the original board. Hardware and software breakpoints can be
triggered, the program can be interrupted and executed in single step mode... without emulator and - except
for GALEP - without any additional hardware. The JTAG interfaces can be used for -
Developing software directly on the target system
Programming flash memory
Testing circuit boards and many more...
GALEP-5 is especially well suited as an interface for OpenOCD due to its on-board ARM Linux system. The
OpenOCD software runs natively on GALEP-5 and offers a gdb debugging interface via Ethernet or emulated
USB port. This allows easy configuration and effective development.
GALEP-5 offers several other features that improve JTAG debugging. Its Ethernet interface ensures fast data
transfer. Its front side button can be used for starting OpenOCD functions. The JTAG signals can be assigned
to arbitrary pins of the programmer socket. This feature is only offered by the GALEP-5 series.
Content
Overview
Configuration
Getting Started
Debugging with gdb
Developing with OpenOCD and the GALEP-API
Overview
The following part of the documentation is for developers who want to use OpenOCD for debugging thei
r
target system.
For using GALEP-5 as interface for OpenOCD debugging, you can just install a pre-compiled
OpenOCD version. It's a snapshot of the OpenOCD project at the time of writing this documentation.
OpenOCD is permanently improved, so it could make sense to patch and compile the latest
OpenOCD version yourself. This is decribed in Part II of this document.
What you're getting from us
The OpenOCD archive on http://www.conitec.net/down/g5ocd.zip
contains:
The “xyz” resp. “abc” represent the version numbers.
What the GALEP-5 / OpenOCD port can do
This software package lets you combine a fast hardware interface (the GALEP-5 device programmer) with an
Open Source software (OpenOCD) for debugging MCUs and programming many Flash device types. The
GALEP-5 / OpenOCD combination offers the same convenience as high-priced JTAG debuggers. It has
already proven itself by inhouse debugging ARM9TDMI and ARM9-EJIS cores (at the moment of writing this
document the EJIS core support was not yet fully developed).
What the GALEP-5 / OpenOCD port can not do
doc/g5ocd_e.htm This document in html format.
g5ocd-bin-svn-xyzM.tar.bz2 The GALEP-5 OCD port, pre-compiled in a Linux archive.
g5ocd-bin-svn-xyzM.tar.zip The GALEP-5 OCD port, pre-compiled in a Windows™ archive.
g5ocd-svn-xyzM.patch.bz2 GALEP patch for OpenOCD (for compiling OpenOCD yourself).
g5API-abcM.tar.bz2 The GALEP-5 API for developers.