Chapter 7 Board-control Commands

Page 7 - 24

 

Diagnostic/Self-test (09H)

Diagnostic/ Self-test (09H)

Command

Format

The Diagnostic/Self-Test command duplicates most of the tests performed at power-up. You can select which tests will be performed. The command returns a special Status Block with testing results.

This command writes test data into board memory.

The adapter will not execute the Diagnostic/Self-Test command until it completes all preceding commands in order to avoid writing over valid data in memory. Also, the adapter will not accept other commands while it is executing Diagnostic/Self-test. When the testing is done, the adapter will service all pending Channel Attentions.

The Parameter Block for the Diagnostic/Self-test command has this format:

Address

 

Byte Memory Address

 

 

Offset

Offset + 0

Offset + 1

 

Offset + 2

 

Offset + 3

 

 

 

 

 

 

 

 

 

00H

 

Command Identifier

 

 

 

 

 

 

 

 

 

04H

 

Reserved

 

 

 

Adapter ID = FFH

 

 

 

 

 

 

08H

 

 

Reserved

 

 

 

 

 

 

 

 

0CH

 

 

Reserved

 

 

10H

Command = 09H

Test Flags

 

 

Reserved

 

 

 

 

 

 

 

14H

 

 

Reserved

 

 

 

 

 

 

 

 

18H

 

 

Reserved

 

 

 

 

 

 

 

 

 

Description of Fields

Table 79: Diagnostic/Self-test Parameter Block

Each field of the Diagnostic/Self-test Parameter Block is described below:

Command Identifier

The Command Identifier field is used to identify the Status Block associated with a Parameter Block. It must be a unique value.

Adapter ID

This field identifies the type of command being issued. This is a Board-control command. The value in this field must be FFH.

Test Flags

This field is used to determine which of the RF3880 board tests will be performed.

BITS

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

0

QLG

STT

PSI

RAM

186XL

PCS

0

Table 80: Diagnostics Command Test Flags Field

PCS PROM CRC Test - This test performs a CRC of all bytes programmed in the EPROMs, compares it to the CRC stored in the highest EPROM memory location, and reports the result in a Status Block.

0 Skip the PROM CRC test.

1 Perform the PROM CRC test.

21020285 D

User’s Guide

Page 148
Image 148
Ciprico Rimfire 3880 manual Diagnostic/ Self-test 09H, Board-control Commands Diagnostic/Self-test 09H, Test Flags