Download User Manual - DENX Computer Systems

Transcript
Using PEEDI
This is GDB problem workaround. If read target memory error occurs within this
period after the GDB is connected, no error will be returned to GDB. This is because
GDB refuses to connect to the target if it gets an error during the connection
procedure. GDB tries to read the stack frame during the connection sequence and
this may lead to invalid memory accesses.
Argument
Period in milliseconds
Example:
[DEBUGGER_PROTOCOL]
PROTOCOL = gdb_remote, adp
; gdb remote and adp protocols
REMOTE_PORT = 2000
; TCP/IP port
GDB_READ_INGNORE_TIME = 3000 ; Read error ignore period
Section TARGET
This section describes the target’s platform.
PLATFORM
Description
Target’s platform
Argument
ARM, ARM11, CortexM3, CortexM3_SWD, CortexA8, XScale, Blackfin, MPC5500,
MPC8300, ColdFire or MIPS32
Example:
[TARGET]
PLATFORM = ARM
Section PLATFORM_ARM
In this section there are parameters specific to the given ARM cores. Every core must be defined with
the COREn parameter, where ‘n’ is a number; each parameter related to this core must be preceded
with the same COREn prefix. The parameters that must be set are:
Global parameters for all ARM cores:
JTAG_CHAIN
Description
Length of IRs (Instruction Registers) of the devices on the JTAG chain. All IRs must
be enumerated; the ones not supported by PEEDI must be skipped when defining
COREn parameters (see below)
Argument
Enumerated all JTAG IR lengths, separated by comma
JTAG_CLOCK
Description
JTAG clock before and after initialization
Argument
Both clock values in kHz separated by comma. MAX JTAG clock is 33MHz, but 1620MHz is recommended. You ca use ADAPTIVE, if the CPU supports adaptive
clocking
JTAG_TDO_DELAY
Description
Delay the sample of the TDO JTAG line. For best performance different CPUs
require different TDO sample delay. When this parameter is not preset a 5ms value
is set by default.
Argument
0 – 35
– the delay in ns.
AUTO
– PEEDI tests the CPU and sets the optimum TDO delay
TRST_TYPE
Description
PEEDI User’s manual
22
www.ronetix.at