Specifications
Remote Diagnostics and Debugging
Descriptions of Diagnostic and Debugging Commands 121
G â Get Diagnostics Counters
The G command reads 16 diagnostics counters beginning at the
counter number specified. The 16 counts returned are each two bytes,
in binary format.
Command Packet Received by Terminal:
<FFh> <55h> <count> G <counter number> <CRC1> <CRC2>
Response Packet Sent by Terminal:
<FFh> <55h> <count> G <16 counts> <CRC1> <CRC2>
I â Get Current EM Instructions (Debugger Only)
The I command asks the terminal to send the EM code currently
being executed back to the computer.
Command Packet Received by Terminal:
<FFh> <55h> <count> I <CRC1> <CRC2>
Response Packet Sent by Terminal:
<FFh> <55h> <count> I <data> <status> <CRC1> <CRC2>
Where
<data> is binary and consists of 4 words of EM base registers (PC,
HP, SP, LB) and 6 bytes of EM opcodes to be executed, and
<status> is the status byte configured in the âTâ command.
O3200 RM Book.book Page 121 Thursday, April 29, 1999 3:48 PM