
bdiGDBfor GNU Debugger, BDI2000 (ARM11 / Cortex) User Manual 2
© Copyright 1997-2014 by ABATRON AG Switzerland V 1.21
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 ........................................................................................................8
2.1.3 Serial Wire Debug ......................................................................................................10
2.2 Connecting the BDI2000 to Power Supply .......................................................................... 11
2.3 Status LED «MODE»...........................................................................................................12
2.4 Connecting the BDI2000 to Host .........................................................................................13
2.4.1 Serial line communication ..........................................................................................13
2.4.2 Ethernet communication ............................................................................................14
2.5 Installation of the Configuration Software............................................................................15
2.5.1 Configuration with a Linux / Unix host........................................................................16
2.5.2 Configuration with a Windows host ............................................................................18
2.5.3 Recover procedure.....................................................................................................19
2.6 Testing the BDI2000 to host connection..............................................................................20
2.7 TFTP server for Windows....................................................................................................20
3 Using bdiGDB ............................................................................................................................ 21
3.1 Principle of operation...........................................................................................................21
3.2 Configuration File.................................................................................................................21
3.2.1 Part [INIT]...................................................................................................................22
3.2.2 Part [TARGET] ...........................................................................................................25
3.2.3 Part [HOST]................................................................................................................ 31
3.2.4 Part [FLASH] ..............................................................................................................33
3.2.5 Part [REGS] ...............................................................................................................41
3.3 Debugging with GDB ...........................................................................................................43
3.3.1 Target setup ...............................................................................................................43
3.3.2 Connecting to the target.............................................................................................43
3.3.3 Breakpoint Handling...................................................................................................44
3.3.4 GDB monitor command..............................................................................................44
3.3.5 Target serial I/O via BDI.............................................................................................45
3.3.6 Target DCC I/O via BDI..............................................................................................46
3.3.7 Target Serial Wire Output via BDI..............................................................................47
3.4 Telnet Interface....................................................................................................................48
3.4.1 Command list .............................................................................................................49
3.4.2 CPxx Registers ..........................................................................................................51
3.5 Multi-Core Support...............................................................................................................52
4 Specifications ............................................................................................................................ 55
5 Environmental notice................................................................................................................ 56
6 Declaration of Conformity (CE)................................................................................................ 56
7 Abatron Warranty and Support Terms .................................................................................... 57
7.1 Hardware ............................................................................................................................. 57
7.2 Software .............................................................................................................................. 57
7.3 Warranty and Disclaimer .....................................................................................................57
7.4 Limitation of Liability ............................................................................................................57