Albatron Technology ARM11/Cortex-A8 user manual Installation, Connecting the BDI2000 to Target

Page 6

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

User Manual

6

2 Installation

2.1 Connecting the BDI2000 to Target

The enclosed cables to the target system are designed for the ARM Development Boards. In case where the target system has the same connector layout, the cable (14 pin or 20 pin) can be directly connected.

!

In order to ensure reliable operation of the BDI (EMC, runtimes, etc.) the target cable length must not exceed 20 cm (8").

Rev. A

 

 

 

1

 

19

20 pin Multi-ICE

 

 

 

 

 

Connector

 

 

 

 

 

 

 

Target System

 

 

 

 

 

 

1

- Vcc Target

 

 

 

 

 

 

2

- NC

 

 

 

 

 

 

 

ARM

 

 

 

2

 

20

3

- TRST

1

 

13

 

4

- NC

 

 

 

14 pin Target

 

 

 

5

- TDI

 

 

 

 

 

 

 

 

 

 

Connector

6

- NC

 

 

 

 

 

1

- Vcc Target

7

- TMS

 

2

 

14

 

2

- GROUND

8

- GROUND

 

 

 

3

- TRST

9

- TCK

 

 

 

 

 

BDI2000

 

 

 

 

4

- GROUND

10

- GROUND

 

 

 

 

5

- TDI

11

- NC

 

 

 

 

 

 

 

 

 

 

6

- NC

12

- NC

BDI

TRGT MODE

BDI MAIN

BDI OPTION

7

- TMS

13

- TDO

8

- NC

14

- NC

 

 

9

1

 

9

- TCK

15

- RESET

 

 

 

 

 

 

 

 

 

 

10

- NC

16

- NC

Abatron AG Swiss Made

 

 

 

 

11

- TDO

17

- NC

 

 

10

2

 

12

- RESET

18

- NC

 

 

 

 

 

13

- NC

19

- NC

The green LED «TRGT» marked light up when target is powered up

14

- NC

20

- NC

Rev. B/C

 

 

 

 

 

 

20 pin Multi-ICE

 

 

 

 

1

 

19

 

 

 

 

 

Connector

 

 

 

 

 

 

 

Target System

 

 

 

 

 

 

1

- Vcc Target

 

 

 

 

 

 

 

2

- NC

ARM

1

 

13

2

 

20

3

- TRST

 

 

 

 

 

4

- NC

 

 

 

 

 

14 pin Target

 

 

 

 

 

5

- TDI

 

 

 

 

 

Connector

6

- NC

 

2

 

14

 

1

- Vcc Target

7

- TMS

 

 

 

2

- GROUND

8

- GROUND

BDI2000

 

 

 

 

3

- TRST

9

- TCK

 

 

 

 

4

- GROUND

10

- GROUND

 

 

 

 

 

5

- TDI

11

- NC

 

 

 

 

 

6

- NC

12

- NC

BDI

TRGT MODE

TARGET A

TARGET B

7

- TMS

13

- TDO

8

- NC

14

- NC

 

 

9

1

 

 

 

 

 

 

9

- TCK

15

- RESET

 

 

 

 

 

10

- NC

16

- NC

Abatron AG Swiss Made

 

 

 

 

11

- TDO

17

- NC

 

 

10

2

 

 

 

 

12

- RESET

18

- NC

 

 

 

 

 

13

- NC

19

- NC

The green LED «TRGT» marked light up when target is powered up

14

- NC

20

- NC

For BDI MAIN / TARGET A connector signals see table on next page.

© Copyright 1997-2007 by ABATRON AG Switzerland

V 1.04

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