bdi
GDB
for GNU Debugger, BDI2000 (ARM)
User Manual
2
© Copyright 1997-2005 by ABATRON AG Switzerland
V 1.17
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]................................................................................................................ 31
3.2.4 Part [FLASH] .............................................................................................................. 32
3.2.5 Part [REGS] ............................................................................................................... 39
3.3 Debugging with GDB ........................................................................................................... 41
3.3.1 Target setup................................................................................................................ 41
3.3.2 Connecting to the target............................................................................................. 41
3.3.3 Breakpoint Handling................................................................................................... 42
3.3.4 GDB monitor command.............................................................................................. 42
3.3.5 Target serial I/O via BDI ............................................................................................. 43
3.3.6 Target DCC I/O via BDI .............................................................................................. 44
3.4 Telnet Interface .................................................................................................................... 45
3.4.1 Command list ............................................................................................................. 46
3.4.2 CP15 Registers .......................................................................................................... 47
3.5 Multi-Core Support .............................................................................................................. 49
4 Specifications ............................................................................................................................ 50
5 Environmental notice ................................................................................................................ 51
6 Declaration of Conformity (CE) ................................................................................................ 51
7 Warranty ..................................................................................................................................... 52