Motorola MPC564EVB Instrukcja Użytkownika Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 98
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
3-10 MPC564EVB Users Manual
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 0xFFF2_0000 and ending at 0xFFF4_0000 with the value
0x1234, the command is:
bf FFF20000 FFF40000 1234
To fill a block of memory starting at 0xFFF20000 and ending at 0xFFF4_0000 with a byte value
of 0xAB, the command is:
bf.b FFF20000 FFF40000 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 0xFFF2_0000 and ending at 0xFFF4_0000 with data that
increments by 2 for each <width>, the command is:
bf FFF20000 FFF40000 0 2
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 97 98

Komentarze do niniejszej Instrukcji

Brak uwag