bdi
GDB
for GNU Debugger, BDI2000 (ARM)
User Manual
31
© Copyright 1997-2005 by ABATRON AG Switzerland
V 1.17
3.2.3 Part [HOST]
The part [HOST] defines some host specific values.
IP ipaddress
The IP address of the host.
ipaddress
the IP address in the form xxx.xxx.xxx.xxx
Example: IP
151.120.25.100
FILE filename
The default name of the file that is loaded into RAM using the Telnet ’load’
command. This name is used to access the file via TFTP. If the filename
starts with a $, this $ is replace with the path of the configuration file name.
filename
the filename including the full path or $ for relative path.
Example:
FILE F:\gnu\demo\arm\test.elf
FILE $test.elf
FORMAT format [offset]
The format of the image file and an optional load address offset. If the im-
age is already stored in ROM on the target, select ROM as the format. The
optional parameter "offset" is added to any load address read from the im-
age file.
format
SREC, BIN, AOUT, ELF, COFF or ROM
Example: FORMAT
ELF
FORMAT ELF 0x10000
LOAD mode
In Agent mode, this parameters defines if the code is loaded automatically
after every reset.
mode
AUTO, MANUAL
Example: LOAD
MANUAL
START address
The address where to start the program file. If this value is not defined and
the core is not in ROM, the address is taken from the code file. If this value
is not defined and the core is already in ROM, the PC will not be set before
starting the target. This means, the program starts at the normal reset ad-
dress (0x00000000).
address
the address where to start the program file
Example:
START 0x10000
DEBUGPORT port
The TCP port GDB uses to access the target.
port
the TCP port number (default = 2001)
Example:
DEBUGPORT 2001
PROMPT string
This entry defines a new Telnet prompt. The current prompt can also be
changed via the Telnet interface.
Example: PROMPT
AT91>
DUMP filename
The default file name used for the Telnet DUMP command.
filename
the filename including the full path
Example:
DUMP dump.bin
TELNET mode
By default the BDI sends echoes for the received characters and supports
command history and line editing. If it should not send echoes and let the
Telnet client in "line mode", add this entry to the configuration file.
mode
ECHO (default), NOECHO or LINE
Example:
TELNET NOECHO ; use old line mode