bdi
SCI
JTAG debug interface for SeeCode™ Debugger, BDI2000 (PPC744x/745x)
User Manual 19
© Copyright 1999-2003 by ABATRON AG
V 1.00
5.2 Properties
The BDI target interface supports the following properties. You may use it interactively via the debug-
ger command line or within a chip initialization file.
PPC_RESET
This property forces a target hardware reset. You may use this property in
the chip initialization file to bring the target in a defined state before pro-
cessing other chip initialization functions.
BDI_DC=direct-command With this property you can execute a so called BDI direct command. BDI
direct commands are mainly used to erase and program flash memories.
They also allows a direct download to flash via SeeCode.
BDI_PRELOAD=name
With this property you define the name of a BDI command file that should
be executed before program download begins.
By default preload.cmd in the default directory is used.
BDI_POSTLOAD=name With this property you define the name of a BDI command file that should
be executed after program download.
By default postload.cmd in the default directory is used.
BDI_LOG=name
If this property is used, all calls to the BDI interface are recorded in a file.
The recorded calls are not useful for SeeCode user but may be used by
Abatron to solve interface problems between the SeeCode debugger and
the BDI.
BDI_BREAK=[soft|hard]
This selects how instruction breakpoints are implemented. This property
is only useful if the target CPU has built-in breakpoint logic. Use this prop-
erty to switch to hardware breakpoints. Do not change breakpoint mode
when there are already breakpoints set.
If you select "soft", the BDI will still use hardware breakpoints for memory
areas defined as readonly (See chapter "Chip Initialization File" in See-
Code User’s Guide).
BDI_VERIFY=[no|first|all|only] This selects how writing to target memory is verified during program
download.
no
: No verify at all (default)
first
: Verify the first byte of every download block
all
: Verify every downloaded byte
only : Do only verify, no write to memory
Example of a chip initialization file:
...
prop BDI_LOG=ppcbdi.log
prop BDI_PRELOAD=c:\myproject\preload.cmd
prop BDI_PRELOAD=c:\myproject\postload.cmd
prop PPC_RESET
prop BDI_BREAK=HARD
prop BDI_VERIFY=FIRST
...