![Axiom CML-5485 Hardware User Manual Download Page 26](http://html.mh-extra.com/html/axiom/cml-5485/cml-5485_hardware-user-manual_3036878026.webp)
C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0
0 6 / 2 2 / 0 5
25
Each time a breakpoint is encountered during the execution of target code, the count value is
compared against the trigger value. If the count value is equal to or greater than the trigger
value, a breakpoint is encountered and control returned to
dBUG
. By default, the initial trigger
value for a breakpoint is one, but the
-t
option allows setting the initial trigger for the
breakpoint.
If no address is specified in conjunction with the -c or -t options, then all breakpoints are
initialized to the values specified by the -c or -t option.
Examples:
To set a breakpoint at the C function main() (symbol _main; see “symbol” command), the
command is:
br _main
When the target code is executed and the processor reaches main(), control will be returned to
dBUG
.
To set a breakpoint at the C function bench() and set its trigger value to 3, the command is:
br _bench -t 3
When the target code is executed, the processor must attempt to execute the function bench()
a third time before returning control back to
dBUG
.
To remove all breakpoints, the command is:
br -r
BS - Block Search
Usage:
BS<width> begin end data
The BS command searches a contiguous block of memory starting at address
begin
, stopping
at address
end
, for the value
data
. <
Width
> modifies the size of the data that is compared
during the search. If no <width> is specified, the default of word sized data is used.
The values for addresses begin and end may be absolute addresses specified as hexadecimal
values, or symbol names. The value for data may be a symbol name or a number converted
according to the user-defined radix, normally hexadecimal.
This command first aligns the starting address for the data access size, and then increments
the address accordingly during the operation. Thus, for the duration of the operation, this
command performs properly-aligned memory accesses.