![CONITEC GALEP-5 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/conitec/galep-5/galep-5_manual_2652523021.webp)
Just like OpenOCD, the GALEP-5 port is an Open Source project with no warranty of functions and stability.
We will continue developing the software further, but also give you all sources - the full GALEP-5 API - for
improving and extending the software yourself.
JTAG Debugging with GALEP-5
A configuration file is required for configuring the JTAG debugger with your target system. This is a simple
text file with configuration data for the OpenOCD program and the GALEP port. As mentioned,
OpenOCD runs natively on the programmer. For this it has to be transferred first to GALEP together with the
configuration file. It is transferred with a FTP client and started with a Telnet client.
The configuration file
The configuration file contains settings for the interface, the target system, and for OpenOCD. Example:
# Example that uses the galep5 hardware as ocd interface.
# The socket is configured to interface the arm&eva hardware.
# (See http://www.conitec.com/english/linuxboard.htm)
# interface
interface galep5
interface_speed 0
jtag_speed 100
logic_level 1800
socket_assign TargetDetect 24
socket_assign GND 26
socket_assign GND 27
socket_assign GND 28
socket_assign GND 29
socket_assign GND 30
socket_assign GND 31
socket_assign GND 32
socket_assign GND 33
socket_assign GND 34
socket_assign NTRST 23
socket_assign TDI 22
socket_assign TMS 21
socket_assign TCK 20
socket_assign TDO 18
socket_assign NRESET 17
# daemon configuration
telnet_port 4444
gdb_port 3333
# use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst
# jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
# target configuration
daemon_startup reset
# target <type> <endianess> <reset mode>
target arm9tdmi little reset_run 0 arm920t
working_area 0 0x200000 0x4000 backup
run_and_halt_time 0 5000
# flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
flash bank cfi 0x10000000 0x800000 2 2 0
Interface Settings
The interface settings contain GALEP and socket specific data - see example above.
Interface type
The settings begin with the
interface = galep5
statement that determines the use of the GALEP-5 /
OpenOCD port. This port supports the whole GALEP-5 series (GALEP-5M, GALEP-5D and GALEP-5P).
Содержание GALEP-5
Страница 15: ......