Bm - Block Move; Br - Breakpoints - Axiom CML-5485 Hardware User Manual

Application board for freescale mcf5485 mcu
Table of Contents

Advertisement

C M L - 5 4 8 5
U S E R
M A N U A L
To zero out the BSS section of the target code (defined by the symbols bss_start and
bss_end), the command is:
bf bss_start bss_end 0
To fill a block of memory starting at 0x2_0000 and ending at 0x4_0000 with data that
increments by 2 for each <width>, the command is:
bf 20000 40000 0 2

BM - Block Move

Usage:
BM begin end dest
The BM command moves a block of memory starting at address begin and stopping at
address end to the new address dest. The BM command copies memory as a series of bytes,
and does not alter the original block.
The values for addresses begin, end, and dest may be absolute addresses specified as
hexadecimal values, or symbol names. If the destination address overlaps the block defined by
begin and end, an error message is produced and the command exits.
Examples:
To copy a block of memory starting at 0x4_0000 and ending at 0x7_0000 to the location
0x200000, the command is:
bm 40000 70000 200000
To copy the target code's data section (defined by the symbols data_start and data_end) to
0x200000, the command is:
bm data_start data_end 200000
NOTE: Refer to "upuser" command for copying code/data into Flash memory.

BR - Breakpoints

Usage:
BR addr <-r> <-c count> <-t trigger>
The BR command inserts or removes breakpoints at address addr. The value for addr may be
an absolute address specified as a hexadecimal value, or a symbol name. Count and trigger
are numbers converted according to the user-defined radix, normally hexadecimal.
If no argument is provided to the BR command, a listing of all defined breakpoints is displayed.
The -r option to the BR command removes a breakpoint defined at address addr. If no address
is specified in conjunction with the -r option, then all breakpoints are removed.
Each time a breakpoint is encountered during the execution of target code, its count value is
incremented by one. By default, the initial count value for a breakpoint is zero, but the -c option
allows setting the initial count for the breakpoint.
V 1 . 0
24
0 6 / 2 2 / 0 5

Advertisement

Table of Contents
loading

Table of Contents