Albatron Technology ARM11/Cortex-A8 user manual Recover procedure

Page 20

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

User Manual

20

BDI IP Address

Enter the IP address for the BDI2000. Use the following format:

 

 

xxx.xxx.xxx.xxx e.g.151.120.25.101

 

 

 

Ask your network administrator for assigning an IP address to this

 

 

BDI2000. Every BDI2000 in your network needs a different IP address.

Subnet Mask

Enter the subnet mask of the network where the BDI is connected to.

 

 

Use the following format: xxx.xxx.xxx.xxxe.g.255.255.255.0

 

 

A subnet mask of 255.255.255.255 disables the gateway feature.

 

 

Ask your network administrator for the correct 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.

 

e.g. D:\ada\target\config\bdi\evs332.cnf

 

For information about the syntax of the configuration file see the bdiGDB

 

User manual. This name is transmitted to the TFTP server when reading

 

the configuration file.

Transmit

Click on this button to store the configuration in the BDI2000 flash

 

memory.

2.5.3 Recover procedure

In rare instances you may not be able to load the firmware in spite of a correctly connected BDI (error of the previous firmware in the flash memory). Before carrying out the following procedure, check the possibilities in Appendix «Troubleshooting». In case you do not have any success with the tips there, do the following:

Switch OFF the power supply for the BDI and open the unit as described in Appendix «Maintenance»

Place the jumper in the «INIT MODE» position

Connect the power cable or target cable if the BDI is powered from target system

Switch ON the power supply for the BDI again and wait until the LED «MODE» blinks fast

Turn the power supply OFF again

Return the jumper to the «DEFAULT» position

INIT MODE

DEFAULT

• Reassemble the unit as described in Appendix «Maintenance»

© Copyright 1997-2007 by ABATRON AG Switzerland

V 1.04

Image 20
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