bdi
Wind
for Tornado™, BDI2000 (MPC8xx/MPC5xx)
User Manual
23
© Copyright 1997-2007 by ABATRON AG Switzerland
V 1.38
The following item is only used if BDI mode is AGENT:
BREAKMODE mode [op] This parameter defines how breakpoints are implemented. The current
mode can also be changed via the Telnet interface.
SOFT
This is the normal mode. Breakpoints are implemented
by replacing code with a TRAP (default) or ILLEGAL in-
struction. The optional [op] parameter defines if a trap or
an illegal instruction is used.
HARD
In this mode, the PPC breakpoint hardware is used.
Only 4 breakpoints at a time are supported.
Example:
BREAKMODE HARD ; use hardware breakpoints
BREAKMODE SOFT ILLEGAL
STEPMODE mode
This parameter defines how single step (instruction step) is implemented.
Use thealternate step mode (HWBP) if the default step mode (MSR[SE]
bit) causes problems.
TRACE
This is the default mode. Single step is implemented by
setting the SE bit in MSR.
HWBP
In this mode, one or two hardware breakpoints are used
to implement single stepping.
Example: STEPMODE
HWBP
WORKSPACE address
In order to access the floating-point registers of a MPC5xx microproces-
sor, the BDI needs a workspace of 8 bytes in target RAM. Enter the base
address of this RAM area.
address
the address of the RAM area
Example:
WORKSPACE 0x00000000
The following items are only used if BDI mode is AGENT. The values are used as answers to the WDB
request bkendTgtConnect (see Tornado documentation):
MEMBASE value
The base address of the target memory.
MEMSIZE value
The size of the target memory.
POOLBASE value
The base address of host controlled target memory.
POOLSIZE value
The size of host controlled target memory.