bdi
GDB
for GNU Debugger, BDI2000 (ARM11 / Cortex)
User Manual
25
© Copyright 1997-2014 by ABATRON AG Switzerland
V 1.21
3.2.2 Part [TARGET]
The part [TARGET] defines some target specific values.
CPUTYPE type [ { port | index | addr } ]
This value gives the BDI information about the connected CPU.
type
The CPU type from the following list:
ARM1136, ARM1156, ARM1176, MPCORE, ARM7
CORTEX-M0, CORTEX-M3, CORTEX-M4
CORTEX-A5, CORTEX-A7, CORTEX-A8
CORTEX-A9, CORTEX-A15, CORTEX-R4, LS1000
OMAP3, OMAP3400, OMAP3500, AM3500
port
ARM7: JTAG-AP port (0...7).
Cortex-M: AHB-AP access port select (default 0)
index
Defines which core debug component to select(0..7).
addr
Specifies the APB address of the core debug compo-
nent. There is no ROM table search in this case.
Example: CPUTYPE
ARM1136
CPUTYPE CORTEX-A9 0x9F310000
CPUTYPE CORTEX-A9 0 ; use first found
CPUTYPE CORTEX-A9 1 ; use second found
CTI addr [ cgroup]
This entry allows to define the base address of the CTI component and op-
tionally to define the core group parameter.
addr
Defines the APB address of the Cross-Trigger Interface
(CTI) component.
cgroup
This is a bitmap of selected cores. It gives the BDI infor-
mation about how to restart multiple cores in response
to a GDB continue command. See chapter Multi-Core
Support.
Example:
#0 CTI 0x82158000 0x0f ;CTI base, core group master
#1 CTI 0x82159000 0x02 ;CTI base, core group slave
CLOCK main [init] [SLOW]With this value(s) you can select the JTAG clock rate the BDI2000 uses
when communicating with the target processor. The "main" entry is used
after processing the initialization list. The "init" value is used after target
reset until the initialization list is processed. If there is no "init" value de-
fined, the "main" value is used all the times.
Adaptive clocking is only supported with BDI2000 Rev.B/C and needs a
special target connector cable. Add also SLOW if the CPU clock frequency
may fall below 6 MHz during adaptive clocking.
main,init:
The clock frequency in Hertz or an index value from the
following table:
0 = Adaptive
1 = 16 MHz
6 = 200 kHz
2 = 8 MHz
7 = 100 kHz
3 = 4 MHz
8 = 50 kHz
4 = 1 MHz
9 = 20 kHz
5 = 500 kHz
10 = 10 kHz
Example:
CLOCK 2
; 16 MHz JTAG clock
CLOCK 8000000
; 8 MHz JTAG clock