bdi
GDB
for GNU Debugger, BDI2000 (ARM)
User Manual
45
© Copyright 1997-2005 by ABATRON AG Switzerland
V 1.17
3.4 Telnet Interface
A Telnet server is integrated within the BDI. The Telnet channel is used by the BDI to output error
messages and other information. Also some basic debug tasks may be done by using this interface.
Enter help at the Telnet command prompt to get a list of the available commands.
Telnet Debug features:
• Display and modify memory locations
• Display and modify registers
• Single step a code sequence
• Set hardware breakpoints (for code and data accesses)
• Load a code file from any host
• Start / Stop program execution
• Programming and Erasing Flash memory
During debugging with GDB, the Telnet is mainly used to reboot the target (generate a hardware reset
and reload the application code). It may be also useful during the first installation of the bdiGDB sys-
tem or in case of special debug needs.
Notes:
The DUMP command uses TFTP to write a binary image to a host file. Writing via TFTP on a Linux/
Unix system is only possible if the file already exists and has public write access. Use "man tftpd" to
get more information about the TFTP server on your host.