Albatron Technology ARM11/Cortex-A8 user manual Transmit the initial configuration parameters

Page 18

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

User Manual

18

4. Transmit the initial configuration parameters:

 

 

With "bdisetup -c" the configuration parameters are written to the flash memory within the BDI.

 

The following parameters are used to configure the BDI:

 

 

BDI IP Address

The IP address for the BDI2000. Ask your network administrator for as-

 

signing an IP address to this BDI2000. Every BDI2000 in your network

 

needs a different IP address.

 

 

Subnet Mask

The subnet mask of the network where the BDI is connected to. A subnet

 

mask of 255.255.255.255 disables the gateway feature. Ask your network

 

administrator for the correct subnet mask. If the BDI and the host are in

 

the same subnet, it is not necessary to enter a subnet mask.

 

Default Gateway

Enter the IP address of the default gateway. Ask your network administra-

 

tor for the correct gateway IP address. If the gateway feature is disabled,

 

you may enter 255.255.255.255 or any other value.

 

 

Config - Host IP Address Enter the IP address of the host with the configuration file. The configura- tion file is automatically read by the BDI2000 after every start-up.

Configuration file

Enter the full path and name of the configuration file. This file is read via

 

TFTP. Keep in mind that TFTP has it’s own root directory (usual /tftpboot).

 

You can simply copy the configuration file to this directory and the use the

 

file name without any path.

 

For more information about TFTP use "man tftpd".

[root@LINUX_1 bdisetup]# ./bdisetup -c -p/dev/ttyS0 -b57 \

>-i151.120.25.101 \

>-h151.120.25.118 \

>-feval7t.cnf Connecting to BDI loader Writing network configuration Writing init list and mode Configuration passed

5. Check configuration and exit loader mode:

The BDI is in loader mode when there is no valid firmware loaded or you connect to it with the setup tool. While in loader mode, the Mode LED is flashing. The BDI will not respond to network requests while in loader mode. To exit loader mode, the "bdisetup -v -s" can be used. You may also power-off the BDI, wait some time (1min.) and power-on it again to exit loader mode.

[root@LINUX_1 bdisetup]# ./bdisetup -v -p/dev/ttyS0 -b57 -s BDI Type : BDI2000 Rev.C (SN: 92152150)

Loader

: V1.05

 

Firmware

: V1.03

bdiGDB for ARM11

Logic

: V1.02

ARM

MAC

: 00-0c-01-92-15-21

IP Addr

: 151.120.25.101

Subnet

: 255.255.255.255

Gateway

: 255.255.255.255

Host IP

: 151.120.25.118

Config

: eval7t.cnf

The Mode LED should go off, and you can try to connect to the BDI via Telnet.

[root@LINUX_1 bdisetup]# telnet 151.120.25.101

© Copyright 1997-2007 by ABATRON AG Switzerland

V 1.04

Image 18
Contents BdiGDB Introduction InstallationUsing bdiGDB BDI2000 BDI ConfigurationTroubleshooting Maintenance Trademarks AppendicesIntroduction BDI2000BDI Configuration Installation Connecting the BDI2000 to TargetFor BDI Main / Target a connector signals see table on next 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 PC Host BASE-T ConnectorEthernet communication Name DescriptionInstallation of the Configuration Software Overview of an installation / configuration processActivating Bootp 1 Configuration with a Linux / Unix host Build the setup toolLoad/Update the BDI firmware/logic Following the steps to bring-up a new BDI2000file name without any path Check configuration and exit loader modeTransmit the initial configuration parameters 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 Format COFF, SREC, AOUT, BIN, ELF or ROM Example Using a startup program to initialize the target systemROM on the target, select ROM as the format Format CoffNone Part TargetCputype ARM1136 PushpullRUN HaltStop LoadonlyBreakmode Hard SoftHard 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 Example for a register definition Entry in the configuration fileRegister definition file Target setup Connecting to the targetDebugging with GDB GDB monitor command Breakpoint HandlingTarget serial I/O via BDI Target DCC I/O via BDI Telnet Interface Command list DumpCP15 Cache Type CRn = 0, opcode2 = CPxx RegistersSome examples CP15 ID register CRn = 0, opcode2 = CP15 Invalidate I cache line CRn = 7, opcode2 = 1, CRm =Multi-Core Support Specifications BASE-TEnvironmental notice Declaration of Conformity CEWarranty firmware can not be loaded TroubleshootingProblem Possible reasonsMaintenance Unplug the cablesReinstallation Trademarks All trademarks are property of their respective holders