Albatron Technology ARM11/Cortex-A8 user manual Part Host

Page 32

bdiGDB for GNU Debugger, BDI2000 (ARM11/Cortex-A8)

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 1997-2007 by ABATRON AG Switzerland

V 1.04

Image 32
Contents BdiGDB Installation Using bdiGDBIntroduction BDI2000 BDI ConfigurationTroubleshooting Maintenance Trademarks AppendicesIntroduction BDI2000BDI Configuration For BDI Main / Target a connector signals see table on next InstallationConnecting the BDI2000 to Target BDI Main / Target a Connector Signals Jtag Test ResetChanging Target Processor Type For Target B connector signals see table on next Adaptive ClockingBDI Target B Connector Signals Returned Jtag Test ClockPlease switch on the system in the following sequence External power supply Target systemPower Supply from Target System 142Status LED «MODE» Built in LED indicates the following BDI statesRS232 Connector BASE-T Connector Ethernet communicationPC Host Name DescriptionActivating Bootp Installation of the Configuration SoftwareOverview of an installation / configuration process Build the setup tool Load/Update the BDI firmware/logic1 Configuration with a Linux / Unix host Following the steps to bring-up a new BDI2000Check configuration and exit loader mode Transmit the initial configuration parametersfile name without any path For more information about Tftp use man tftpd2 Configuration with a Windows host Ory / programmable logicRecover procedure Reassemble the unit as described in Appendix «Maintenance»Testing the BDI2000 to host connection Tftp server for Windows NTUsing bdiGDB Principle of operationConfiguration File Part Init BdiGDB for GNU Debugger, BDI2000 ARM11/Cortex-A8 Using a startup program to initialize the target system ROM on the target, select ROM as the formatFormat COFF, SREC, AOUT, BIN, ELF or ROM Example Format CoffPart Target Cputype ARM1136None PushpullHalt StopRUN LoadonlySoft HardBreakmode Hard CoreDaisy chained Jtag devices Low level Jtag scan chain configuration Part Host Prompt ARM11 Dump filenamePart Flash BLOCK, CHIP, Unlock Supported Flash Memories AM29BX8 MIRRORX8, I28BX8 STRATAX8, AT49X8Or use the Telnet unlock command Tor. In other words, this is the size of one sector in bytesPart Regs Register definition file Example for a register definitionEntry in the configuration file Debugging with GDB Target setupConnecting to the target GDB monitor command Breakpoint HandlingTarget serial I/O via BDI Target DCC I/O via BDI Telnet Interface Command list DumpCPxx Registers Some examples CP15 ID register CRn = 0, opcode2 =CP15 Cache Type CRn = 0, opcode2 = CP15 Invalidate I cache line CRn = 7, opcode2 = 1, CRm =Multi-Core Support Specifications BASE-TEnvironmental notice Declaration of Conformity CEWarranty Troubleshooting Problemfirmware can not be loaded Possible reasonsMaintenance Unplug the cablesReinstallation Trademarks All trademarks are property of their respective holders