Albatron Technology ARM11/Cortex-A8 Introduction, BDI2000 BDI Configuration, Installation

Page 2

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

User Manual

2

 

 

 

 

1

Introduction

4

 

1.1

BDI2000

4

 

1.2

BDI Configuration

5

2

Installation

6

 

2.1

Connecting the BDI2000 to Target

6

 

 

2.1.1

Changing Target Processor Type

8

 

 

2.1.2

Adaptive Clocking

9

 

2.2

Connecting the BDI2000 to Power Supply

11

 

 

2.2.1

External Power Supply

11

 

 

2.2.2

Power Supply from Target System

12

 

2.3

Status LED «MODE»

13

 

2.4

Connecting the BDI2000 to Host

14

 

 

2.4.1

Serial line communication

14

 

 

2.4.2

Ethernet communication

15

 

2.5

Installation of the Configuration Software

16

 

 

2.5.1

Configuration with a Linux / Unix host

17

 

 

2.5.2

Configuration with a Windows host

19

 

 

2.5.3

Recover procedure

20

 

2.6

Testing the BDI2000 to host connection

21

 

2.7

TFTP server for Windows NT

21

3 Using bdiGDB

22

 

3.1

Principle of operation

22

 

3.2

Configuration File

23

 

 

3.2.1

Part [INIT]

24

 

 

3.2.2

Part [TARGET]

27

 

 

3.2.3

Part [HOST]

32

 

 

3.2.4

Part [FLASH]

34

 

 

3.2.5

Part [REGS]

38

 

3.3

Debugging with GDB

40

 

 

3.3.1

Target setup

40

 

 

3.3.2

Connecting to the target

40

 

 

3.3.3

Breakpoint Handling

41

 

 

3.3.4

GDB monitor command

41

 

 

3.3.5

Target serial I/O via BDI

42

 

 

3.3.6

Target DCC I/O via BDI

43

 

3.4

Telnet Interface

44

 

 

3.4.1

Command list

45

 

 

3.4.2

CPxx Registers

46

 

3.5

Multi-Core Support

47

4 Specifications

48

5 Environmental notice

49

6 Declaration of Conformity (CE)

49

7 Warranty

.....................................................................................................................................

50

 

 

 

 

 

 

 

 

 

 

 

 

© Copyright 1997-2007 by ABATRON AG Switzerland

V 1.04

Image 2
Contents BdiGDB Introduction InstallationUsing bdiGDB 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 PC Host BASE-T ConnectorEthernet communication Name DescriptionActivating Bootp Installation of the Configuration SoftwareOverview of an installation / configuration process 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 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 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