![Motorola M5271EVB Скачать руководство пользователя страница 47](http://html.mh-extra.com/html/motorola/m5271evb/m5271evb_user-manual_245395047.webp)
Chapter 3. Using the Monitor/Debug Firmware
3-9
Commands
BF
Block Fill
Usage:BF<width> begin end data <inc>
The BF command fills a contiguous block of memory starting at address begin, stopping at
address end, with the value data. <Width> modifies the size of the data that is written. If no
<width> is specified, the default of word sized data is used.
The value for addresses begin and end may be an absolute address specified as a
hexadecimal value, or a symbol name. The value for data may be a symbol name, or a
number converted according to the user-defined radix, normally hexadecimal.
The optional value <inc> can be used to increment (or decrement) the data value during the
fill.
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 fill a memory block starting at 0x00020000 and ending at 0x00040000 with the value
0x1234, the command is:
bf
20000 40000 1234
To fill a block of memory starting at 0x00020000 and ending at 0x0004000 with a byte
value of 0xAB, the command is:
bf.b
20000 40000 AB
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 0x00020000 and ending at 0x00040000 with data that
increments by 2 for each <width>, the command is:
bf
20000 40000 0 2
Содержание M5271EVB
Страница 1: ...M5271EVBUM Rev 1 0 6 2004 M5271EVB User s Manual Supports Devices MCF5271 MCF5270 ...
Страница 8: ...8 M5271EVB User s Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 37: ...Chapter 2 Initialization and Setup 2 7 Installation and Setup Figure 2 5 Jumper Locations ...
Страница 84: ...A 4 M5271EVB User s Manual MOTOROLA Troubleshooting Network Problems ...
Страница 85: ...MOTOROLA Appendix B Schematics B 1 Appendix B Schematics B 1 M5271EVB Schematics ...
Страница 86: ...B 2 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...
Страница 100: ...B 16 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...