bdiGDB for GNU Debugger, BDI2000 | User Manual 32 |
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 [RECONNECT]
The TCP port GDB uses to access the target. If the RECONNECT param- eter is present, an open TCP/IP connection (Telnet/GDB) will be closed if there is a connect request from the same host (same IP address).
port | the TCP port number (default = 2001) |
Example: | DEBUGPORT 2001 |
© Copyright | V 1.04 |