EasyManua.ls Logo

Abatron BDI2000 - Telnet Interface

Abatron BDI2000
51 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...
bdiGDB for BDI2000 (PowerPC 7440/7450/86xx) User Manual 41
© Copyright 1997-2015 by ABATRON AG Switzerland V 1.13
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 commands can be executed.
Telnet Debug features:
• Display and modify memory locations
• Display and modify general and special purpose registers
• Single step a code sequence
• Set hardware breakpoints
• 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 re-
set and reload the application code). It may be also useful during the first installation of the bdiGDB
system or in case of special debug needs.
Example of a Telnet session:
BDI>res
- TARGET: processing user reset request
- TARGET: Target PVR is 0x80000200
- TARGET: reseting target passed
- TARGET: processing target init list ....
- TARGET: processing target init list passed
BDI>info
Target CPU : MPC7450 Rev.2
Target state : debug mode
Debug entry cause : COP freeze (startup)
Current PC : 0xfff00100
Current CR : 0x00000000
Current MSR : 0x00000000
Current LR : 0x00000000
BDI>md 0xfff00100
fff00100 : 48003270 60000000 60000000 60000000 H.. `...`...`...
fff00110 : 60000000 60000000 60000000 60000000 `...`...`...`...
......
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.
The BI command sets a hardware breakpoint via the IABR register. IABR[TE] must be equal MSR[IR]
in order for a match to be signalled. IABR[TE] is set when the parameter V is present in the BREAK-
MODE configuration. Otherwise it is cleared. You can override this default setting with the optional
parameter v (virtual, sets TE) or p (physical, clears TE).

Other manuals for Abatron BDI2000