bdi
GDB
for GNU Debugger, BDI2000 (ARM)
User Manual
27
© Copyright 1997-2005 by ABATRON AG Switzerland
V 1.17
3.2.2 Part [TARGET]
The part [TARGET] defines some target specific values.
CPUTYPE type
This value gives the BDI information about the connected CPU.
type
The CPU type from the following list:
ARM7TDMI, ARM7DI, ARM710T,ARM720T,ARM740T
ARM9TDMI, ARM920T, ARM940T, TMS470
ARM9E, ARM946E, ARM966E, ARM926E
TI925T, MAC7100, FA526
Example: CPUTYPE
ARM920T
CLOCK main [init]
With this value(s) you can select the JTAG clock rate the BDI2000 uses
when communication with the target CPU. 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 defined, 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.
main,init:
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 1 ; JTAG clock is 16 MHz
RESET type [time]
Normally the BDI drives the reset line during startup. If reset type is
NONE, the BDI does not assert a hardware reset during startup. This entry
can also be used to change the default reset time.
type
NONE
HARD (default)
SGOLD (enables S-GOLD ARM9 TAP during reset)
time
The time in milliseconds the BDI assert the reset signal.
Example:
RESET NONE ; no reset during startup
RESET HARD 1000 ; assert RESET for 1 second
TRST type
Normally the BDI uses an open drain driver for the TRST signal. This is in
accordance with the ARM recommendation. For boards where TRST is
simply pulled low with a weak resistor, TRST will always be asserted and
JTAG debugging is impossible. In that case, the TRST driver type can be
changed to push-pull. Then the BDI actively drives also high level.
type
OPENDRAIN (default)
PUSHPULL
Example:
TRST PUSHPULL ; Drive TRST also high