Motorola M68CPU32BUG Manuel d'utilisateur Page 75

  • 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 74
DIAGNOSTIC FIRMWARE GUIDE
M68CPU32BUG/D REV 1 6-8
CPU B Instruction Test CPU B
6.4.2 Instruction Test
CPU32Diag>CPU B
CPU B tests various data movement, integer arithmetic, logical, shift and rotate, and bit
manipulation instructions of the MCU device.
EXAMPLE
After the command has been issued, the following line is printed:
B CPU Instruction Test ..............Running ---------->
If any part of the test fails, then the display appears as follows.
B CPU Instruction Test...............Running ---------->..... FAILED
(error message)
Here, (error message) is one of the following:
Failed AND/OR/NOT/EOR instruction check
Failed DBF instruction check
Failed ADD or SUB instruction check
Failed MULU or DIVU instruction check
Failed BSET or BCLR instruction check
Failed LSR instruction check
Failed LSL instruction check
If all parts of the test are completed correctly, then the test passes.
B CPU Instruction Test...............Running ----------> PASSED
DIAGNOSTIC FIRMWARE GUIDE
M68CPU32BUG/D REV 1 6-5
6.3.2 Read Loop
RL.<SIZE> [<ADDR> [<DEL><DATA>]]
The RL command executes a streamlined read of specified size from a specified memory
location. This command is intended as a debugging aid once specific fault areas are identified.
The read loop is very short in execution so measuring devices such as oscilloscopes may be
utilized in tracking failures. Pressing the BREAK key does not terminate this command, but
pressing the ABORT switch or RESET switch does.
Command size must be specified as B for byte, W for word, or L for longword.
The command requires one parameter: target address. The address is a hexadecimal value. To
read from address $10000, enter RL.B 10000. The system prompts the user if the parameter is
omitted.
EXAMPLES
CPU32Diag>RL.B<CR> Prompts for address from which to read byte value
CPU32Diag>RL.W A000<CR> Read longword at $A000
6.3.3 Write/Read Loop
WR.<SIZE> [<ADDR> [<DEL><DATA>]]
The WR command executes a streamlined write and read of specified size to a specified memory
location. This command is intended as a debugging aid once specific fault areas are identified.
The write/read loop is very short in execution so measuring devices such as oscilloscopes may be
utilized in tracking failures. Pressing the BREAK key does not terminate this command, but
pressing the ABORT switch or RESET switch does.
Command size must be specified as B for byte, W for word, or L for longword.
The command requires two parameters: target address and data to be written. The address and
data are both hexadecimal values and must not be preceded by a $. To write $00 out to address
$10000 and read back, enter WR.B 10000 00. The system prompts the user if either or both
parameters are omitted.
EXAMPLE
CPU32Diag>WR.W 8000 FFFFFFFF<CR> Writes longword $FFFFFFFF to location $8000 and
reads it back
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 97 98

Commentaires sur ces manuels

Pas de commentaire