Motorola MPC564EVB Manuel d'utilisateur Page 63

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 62
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.
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 97 98

Commentaires sur ces manuels

Pas de commentaire