没有合适的资源?快使用搜索试试~ 我知道了~
首页BDI-3000使用手册
BDI—3000的使用手册:bdiGDB enhances the GNU debugger (GDB), with JTAG debugging for ARM11 and Cortex-A8/M3 based targets. With the built-in Ethernet interface you get a very fast code download speed. No target communication channel (e.g. serial line) is wasted for debugging purposes. Even better, you can use fast Ethernet debugging with target systems without network capability. The host to BDI communica- tion uses the standard GDB remote protocol.
资源详情
资源评论
资源推荐

bdi GDB
JTAG debug interface for GNU Debugger
ARM11 / Cortex
User Manual
Manual Version 1.10 for BDI3000
©1997-2011 by Abatron AG

bdiGDB for GNU Debugger, BDI3000 (ARM11 / Cortex) User Manual 2
© Copyright 1997-2011 by ABATRON AG Switzerland V 1.10
1 Introduction .................................................................................................................................4
1.1 BDI3000.................................................................................................................................4
1.2 BDI Configuration ..................................................................................................................5
2 Installation ...................................................................................................................................6
2.1 Connecting the BDI3000 to Target ........................................................................................6
2.1.1 Adaptive Clocking ........................................................................................................8
2.1.2 Serial Wire Debug ......................................................................................................10
2.2 Connecting the BDI3000 to Power Supply ..........................................................................11
2.3 Status LED «MODE»...........................................................................................................12
2.4 Connecting the BDI3000 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 Configuration via Telnet / TFTP .................................................................................20
2.6 Testing the BDI3000 to host connection..............................................................................22
2.7 TFTP server for Windows....................................................................................................22
3 Using bdiGDB ............................................................................................................................ 23
3.1 Principle of operation...........................................................................................................23
3.2 Configuration File.................................................................................................................23
3.2.1 Part [INIT]...................................................................................................................24
3.2.2 Part [TARGET] ...........................................................................................................27
3.2.3 Part [HOST]................................................................................................................33
3.2.4 Part [FLASH] ..............................................................................................................35
3.2.5 Part [REGS] ...............................................................................................................43
3.3 Debugging with GDB ...........................................................................................................45
3.3.1 Target setup ...............................................................................................................45
3.3.2 Connecting to the target.............................................................................................45
3.3.3 Breakpoint Handling...................................................................................................46
3.3.4 GDB monitor command..............................................................................................46
3.3.5 Target serial I/O via BDI.............................................................................................47
3.3.6 Target DCC I/O via BDI..............................................................................................48
3.3.7 Target Serial Wire Output via BDI..............................................................................49
3.4 Telnet Interface....................................................................................................................50
3.4.1 Command list .............................................................................................................51
3.4.2 CPxx Registers .......................................................................................................... 53
3.5 Multi-Core Support...............................................................................................................54
3.5.1 JTAG Daisy Chained Cores .......................................................................................54
3.5.2 ARM7 cores connected via JTAG-AP ........................................................................54
4 Specifications ............................................................................................................................ 55
5 Environmental notice................................................................................................................ 56
6 Declaration of Conformity (CE)................................................................................................ 56
7 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

bdiGDB for GNU Debugger, BDI3000 (ARM11 / Cortex) User Manual 3
© Copyright 1997-2011 by ABATRON AG Switzerland V 1.10
Appendices
A Troubleshooting .......................................................................................................................58
B Maintenance .............................................................................................................................. 59
C Trademarks ...............................................................................................................................59

bdiGDB for GNU Debugger, BDI3000 (ARM11 / Cortex) User Manual 4
© Copyright 1997-2011 by ABATRON AG Switzerland V 1.10
1 Introduction
bdiGDB enhances the GNU debugger (GDB), with JTAG debugging for ARM11 and Cortex-A8/M3
based targets. With the built-in Ethernet interface you get a very fast code download speed. No target
communication channel (e.g. serial line) is wasted for debugging purposes. Even better, you can use
fast Ethernet debugging with target systems without network capability. The host to BDI communica-
tion uses the standard GDB remote protocol.
An additional Telnet interface is available for special debug tasks (e.g. force a hardware reset,
program flash memory).
The following figure shows how the BDI3000 interface is connected between the host and the target:
1.1 BDI3000
The BDI3000 is the main part of the bdiGDB system. This small box implements the interface be-
tween the JTAG pins of the target CPU and a 10/100Base-T Ethernet connector. The firmware of the
BDI3000 can be updated by the user with a simple Linux/Windows configuration program or interac-
tively via Telnet/TFTP. The BDI3000 supports 1.2 – 5.0 Volts target systems.
GNU Debugger
(GDB)
BDI3000
Target System
COP Interface
Ethernet (10/100 BASE-T)
ARM
Unix / PC Host

bdiGDB for GNU Debugger, BDI3000 (ARM11 / Cortex) User Manual 5
© Copyright 1997-2011 by ABATRON AG Switzerland V 1.10
1.2 BDI Configuration
As an initial setup, the IP address of the BDI3000, the IP address of the host with the configuration
file and the name of the configuration file is stored within the flash of the BDI3000.
Every time the BDI3000 is powered on, it reads the configuration file via TFTP.
Following an example of a typical configuration file:
; bdiGDB configuration for ARM Integrator CM1136JF-S
; --------------------------------------------------
;
[INIT]
WM32 0x1000000C 0x00000005 ;REMAP=1, MISC LED ON
;
[TARGET]
CPUTYPE ARM1136
CLOCK 1 ;JTAG clock (0=Adaptive,1=32MHz,2=16MHz ...)
POWERUP 3000 ;start delay after power-up detected in ms
ENDIAN LITTLE ;memory model (LITTLE | BIG)
VECTOR CATCH 0x1f ;catch D_Abort, P_Abort, SWI, Undef and Reset
BREAKMODE HARD ;SOFT or HARD
;
SCANPRED 0 0 ;no JTAG devices before the ARM1136
SCANSUCC 1 4 ;the ETMBUF after the ARM1136 core
;
[HOST]
IP 151.120.25.119
FILE E:\cygwin\home\demo\pid7t\fibo.x
FORMAT ELF
LOAD MANUAL ;load file MANUAL or AUTO after reset
[FLASH]
WORKSPACE 0x00001000 ;workspace in target RAM for fast programming algorithm
CHIPTYPE AM29BX8 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16)
CHIPSIZE 0x100000 ;The size of one flash chip in bytes
BUSWIDTH 32 ;The width of the flash memory bus in bits (8 | 16 | 32)
FILE $arm1136.cfg
FORMAT BIN 0x00010000
[REGS]
FILE $reg1136.def
Based on the information in the configuration file, the target is automatically initialized after every re-
set.
剩余58页未读,继续阅读






安全验证
文档复制为VIP权益,开通VIP直接复制

评论0