Albatron Technology ARM11/Cortex-A8 Battery Charger User Manual


 
bdi
GDB
for GNU Debugger, BDI2000 (ARM11/Cortex-A8) User Manual 2
© Copyright 1997-2007 by ABATRON AG Switzerland V 1.04
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