Chapter 3. Using the Monitor/Debug Firmware
3-13
Commands
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.
Examples:
To search for the 32-bit value 0x1234_5678 in the memory block starting at 0xFFF4_0000 and
ending at 0xFFF7_0000:
bs
FFF40000 FFF70000 12345678
This reads the 32-bit word located at 0x0004_0000 and compares it against the 32-bit value
0x1234_5678. If no match is found, then the address is incremented to 0x0004_0002 and the next
32-bit value is read and compared.
To search for the 16-bit value 0x1234 in the memory block starting at 0xFFF4_0000 and ending at
0xFFF7_0000:
bs
40000 FFF70000 1234
This reads the 32-bit word located at 0xFFF4_0000 and compares it against the 16-bit value
0x0000_1234. If no match is found, then the address is incremented to 0xFFF4_0004 and the next
32-bit value is read and compared.
Summary of Contents for MPC564EVB
Page 1: ...MPC564EVBUM Rev 1 2 3 2003 MPC564EVB User s Manual ...
Page 6: ......
Page 10: ...Contents Paragraph Number Title Page Number iv MPC564EVB User s Manual MOTOROLA ...
Page 50: ...2 12 MPC564EVB User s Manual System Power up and Initial Operation ...
Page 92: ...3 42 MPC564EVB User s Manual System Call Functions ...
Page 98: ...B 4 MPC564EVB User s Manual Troubleshooting Network Problems ...