• Keine Ergebnisse gefunden

II 17

N/A
N/A
Protected

Academic year: 2022

Aktie "II 17"

Copied!
43
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

I I

I I

I

17

I I 1--1

I I I

KEULETT PACKARD

HP-CIO SIX CHANNEL TERMINAL MULtIPLEXER FIRtilARE lOR HP-UX/Rr TERMINAL I/O SUPPORr EXTERNAL RElERENCE SPECtrlCATI(If (ERS)

.... rINAL ....

HEULETT-PACKARD COMPANY Roseville Networks Division 8000 Foothills Boulevard Roseville, California 95678

HEULETT-PACKARD PRIVATE Part No. A-27140-81001-2

History

date description 840117 Oriiinal docURent 840209 Major revision.

840223 Changes to the ARQ Asynchronous Event Sensed (AES) section, to the RodeR status bit assignRent, and to the write data!confiiUration/control requeet with IlUbfunction 1 and 146.

840301 Minor clarification In the read download status with option 1 section and added note In download order wIth option 1, subfunction 1 sectIon.

840615 Added notes concernln8 the 2 characters FIFO In the sec and the RaHiRuR record size that the host can receive on a read;

added subfunction 8 to progrM the host controlled

X-ON/X-OFF characters, subfunction 149 to send the host X-()if character bllllediatelY

1

and subfunction 150 to 88nd the host X-OFr character iRAed ately.

841219 Added section 3,8.2.11 concerninsr the potential RodeR problellls and solutions; added additonal RodeR error codes for the Rodell! status byte; added notes concernine the lIIaKiRuR length of the write data/confiiUration/control transaction block; added subfunctions 151, 152, and 153;

added notes for subfunctlon 143; and addec2 default values for the new IlUbfunctiorw •

850104 Added notes to IC collision tiJIer specifyinsr when the tiJIer is cleared; added additional notes to Potential ModeR Problellls

&

Solutions section; added additional notes to RodeR error code

9;

added additional inforRatlon to subfunction 1, 142, and 153; changed default values for the downloaded firRwarej and added Appendix C describinsr EPROM log channel backplane protocol !inwar ••

850318 Changed status code 141 to return the state of RodeR siinals TR and RS.

850401 Added note specifyinsr that the fin"are stops processi"i the write data/confiiUration/control transaction "hen an error is encountered.

850411 Changed and addec2 Rod.. error code for the Rod.. quad.

850909 Changed the Reani", of RodeR status code ., and 9.

HEULEIT-PACKARD PRIVATE Part

No.

A-27140-81001-2

(2)

851009 Added subfunctlons 154 and 155. updated Reanina of RodeR status code 9,

860414 updated subfunction 1 concern ina the switch frOR hardwire

"ode to "odell! "ode when all "odelll sienal are not true and update subfunctlon 144 concernine the lIlaxiJIUll data byte count that Ray be used.

HEULETI-PACKARD PRIVATE Part No. A-21140-81001-2

HP-UK/RT TERMINAL I/O P·IRtIIARE fOR 1111 HP-CIO till

+---+---+

I I

I INTRODUCTI(Jf I CHAP'l'ER 1

I I

+---+---+

1.1 Scope

This dOCUJlent describes the firlilware that is available for the HP-CIO RS-232-C 6 channel lIlodelil IIlultiplexer card to support the HP-UK/RI terlilinal I/O. Specifically. thi8 dOCUJlent describes:

o the rirlilware features available on the card with the EPROM shipped with the card, o the rirlilware features available after the

RodeR tlJx firlilware is downloaded.

o the host interface to the card. and o the card interface to RS-232-C and '.28

devices.

The reader is referred to the followina related dOCUJlent ••

o Zlloe Z80 CPU Tecmical ttarIlal.

o Ziloe za030/Z8530

sec

Serial CoIIlaunlcatloni Controller Technical Hanual.

o Ziloe Z8036 Z-CIO/Z853G CIO Counter/TiJler and Parallel I/O Unit Tecmical Hamal.

o Backplane Interface Circuit (BIC) IRS by Bill Hartin, Roseville Networks Division (RHD).

o HP-CIO Standard I/O Backplane by R. B. Haqerw, CORputer SystelilS Division (CSY).

o Standard DatacOR Driver by Gret Dolkae, RoIeville Networks Division (AND).

o CSO I/O Standard Backplane Protocol for SIilart

Cards by Gree Dolkas, Roseville Networks Division (AND).

HEULETI-PACKARD PRIVATE Part No, A-21140-81001-2 1

(3)

HP-UX/Rr TERHINAL I/O lIRtlrARE lOR IHE HP-CIO tIJI

o auidebook to Data CORRUnlcatione, Part

Mo.

5955-1115, Hewlett-Packard, 1977.

o HP-CIO SIX CHANNEL HODEK HULTIPLEXER, rIRHYARE EXTERNAL REFERENCE SPECIFICATIt»f (ERS) I by Terry Gont, Roseville Network8 Divi8ion (ANDJ.

1.2 Definition of TerRs

ASI - A8ynchrOnou8 Serial Interface. The slnale channel (V8 6 or 8) interface.

Asynchronous - Asynchronous CORwunication is a

Rethod

of

tral1Slllittina data without senctint the clock sienal.

Each character consist8 of one 8tart bit, 5 to 8 data bit8, an optional parity bit if any, and one or two stop bits.

Backplane - The interface between the hoIIt and the card.

Baud - "Baud" refer8 to the speed of 8ienal units. Uhere one bit i8 used as a 8ienal unit, baud speed and bps are the SMe.

Yhen two bit8 are cORbined to fOrR a 8ienal unit, then the baud rate would be half the bps. the sienal unit is called a "diblt.. (double bit), and has four levels or states. Yhen three bi ts font one sianal uni tl it is called a .. trib!t ..

(triple bit) and has eiaht po88 ble states.

BIC - Backplane Interface Circuit. A eate array chip used to interrace the host backplane to the Ricroprocessor on the interface card u8ine the HP-CIO standard.

bps - Bits Per Second, the speed of data tranlRi .. ion over a CORRunication channel.

Break - As used in asychronous serial data CORRUnication

l

a break

condition ie defined to be a sianal "space" cond tion for at least 2 character tiRe. (The 200 .. illiseconde definition ie for device with a baud rate of 110.)

CCIT!

V.I0 -

Electrical standard for data CORRunications siRilar to R5-423.

CCITT V.ll - Electrical standard for data CORRUnications siRilar to RS-422.

HEWLEtT-PACKARD PRIVATE Part No. A-21140-81001-2 2

HP-UX/Rr TERnINAL I/O llRtlrARE lOR tHE HP-CIO HUI

CCITT V.28 - An International Telearaph .. Telephone Consultative COR .. ittee (CCITT) electrical standard for data cORRunication which is siRilar to RS-232-C.

Channel - A8 used in data cORRunication

l

a channel is a path within a line throuah which inforRat on flows.

CORRand -

A

cORRand frOR the host cORputer to the card i8 defined to be a request to the card which is oot prORpted by a SRQ frOR the card.

CRC - Cyclic Redundancy Check Is a .. ethad of usi", a polynolllial to perfont error checki",. The polynoRial is an alaebraic function used to create a constant frOR the .... eate bit pattern. This constant aenerated and &ccu..ulated in both the tras..itter and receIver, i8 used to divide the binary nu"eric value of the character. the quotient is discarded and the relllainder added to the next character, which is aeain divided. This contirues until the last character, when the reRainder is tra~itted to the receiver for cORparison with the receiver's relllainder. An equal CORparison indicate8 no errorst w~i1e an unequal cORpari80n indicates an error in the tranSiUSSlon.

Cyclic redundancy check - See CRC.

Data cORRunication equipwent -

See DCE.

Data set - Aoother nae for Rodell.

Data terwinatinl equiPRent - See Dr!.

DCE - Data CORRunication Equipwent 1s the equipillent URd to convey inforwation between locatione (e. I. J a ..

ooed.

Download - the proces8 of transferrlna Z80 executable code frOR the host to the card.

DTE - Data Terwinal EqulPRent is the rellote terwlnal where

inforRation enters and exits ffOR the data link for a user or the CORputer where 1nforRation is processed and stored.

£ChopleH - This is a .. ode in the full duple. CORRUnication channel where any character tr...-.ltted by the terwinal is

echoed back to the terwinal.

EtA RS-232-C - A North

A ..

erica data CORRUnication standard which specifies the .. echanical and electrical

require~ent8. It uses a 25-pin connector as the 8tandard interface in DatacORR network8, with

lettered pIn asslenRents for Iround, data, control HEYLETT-PACKARD PRIVATE Part No. A-21140-81001-2

3

(4)

HP-UX/RT TERMINAL I/O FIRMWARE lOR THE HP-CIO HOI

and tiJIine circuits. the operatina ranQe is frOR 0 to 20,000 bps in bit-aerial operation, synchronous and asynchronou8.

EIA RS-423 - A data cOlllRunication standard s1Rilar to EIA RS-232-C.

Frontplane - The interface between the card and the RS-232-C or

ccln

V. 28 device.

Pull duple. - A channel where inforRation can travel in both directions siJIultaneously between two locations. No

turnaround tiRe is required.

Half dupleR - A channel which can transRit and receive but not s!Rultaneously. The tran&llission flow Rust be halted each tiRe the direction of travel i8 reversed. This halt is called "turn around tiRe" and typically requires frOlil 50 to 250 Rillieecond8 (RS») dependi", upon line Rileaee. The halt is required to reverse

the direction of "the echo suppressor. in the telephone line and to allow the RodeRS to stabilize.

Hardwired direct connection - A direct connection between a cOlllputer and a terRinal or between 2 cOlilputers over a relatively short distance usina copper wire pairs or coaxial cable~ The .ienals are tranBRitted in dieital fOrRat.

Host - The cORputer in which the HP-CIO 6-Channel ttodeR tlJx card is installed.

HP-CIO - A standard I/O backplane for the I/O interface cards for the COIIlputer SysteRS Group. (HP Channel I/O)

Level-O - For HP-CIO, the Rechanical and electrical specification for the interface between the host backplane and the interface card.

Level-1 - For HP-CIO, the bus priaitlv88 betw .. n the channel and the device adaptor.

Level-2 - For HP-CIO, the COIIlRand and order definition for the interaction between the host I/o backplane and the interface card.

Level-3 - For HP-CIO, the description of a eeri .. of related interactions between the channel and the device adaptor usine the Level-2 protocol. This is often referred to as a transaction.

HEWLEtT-PACKARD PRIVATE Part No. A-27140-81001-2 4

HP-UX/RT TERMINAL I/o FIRMWARE FOR THE HP-CIO HOI

Line - As used in DatacORR, this refers to the physical equiPRent and confieuration used in telecORRunications.

ttodeR - Hodulator/DeRodulator. A device to convert the dieital signal to an analCl sienal for transRission over the telephone Une. At the receivlne end the analCl signal is converted back into the dl,ftal fonat. HodeRS are also often referred to as data sets by the phone cORpanies.

tlJ. - An interface which wultiple.88 several independent data streaRS over a sil1l1e backplane slot.

tlJltiplexer - see tlJK

Order - A request frOR the host channel proeraR to the card which requires the SRQ silnal frOR the card before beine sent.

Parity checki", - Parity .eans that the bit count ot character 1'.

should be either all odd or all even. A bit i.

inserted into the character to obtain parity where necessary. The insertions are called redundant because they can be raoved frOlil the Ressaee without loss of inforRation. An all odd count per character is called odd parity. An all even count is called even parity. The output device supplies parity and the input device checks for parity.

PCA - Printed Circuit A .... bly.

P~lynOlllical checkine - See CRe.

Redundancy checki", - See parity checki",.

SiRpleK - The Ressage flow is a1waye in one direction. An input terRinal can only receIve, never trr,nSldt; an output terRinal can only transRit, never receive.

Synchronous - A transRi88ion Rethod where the character. are transRitted in a continuous st~eaR with no intervals between each character. There are no start or stop bits like in asynchronous Rode. Both the transRitter and receiver Rust Raintain precise tiRine. It

requires a clock be sent alone with the data on a separate line.

Teninal - The device connected to the HP-CIO 8-Channel tIed_ tlJx card.

Transaction - See Level-3.

HEWLETT-PACKARD PRIVATE Part No. A-27140-81001-2 5

(5)

HP-UX/RT TERl1IHAL I/O lIRrIIARE lOR lliE HP-CIO l'I1l

+---.---+

OVERVIEY Q1AP'l'ER 2

+---~---.---+

The S channel RodeR Rultiplexer card is used for interfacina up to

& EIA RS-232-Cdevices to

the

HP-CIO backplane. ;DIe,cy4 finwar, .18'opt,.udzect, •. fOr. 'cbaracter~at ... a~·tlRe.ltQ. . ..

The tlJx card uses a 2-80B lIicroprocessor I alona with three 28530 SCCs (serIal cORliunicatlon controller, and one 23536 CIO (counter/thler and parallel I/O unit) to achieve a low cost solution while P1aintainine versatile functionality. It/aUow~

cS;ttec.t~'B,'int~r4~ini~.tq .• A ... ~!J~ .. ,v~i".tY;'c.!)t .·~."l~es.;. I t contains firRware ~pleRented caPabilitIes that siRplify interfacine tasks for the host CPU.

2.1 Hardware

o Z80S lIicroprocessor with 8Y8tell clock of 3.6864 tlfz o Z8530

sec

(x3)

o 2853& CIO

o Backplane Interface Circuit (BIC) pte array chip and its support circuItry

o MeRory Interface Circuit ("IC) eate array chip for

"eRory control, ~, and peripheral chip support a Up to 16K x 8 EPROK for the finware

o &4K x 8 DynaRic RAM

o RS-232-C transRitters and receivers (with CORP&tibillty for CCITT V.28) for 6 ports.

a Standard HP-CIO connectors

a Card and loop-back hood LEOs to indicate a IO/no 10 self test

HEWLEtT-PACKARD PRIVATE Part No, '-27140-81001-2 6

HP-UX/RT TERl'fINAL I/O !IRtIIARE lOR 11IE HP"'CIO ttli

2.2 Features

o EIA RS-232-C and CCITr V.28 CORpatibllity

o I of data bits/character:

5,

S, 1, or 8 plus parity o • of stop bits: 1, 1.5, 2

o tran8llliseion lIode: fUll duple. hardwlre or "od_

a parity: none, odd, even o clock: internal

o baud rate: 50, 15, 110, 134.5, 150, 300, 800, 900, 1200, 1800, 2400, 3800, 4800, 1200, 9600, or 19200

o baud rate defaults to 9600, and t. BOftware PfOlr8llRable to any of 16 rat ..

a break detection and teneration

o proQrallRable device controlled I-OM/I-Orr handshakinl o self-test

o full duplex lIod_ support to _tt.fy atropean licensina

o tiller for various Rodell funetlo ..

o optional;

asynchfOl1OU8

..,ent _need interrupt -

HEWLEtT-PACKARD PRIVATE Part No. '-27140-81001-2 1

(6)

HP-UX/RT TERMINAL I/O FIRHUARE rOR THE HP-CIO HUI

+---+---+

I I

CAPABILITIES DESCRIPrIlJf I OfAPrER 3 I

I I

+---+---+

Thi. chapter "ill describe each feature that 1a available on the card in detail for the downloaded firw"are.

3.1

Device

Controlled X-lJf/X-OFF Handshake

This handshake protocol allows the device to pace the data tranefer frOR the card to the device. The device "ill sienal the card to stop transRittina data by &endlna an X-OFF character. The receivine device restart. data transRlsslon by sendina the X-ON character.

The iliUM fln"are "ill stop data tranfMisslon 88 soon

as

the X-OFr

ch.'lr~ter,ls r~eivf!d' however, .yp·to_~"t.o~har~ters lIIay ~ transilffttect6er-()re"L1:he't~ftopage·dueto"the tJCC· lifO" buff~r;~1 . I f the handshake i. disabled "hile output i. In process, a "restart transRitter" control request lIIay be used to prevent outbound data frOll eettine stuck on the card.

All handshake characters "Ill be returned to the host in the order received. A OFm for the handshake character "ill disable the correspondine defined handshake. The handshake character for X-elf and X-OFF cannot be the sMe; that is, the fin"are cannot use the BaRe character to tOftle the handshake.

3.2 TranfMit Hardware Handshaklne

Che-:'u.eJ·rtl\J8,~.n:ufl,~y,~~c,qnt.r9,1.:i&1.1JlIltdware·lIantt8l'8kint -like" RS/CS.·

,:~the·:hamsJ'iake~;;i~(j6ntr9ij,ls~;,·PiFtOiIIIed··"by"·,·u.rr"·'the ." cont~'?lrequ88t de:f!~·: in·~hapt..r<'5:~.,-;

The UHr can detenine the state of the Rod • • l p l b:-pollina or by waitlne for a lIIodell status chanle.

HEULETT-PACKARD PRIVATE Part No. A-27140-81001-2

8 .

HP-UX/RT TERMINAL I/O rIRtIIARE lOR THE HP-CIO HUI

3.3 Stoppine the TranBlllitter

The transRitter Ray be stopped frOll tran8lllittlne characters by enabline and usine the X-OFF hanelshake or by usine the control request. The control request "ill stop the tr&n8JIitter like as if an X-OFF was receiVed. Trus the tran8Jlitter lIIay be restarted by usina another control request or by usb" the X-lJf handshake if it is enabled.

3.4 Force Restart of the Tran8Ritter

A control request is available lor the host to restart the transRitter if it is stopped because of waitina for a device X-ON character frOlll the device or tenina1. This option is usual used when the handshakine is enabled and then disable by the host software without knowine the state of the card fiflll"are or is used if the host tells the card to stop tranBlllittine and wishes to restart the transRitter.

3.5 ProeraRJIine the Receiver

&

Tran&lllitter

The character size for the receiver and the tran81111tter lIIay be specified at 5, 6, 7, or 8 bits per character not inclucHne an optional bit for even or odd parity. On transRit, the user data will be processed byte by byte passine the 5, 6, 1, or 8 least significant bits in each byte to the tran&Jlitter dependina on the proeraJIIllled character size. A parity bit will be added by the interface if even or odd parity is enabled. On receive, the irlCOIIIine data will be passed to the user's buffer into the 5, 6, 1, or 8 least sieniflcant bHs .ofe~h byte with the unused bits beine zeros. ." The parity·bit .1s "never-returned-J to,

tI_user.F·

HEULEIT-PACKARD PRIVATE Part No. A-2114O-81001-2 9

(7)

HP-UX/Rr TERMINAL I/O lIRHUARE lOR THE HP-CIO

nux

---+ +---+---+--/ /-+---+---+---+---

Rarki.,. Une I 100 101 I IOn I Pari Rarki.,. Une

+---+---+---+-/ /--+---+---+

I I I I

I I I I

I I

I +-- .top bit Ray be 1,

I

1.5, or 2 bit tiRes +--

I

even or odd parity

bit which Ray or Ray not be present

+-- n • 4, S, S, or 1 for

51

S, 1, or 8 data b tI, respectively +-- least 8ill11rlcant data

bit

+-- .tart bit

(---

R8fJS&88

noel

Asynchronous ttessaae lonat

3.e

Break OItection • oeneration

~<fi"'.ueowill:l'W)tify;-tbeJ-t,of, receiV:lnaabreak on thene1lt :tead,;::tr.an&ae"ioR',done:.by "tbebost:atter the· ,detection.

The host can request the card to tenerate a break condition for the device as soon as the control request i. receiVed. The break eeneration length is detenined by the host. The host does this by using the control request to start the break teneratit'n and another control request to stop the break teneradon.

3.7 ModeR TiRers

1. Modea connection tiRer. This i. the tiR~ aUoeIed to establish HEWLEtT-PACKARD PRIVATE Part No. A-21140-81001-2

10

HP-UX/Rr TERMINAL I/O fIRHUAR! lOR 11IE HP-CIO tlIX

iioci_

connection by waitil'll for the 1If, CS, and RR si,nals for : full dupleK RodeR.l:f;:the-:IIf.:·CS.-andRR .ill'llll.-ilre riot",

..,sertedwlt"~n ,the tba •.

t1ven,,'itl)ellne connection

'reqUe8t', forc'

ttte

or:iginadna Rode"w1n be-·abortecf:· lor the auto answer Rqde, the Hnvare, wIll to back into thewaltil1lfor the IC signal Rode .l'hEf,:defauit' ,vallufwllfb8 .·25i18Corid8i The clock r~~~~ion ~s 1_~--the--·clock-ranee 1s f;rOR 0 to 255

s~--

2. No activity disconnect tiRer. Thi. tiRer i. ueed to prevent the incurred of eKcessive connect charles due to no activity over a RodeR connection. ntedefault'value

I.eoo

eecOnd.~

The clock resolution i. 1 ..cond. The clock ranee is frOR 0 to

65535 second.. '

3. Lost receiver ready tiRer. lor fuUdliplex Rod8lll,tl.'i8 tiRer is activiated by the finware,Jfhenevo-,tIfe:RR'iOdelicconttol- '.li"ll.,;;lQSit1! If the control sienal should return before the

tiPIer tiRes out. the tiller wIll be reset to O. If the tiRer tillles out before the c~ntrol"llnalrewrns.'t~rll1l"ar!, w11t lower. TR _anc:IRS '~< Infonthe·h08t:ofthedi8COnnectio~:

The RUK rlnware also uses thi., tiRer durl.,. the initial RodeR connection phase. When the

DH

.i,nal is first asserted, this

ti .. er .ill be started. After the tiRer has tiRed out, the fir .. ware wIll check the

DH

si,nal. If the 8ianal is still asserted, the (irRwar. will continue the RodeR connection sequenceby checkinrfor the CS

and

RII.Rod"'fJJe~ls.

Dtbetwise,-:ttte'flrRliare lillIe' cantirue ',' thellOdf!lil connection 8equenceby waltt", forthell".lplfor'theorleinateRode or bywai Ural; fOr the >lC.ienal'orthe8Ut() .... er~~e.

The resolution of the tiRer i. 10 Rll1188COnd.. The default 1.

400 Rilliseconds. The clock ranee i. froR 0 to 2550 Rilliseconds.

lor all of the tiRer. above a zero value will defeat the tiRer;

that 18, there will be no tiRe out.

4. IC co1l1sion tiRer. Uhen the Ie Rod • .,i,nal i. received and if the auto answer Rode 1s not active, the Ie collision tbter is started. If the host should poet an oriainate open .. odell link request while the IC collision tiRer is active. a .. odell change quad is itinerated with an Rod • • rror code 8 to abort the open request.

If there are several rilll8 for the incc:.ina call, the Ie' collisiont,u.eri8 restarted for each rll1l{ The tllller is set for 10 seconds.

HEWLETT-PACKARD PRIVATE Part No. A-27140-81001-2 11

(8)

HP-UX/RI TERHINAL I/O rIRHUAR! lOR tHE HP-CIO HOI

The ti~er is cleared on expiration of the tiRer or by the host postine an auto answer open request.

3.8 Hod_ SUpport

The follo.ine "od_ U ... will be aupporte4 by th18 finware.

eilnal direction "od_ line EIA AS-449

card device description 8yabol

- - ) send data

<-- receive data

- - ) request to . . nd

<-- clear to send

<-- ri!ceiver ready

<-- ioocaine call

- - ) teninal ready

<-- data "od.

- - ) silnal rate . . lector

<-) s l p l Iround

3.8.1 Hoet Control of the Hod_ Sl .... 1

~':>~t,. "J"

""YJ" ~e.

SO RD

as

CS RR IC D' II!

SR SO

~(I :0

l,c

t("

Ri S CTS

J)C/) 1\T.

1)TR

DSR

'DR~

SC:j

=:f;~:~~:.t:;l::~~::!~=~~:=:::~~!~=!~~~::'·:::~::

... ";~()~tJ;~~,,!l!s'~he.i:lIlgct~:,l:i,,,'}'by'.usina,..,'tba~c'co"trol'reqoesl. Any tb,ers-ror '-ROdeR control will not be active. No error checkine will be provided like checkine for lost II!.

Any tiRe the RodeR CM. state, the finnrare w111 return a data block indlcatlne the RodeR status charlie for that port.,;'ll1euser

c~"aY::'Q"';CFCQnll!Ql:'requ_t;'~;tOJ2ae.tt-bl~cqrr.nt.·.04. sta·te."',·

HEYLEIt-PACKARD PRIVATE Part No. A-27140-81001-2 12

HP-UX/RI TERHINAL I/O lIRHUARE 10I THE HP-CIO HOI

3.8.2 linware Control of the nod. Sianal

Uhen the card is enabled for full duplex "odeR traJ'18lllieeion Rode, the fifJlware will provide full "od_ control as described below.

There are three RodeR control tillers iRpl_ented by the card firJtware: the RodeR connection tiRer, the no activity disconnect dRer, and the lost receiver ready tiRer. The AodeiLConnection t:1Rer is used to tillite the initial connection. It ~ay be disabled or set to a value up to 255 seconds (delault'ls25; seconds) • The nQac:tivity,di:sconnec;t;~tl"er disconnects the ~odeR if there is no traf'isRICor receive data activity in the specified tiRe interval.

It Ray be disabled or set to a value up to 65535 seconds,cidl!fault

1s600secol1dsP~ The 11ost:rJ!C81yerread¥-~~tbter tiRes the loss of the receiverready (~R)8~gnal (01'-' fulldoplex RodeR. Its default va1ge Is400Jil1i1eeconds;-'however. it lIay be disabled or . . t to a

new

value up to 2.5 seconds.

The lost receiver ready tiRer ie al80 used in the initial ~odeR

connection phase. Upon receivine the II! silnal, the tiRer will be started. After the tiRer tiRes out, the fifJlware .ill check the DH sienal. If the II! signal is still aeeerted, the finware will then continue the ~odeR connection Bequeooe by checking for the assertion of the clear-to-eend (CS) and receiver ready (RR) RodeR signals. Othentise, the tinware will continue the RodeR connection sequence by waitine for the II! silnal for the originate Rode or by res tar tina the IC poll for the answer ~ode.

ThetefJlJ.~JrellClydla:ltlU'drequeet~to-tpel)d(RS).ilna18 will be·

se!

low ",henever ttle,~ata"pde (ll1l,tfi!!.receiverreadY tRRl ,or '

the.clear.,to;,ee~:· (CS) .i"'18· arel_t:after,thelink haebeen

opened~ .

There are two waye of connectine a Rodell. The firet ie anewer ~ode

where the card will wait for an ioocaine call, and the second is orilination "ode where the card will initiate the call or connection.

3.8.2.1 lUll Duplex Hod . .

The full duplex "odeR connection usee the send data (SO) line to send data to the RodeR and the receive data (RD) line to accept data frOR the RodeR. The request to send (RS), clear to send (CS), data Rode (Dtf), receiver ready (RR), and incolline call (IC) lines are used to handshake with the Rod... The silnal rate . . lector

(SR) line can be controlled by the hoet.

In answer

,"ode,

the f1nnrlll'e~.ULBJ..~. cJ~r~~t1w-lC line to be

asserted. .

The.nnw..-.th8n . respond byanertine the AS and TR HEWLETT-PACKARD PRIVATE Part No. A-21140-81001-2

13

(9)

HP-UX/Rr TERnINAL I/O fIRttlARE fOR 11IE HP-CIO till

.ienal and .tartine the

"ad_

connection tlJler.

n...

11.,.. wIll be deuserted if Ott, CS, and RR is not turned on when the tbler tiRes out. In this cue the firltware will return to the Rode of waitir18 for the Ie sienal. When the "odell! connectIon is lIIade, the firlilware will notify the host by returnine a data block with the lIIodeR status chanie bit set dth an open link for the "oda. error code.

<t~~!l.l~;t.':\c$~1,!-t"oF;tR~;,;,:,as,;.1l1.·.be.UfJII8tted· and the ROOeR COl'il"JeCtion tililer will be started. These lines w111 be deasserted if Dtf CS, and RR do not turn on wjthin the tillle out of· ~be tiaerr'

In this case the card will return a status Indlcatine that the open request failed.

Once a connectIon has been eetablilhed. the firIlWar8 wIll enable the no activity disconnect tlJlers.

3.8.2.2 Full ruplex Modell TiRlne Dlqra

The followina are the various tiRina c!laerllll. for full duplex "OOeR functions.

NarE ntAT THE TIME VAWES OIVflf IN THE TIMINO DIAORAI'IS ARE THE DEFAULT VAWES USED IN THE rIRtliARE TO OB'l'AIN THE NECESSARY DATA

am

LICENSES.

H!ULETI-PACKARD PRIVATE Part No. A-27140-81001-2 14

HP-UI/Rr TERnINAL I/O lIRttlAR! lOR IH! HP-CIO till

3.8.2.3 Norltal Connection - Auto Anawer

+---+

IC I

----+ +--- +--- as ---+

+---

TR

---+

+---

I

---+

+---

RR I

---+

+---

cs

---+

---+---

RD 1//////////////////

+---

---~---+---

so

1//1111111111111111

call

I

received

H!ULETI-PACKARD PRIVATE

+---

connection I established

Part No. A-27140-81001-2 15

(10)

HP-UX/RT tERMINAL 1/0 llRHUARE lOR tHE HP-CIO HUI

3.8.2.4 UronQ NuRber call - Auto Answer

IC

as

tR

RR

+---+

----+ +--- +--- - - - ---+

---+ +---

+--- - - - ---+

---+ +---

+--- - - - ---+

1 1

---+

A 1< ___________________ )1

1

25 seconds without I OM, CS, and RR all I asserted

I

call race ived

+---

HEWLETt-PACKARD PRIVATE Part No. A-27140-81001-2 15

HP-UX/RT tERMINAL I/O lIRHUARI lOR 1'HE HP-CIO HUI

3.8.2.5 Noraal Connection - Orilinate

+---

RS

---+

+---

tR

---+

+---

I

---+

+---

RR

---+

+---

cs

---+

---+---

RD

I111111111111111111

so

+--- ---+--- I111111111111111111

+---

connection I established

HEWLETT-PACKARD PRIVAtE Part No. A-27140-81001-2 17

(11)

HP-UX/R'l' TERHINAL I/O lIRtIIARE lOR llfE HP-CIO fIJI

3.8.2.8 Lost Clear-to-.. nd Dieconn8Ct

---+

RS 1

+--- ---+

tR

+--- ---+

[If

I

+--- ---+

RR

I

+--- ---+

cs

+--- ---+---

RD

11111111111111

---+

---+---

SO 11111111111111

---+

+-- lose of CS

HEYLETI-PACKARD PRIVATE Part No. A-21140-81001-2 18

HP-UX/R'l' TERHINAL I/O llRtllARE lOR tHE HP-CIO till

3.8.2.1 Lost Receiver Ready Di.connect

---+

RS I

+--- ---+

tR

+--- ---+

[If

I

+--- ---+ +----+

RR I I 1

+---+ +--- ---+

CS I

+--- ---+---

RD ///////1

---+

---+---

SO 11111111111111

---+

1<-+->1 1

+-- 400 •• 1088 ot RR

HEYLETI-PACKARD PRIVAT! Part No. A-21140-81001-2 19

(12)

HP-UX/RT TERMINAL I/O rIRHUAR! FOR THE HP-CIO MOX

3.8.2.8 Lost Data Hode Disconnect

---+

AS

+--- ---+

TR I

+--- ---+

+--- ---+

RR

I

+---~---

---+

CS

I

+--- ---+---

RD

////////11

---+

---+---

SO ///11/////11

---+

+-- loet lit

HEULEIT-PACKARD PRIVAT!

Part No. A-21140-81001-2

20

HP-UX/RT TERMINAL I/O lIRHUAR! FOR

tHE

HP-CIO MOl

3.8.2.9 No activity Disconnect

---+

AS

1

+--- ---+

TR

1

+--- ---+

lit I

+--- ---+

RR 1

+--- ---+

CS

I

+--- ---+---

RD

//11/////1

---+

---+---

so /////////1

---+

1<---)1

no tr...,.it or received data for

10

.inutes

HEULEIT-PACKARD PRIVATE

Part No. A-27140-81001-2 21

(13)

HP-UX/RI tERnINAL I/O lIIHJARE lOR THE HP-CIO tIIX

3.8.2.10 lin.-.are Actions on ttod. DillCOnnect

3.8.2.11 Potential ttodea Probleae

&

Solutio",

When the user is controlline the lIod_ line, the fil'Jlware nol'Jlal operatine "ode is to aenerate a quad whenever the

"od_

line

challies state. This "ay be a probl_ if one of the lIIodeR Une is noisy. Under this condition lIIany quads lIIay be aenerated by the fil'Jlware which lIIay lead to silo buffer overflow. In addition if the noise persist fOralol'llP!!rJod. " . . ~':J+jt~~ljf~-t~_

{~lt~lji~~~tfiti==;::i~~~6jji8T1mff:O.~.,~~;;;;,;=:~

of-

There several solutions to the above problea. The first ie to use subfunction 152 to enable the fil'Jllfare to tenerate one quad for the specified port only when the "od_ Une chanae state and only "hen the host has posted a read data/status transaction. Note that the quad "ill only be ienerated if the current state at the tillle of quad ieneration has changed frOll the state that

"as

sent to the host in the last quad generated. This lIIean that if the lIIod_ Une has changed state and then chanted back to the ori.ina~ state, the host will not see this chanp. ,~m~fiIit~::mm~"_!'liOiFt'O;

~~£-!"":E ..

NOTE tHAT UHEN tHE tl)OPlf ooAO OENERATICM C{Jf'l'ROL IS ENABLED, tHE QUAD UI LL BE GENERATED AT llfE TIME llfE HOS!" POSt A READ DATA/S!"ATUS TRANSACTICM AND llfE ooAD UUL_.BE.RE'IDRNED IN llfAT TRANSACTION.

~~!li\g"~~~4D;~=:t~i::=::~::!T~:r:;Jj:-~~iUi.i?~PLElf·.·tI)DFif~-

The above "ethod does not prevent the l08e of data if one of the port really has a very noisy lIIod_ line which is constantly QeneratinQ interrupts. To solve this probletll ~~t.iJJllc.yct~}l Ray be used to individually on a per port basis to enable or disable the frontplane interrupt for each of the JIIodeJII eienal. Uhen the

"ask for the lIIodeJII signal ie eet, the frontplane will generate an interrupt for every change in the eienal. If the corresponding bit is cleared in the lIIask, the fil'Jllfare "ill t~rn off the interrupt HEWLETT-PACKARD PRIVATE Part No. A-27140-81001-2

22

HP-UX/RI TERMINAL I/O rIRHUAR!

roa

THE HP-CIO

nux

for the lIIod_ eianal. Thie will also etop the fil'Jlware frOll reportllli any changes in the lIIod.. siinal. The user IIIUSt use

!LcSUbfunc:tion·c:;·141' to poll the lIIod_ lines to tet the current state.

NorE IF THE CARD TRANsnISSI~ mOE IS atANOED TO lULL OOPLEX moat, THE CARD FIRMIJARE YILL AUT~TICALLY ENABLE ALL llfE FRONTPLANE INTERRUPT lOR DiE tIlDat SI~ALS. If the user decide to nitch back to the full duplex hardwired tr&n8Jlission "ode, all the frontplane

inte~ruPt . "ill relilain enable. I t is up to the user to use tKif)luftCtiolf-tSS' to disable the desired lIIodell eienal interrupt.

Vhen the card ie controlling the lIodBlil line. only one quad will ever be aenerated. There will be one quad for lIIod_ connection and - one quad for lIIod_ disconnection. However

l

no quad will be tenerated until an open lIIod. link request • received frOR the host.

Another potential probl_ when the card

1.

controlllnQ the lIIodell Is the collision of an inc()lll~118 cal~ wlth,tht! ,host Inhl'!tedorii1nate request .If.tt1e'i.,b09f",haS~-Pfttea, '"an"'OHi-lnztte'ePert"ifOde. . link

r~tf",t .~.c lft~.f1,~.,ar:~-ree.lv~'_·.lttcQIIJ.n't.;CJtll':Hndicaifed~f)y .,(.

!~&~lt~J;};~!=~~~;~=~~'~~a;~~~;w~~,t~=!~ / ~y

;~~incOR,i"":,c::!l:Y-;~ An active incORina call 1. indicated by the Ie

III~_ jiaMlbefni hiah within the tNt 10 ""Pome.

If the host should nltch to the auto answer "ode and perfonl an open link request after an orilinate request abort, the card fil'Jl"are ,,111 start the lIIodeil connection sequence the next tiRe that the ICsiftnal goes hilh. ;~~';l:f4._.,~,j~lUJlPt autOiiatlcaU, '8tart.the lIIodeA'co.nnec:::t:lQri: if the IC;,colU.iontu.er· i.caQcdv.e'~

This prOcedure is necessary to prevent the card

'tOR ...

er 1111 a

call when the call is no lonaer exist.

3.9 Oiaanoetic8

Self-test ie a portion of the RUK firillware "hich perforills diagnostic teete to detect card lIIalfunctions. Self-test is eKecuted 'offline'. That i_, it doe. not run concurrent with the standard RUK fi",ware. It ie executed upon a hardware reset of the card followil18 a HP-CIO "Addressed Device Clear" (OCL/DEN) or

"RESet" (RES) &Bsertion. It exercises the lIIajor cOllponents and data paths on the card. If no probl_s are found, the card is lIIade functional and the standard JlUK firlll"are is invoked. If a hardware Ralfunction is detected, the card is left disabled indicating that self-teet failed.

The following teste are perfol'Jled by . . U-t_t:

HEULETI-PACKARD PRIVATE Part No. A-27140-81001-2 23

(14)

HP-UX/RI TERMINAL I/O FIIKJARE lOR DIE HP-CIO ItJX

o ROM test: To insure that no bits have chanaed on the ROM (EPROM), a cyclic redundancy check is done usir .. the polyrlOlllial

X**16+X**2+X+1. The teet i_ perforaed in 41C 888Rents to insure accuracy of the CRe.

o RAM test: RAM is checked for botb _tuck-at-O and _tuck-at-1 COnditions and address decoder failures.

o ASYNC sec Loopback test: Verifies that each sec can perfora basic asynchronous internal tral18llli t and receive functions. I f a loopback hood is sensed loopback ts perforaed usine the external line drivers. This verifies the external tranBRit and receive functions and the RodeR si8nals (AS, RR, CS, TR, and IC).

o CIO Loopback test: Detects stuck-at faults In the data lines, _yateR control, interrupt control, and the three channel signals.

If the loopback hood is sensed, the JlodeR signal lines (111 and SRI are aleo check throu.h its external line drivers.

o BIC test: Checks the Backplane Interface Circuit (BIC) for functional faults. Checks for SOllIe stuck-at faults in internal BIC registers. The BIC cbip is tested usi", the internal loopback functionality ltuilt into it. Testi .... of backplane driver and receiver bardware external to the BIC is not done by self-test.

o "IC test: Checks the MeRory Interface Circuit ("IC) for functional faults. The registers in the "IC which can be read and written to are checked for stuck-at-1 and stuck-at-O faults.

Only "IC channel B DHA capability is tested between the BIC and Jletllory. SOllIe "IC registers cannot be tested (they are write only) and the DHA test does not exercise all possible DMA configurations (tlAe liJlitations).

Upon successful coapletion, self-test will set 'Passed self-test' status (PST), turn orf the failure LED on the card, and invoke the standard card finware. The standard finware will then wait for

the host to ' teach' it its peripheral address (PA).

If self-test fails, the faUure LED is left on, the 'Passed self-test' status (PSt) is not set, and the Z80 i_ 'Halted'.

If the loopback hood 1s Installed and if the card flraware detected the hood present, the hood LED will be turned on while the self-test i_ executing. After a successful . . If-test COJIpletion, the hood LED will be turned off.

After the self-test, the RAM area will be initialize by the EPROM firlllware. Any data in the,lWf area before the . . U-test wUl be lost.

HEYtETT-PACKARD PRIVATE Part No. A-27140-81001-2 .24

HP-UX/RI TERttINAL I/O rlRtllARE fOR THE HP-CIO ItJI

The followine tiJle-line illustrates the host

I

card interactions during the self-test sequence:

"£UtETI-PACKARD PRIVATE Part No. A-21140-81001-2 25

(15)

HP-UX/AT TERtJINAL I/O fIRtlJARE lOR llfE HP-CIO 1111

Hoat to sends card , OCL or asserts' RES after

a I

power-on I

Card

, Self-teet belUn I

Teach card PA.

ual t tiRe t2 or poll PSI

where:

t1

t2

S\Jcces8fUl:

Set PSI.

Turn off LED.

Unsuccessful:

Halt ZSO.

t1 • 1.0 seconds

t2 • 3 seconds if RES, er 15 secends if DeL; Ray be le88

HEULEtT-PACKARD PRIVATE Part NO'. A-27140-81001-2 26

HP-UX/AT TERtJINAL I/O rIRtlJARE lOR llfE HP-CIO 1111

+---+---+

THE BACKPLANE PROTOCOL OIAPTER 4

+---+---+

The protocol beine used

18

a subset of theHP-CIOSIANDARDc

BACKPLANE~PROTOCQ~ fORSHARtCARDS.'as defined by Ore, Dolkas. Thi8 subset was,~r~ated,tQfliln~!zttthtt.iIfJLfJcan~ O!fertle~ of the backplane ·.transactiO'ns: '·'1.01' . . . 11 bUffer sizes (II_&1nly character-at-a-tiRe I/O froa terRinals).

The backplane protocol 1. deslane4 to'

uee

1 COIIlIIland, 5 orders, and 3 ARa's. The COll!Rand which Rust always be issued before doine any transaction on the card is the Connect SUbchannel (esc) cOII!Jlland.

The cOJIIJllandshould contain the SRQ address in the

low

nibble of the byte. If this COIII'II1nd i8 not i8sue, the card has no way of doine an SRQ. The COIIlIIland fOrRat 18:

7 6 5 4 3 2 1 0

+---+---+---+---+---+---+---+---+

I " ,

+---+---+---+---+---+---+---+---+

, I

, +-- subchannel I'IJIIlber • n

,

+-- cOIIlRand code

o •

destroy subchannel (DSC n) (not used) 1 • reserved

2 connect subchannel (esc n) 3 reserved

4 resuPle subchannel (ASe n) (not used) 5-

r •

reserved

The 6 orders used by the card flrRware are lOY, DLD, DIS, RD, UD, and RDS. The lOY is used to obtain the identification inforRation CrOll! the card, and the RD and UO erder i. used to perf OrR all transactions between the card and the host. The OLD order i8 used to 8end the download record containi", the binary RaROry iRale to the card. The RDS order i. used to' read any download inCorRation lenerated by the card due to' 80lIl8 host request. Fer eKaJIlple, the result of the download verirication request. Lastly, the DIS order is use~ to disconnect the subchannel frOll! the card. The order is not sent to the card until an SRQ has been sent by the card to the host. The ronat of the order Is:

HEULETT-PACKARD PRIVATE Part NO'. A-27140-81001-2 27

(16)

HP-UX/Rr TERMINAL I/O FIRMWARE FOR THE HP-CIO MOX

1 6 5 4 3 2 1 0

+---+---+---+---+---+---+---+---+

I I I I

+---+---+---+---+---+---+---+---+

I I I I I

I I I

I

+-- option,

if

any

+-- byte (b)

+-- order code

o •

identify (lOY, bal) 1 a download (OLD <b) <opt»

opt • 0 a) download data a 1 a) download control 2 • pause (PAU) (not used) 3 a disconnect subchannel (DIS) 4 • read status (88 <b> <opt-l»

(not used) 5 a reserved

6 a read data (RD <b»

7 a write data (UO <b»

8 • read transparent statWJ (R'l'S <b»

(not used)

9 • write transparent control (ute <b») (not used)

A • read download status' (RDS <b) <opt»

opt • 1 a) status

B • connect 10lical channel (CtC <b»

(not used)

c-r •

reserved

If the b bit is set, all data transfer will be in byte _ode (8-bit at a tiRe). If the b bit is clear, all data transfer will be in word _ode (16-bit at a tiRe). The lOY will always transfer its data in byte _ode as specified by the standard.

HEULETt-PACKARD PRIVAtE Part No. A-27140-81001-2 28

HP-UX/Rr TERMINAL I/O rItIIIARE lOR THE HP-CIO MOl

The 3 ARQ codes used are ready for COIII1Iland (RFe) t asynchronous event sensed (AES) and protocol error (PER) status.

1 6 5 4 3 2 1 0

+---+---+---+---+---+---+---+---+

+---+---+---+---+---+---+---+---+

I I I

I I I

I

+-- additional infonation dependina on the ARQ code

+-- ARQ code

o

a ready for COIUIand (RFe) 1 a asynchronous event sensed (A£9) 2 a reserved

3 a subchannel cteetro,.t (SCD n) (not used) 4 • reserved

5 a subchannel requ_t (SCR p) (not used) 6 a dead or dyina (DOD p) (not used) 7 a pro~ocol error (PER p)

8-

r •

reserved

TheRuxcud .... (lflllw~, < . . . . ,.~t .onecllUbchannel .. is always per..anenny:'_fl~'1ij~:"·tlie~e'itct:· The driver Ray

aSk

for the lOY inronation at anythif18. The host driver .,ill periodically poll the card with the RD order follow by the optional UD order.

The

RO ,0rcjerI" used tore"',anydata~lvedfl'ORtbe teninal for all'PQri8arid~81atue .1nfoniaUori~·fi-cii :thi':;,ux~: f inaware. the UO order 'is .usedto.senduser. dat.,eoftflguration' infotwation, and' oontrol request to the _UX~', the hoet is not required to send the UO order if there is nothif'18 to do.

HEULETt-PACKARD PRIVAtE Part No. A-27140-81001-2 29

(17)

HP-UX/Rr TERMINAL I/O lItHrARE fOR THE HP-CIO till

The followil1l is a sililple tUte diaera of a nonal read follow by the optional write backplane protocol.

't~-~clqc~lrtt'trup~·

c •... · . . . : ... ' . ;';', . . . . ,

at< .. erYle.;'r'"

. . . ;, . . . :.

V tiRe ---)

---+---+---+---+--- ..

I I I

I

+-- repeat by laIulnc RD order

+--

pr0C8B8 the read data

&

issue the YD order

&

the write data block if the card has data, confieuration or control for the card

+-- issue the

RD

order to start the host read, the card wIll start the DMA to transfer any data receIVed, the tranBRit buffer status, etc.

The followina sectIons da.cribe the protocol lRpl .. ented by this card.

H£ULETI-PACKARD PRIVATE

Part No. A-27140-81001-2 30

HP-UX/Rr TERnINAL I/O fIRrIIAR! lOR l1f! HP-CIO till

4.1 &1bchannel Connection

The subchannel connection Rust al.a~ be perfoned first before issuina any order.

host

esc

n

esc

n

card description

<-- ARQ,RPC Card walt. for the valid per ipheral address before usertil1l

arc

to allow the hoet

- - )

<-- SRQ

or

- - )

to perfon a subchannel connection request.

Channel Ini tlates a subchannel connection.

The card accept. the connection request and uks for the Milt order.

Channel initiates a wbchannel connection.

<-- ARQ,PER The card rejects tile comection request becau . . it is already connected.

H£UtETI-PACKARD PRIVATE

Part No. A-21140-81001-2 31

(18)

HP-UX/RI TERnINAL I/O rIRtIIARE roR tHE HP-CIO till

4.2 Qlbchannel Disconnect

This is provided for cClRpatibillty with the varloue CClllputer eysteR.

card

DIS - - )

HEWLETT-PACKARD PRIVATE

description

The host wants to cUecomect the eubchanne 1. The card does this by reillov i"l the SRQ address.

No SRQ is sent to the host for the next order.

Part No. A-27140-81001-2 32

HP-UX/RI TERl'fINAL I/O lIRtIIARE lOR IIIE HP-CIO till

4.3 lOY Transaction

host card

lOY - - )

<-- 10 blk, END

<-- SRQ

HEWLETT-PACKARD PRIVATE

detlCription

Host sends lOY order to the card to get the card ID inforRation block.

The card respond witb tbe ID block intOrR8tion.

Card requests next order.

Part No. A-21140-81001-2 33

(19)

HP-UX/RT TERMINAL I/O FIRHUARE lOR THE HP-CIO MOl

4.4 Read Data/Statu8 Transaction host

RD

card

- - )

descr iption

Host wants to read the data and

any 8tatu8 inforaation fr~ the card.

(-- data! Transfer tbe data/statue to tbe status, host.

(-- SRQ

dfQtei"hiit{'tMfccatcl.c.C8n"J)Cl,uP; ,

".tQ.4B«,,<»fl':data. The host shoUld allOcate eooulh buffer space for thi8 worse case; otherwise, data will be lost and the block terainator will be ai .. il'1l fr~

the buffer.

Card requests next order.

HEULEtT-PACKARD PRIVATE Part No. A-27140-81001-2

34

HP-UX/RT TERMINAL I/O rlRHUARB

rot 1'HE

HP-CIO MUX

4.5 Urite Data/Confieuration/Control Transaction Thi8 transaction is optional. The hoet does not need to send this transaction if there i8 no data, confifUration, or control request for the card.

host card

UD - - )

( - - SRQ

datal - - ) conflQ, control, END

<-- SRQ

HEULEtT-PACKARD PRIVATE

transaction

The host wants to write data, confieuration, or control to the card.

The card will send an SRQ

when it. ~ i8 8etup and

ready to receive data.

Tranefer the data, confifUration, and control to the card.

Card'requ_ts the next order.

Part No. A-27140-81001-2 35

(20)

HP-UX/Rt tERMINAL I/O FIRtIIAR! lOR 1lfE HP-CIO tIJX HP-UX/Rt TERMINAL I/O rIRHUAR! lOR tHE HP-CIO HUX

card - - ) The binary data dll be loaded RAM into the card RAM at the

4.6 Download transaction !Platte location specified by the

data, last download control request.

END

met card deecr iption

---

<-- SRQ caret nquesttl nellt order.

OLD, 1 - - ) The met vants to send a +<---+ Repeat I~ necessary till all

download control request download data are sent to the

to the card. card.

<-- SRQ the card wlll send an SRQ OLD, 1 - - ) the hoet want. to send the

.hen its DHA is setup and download control requ . . t to

ready to receive the data. the card.

crtl, - - ) The hoet sends the download <-- SRQ The card w11l _nd an SRQ

END control request block to the when its IItA is setup and

• card requestlna the card to ready to receive the data.

ini tialize for download

1.,..

ctrl, - - ) The met sends the download control

<-- SRQ Card requests next order. END request to ver Ify the downloaded

fintware.

• -)DLD,1 - - ) the host wants to send •

download control request <-- SRQ caret requests next order.

to the card.

RDS,1 _e) The host want. to read the

<-- SRQ The card wIll send an SRQ resul ts of the download

when it. DHA is setup and verification.

ready to receive the data.

<-- status, tran.fer the statu. to the host.

crU, - - ) the met _nds the download END

END control request block to the

card to set the beelnni.,. <-- SRQ card requests next order.

RAM address and the download

record lenath for the data DLD,1 _e) the hoet wants to send a

block that will be sent by download control request to the

DLD,O order. card.

<-- SRQ card requests nellt order. <-- SRQ the card w11 send an SRQ when

its DHA is setup and ready to

DLD,O _ e ) the met wants to send the receive the data.

download record.

ctrl, _ e ) the card send. the control request

<-- SRQ The card will send an SRQ END to start RAM ellecution.

when its DHA is setup and

ready to receive ~he data. <-- SRQ caret requests next order.

HEULEtt-PACKARD PRIVAtE Part No. A-27140-81001-2 HEULEtt-PACKARD PRIVAtE Part No. A-27140-81001-2

36 31

(21)

HP-UX/RT TERMINAL I/O rlRHUARE FOR THE HP-CIO MUX

H£ULEII-PACKARD PRIVAtE

The downloaded tinware .hould be ruMi." at this point.

Part No. A-27140-81001-2 38

HP-UX/RT TERMINAL I/O rIRHYAR! FOR

tHE

HP-CIO

MOl

4.1 ARQ Asynchronous Event Serwed (ABS)

cl1'he wl1enev~_r, !~-,,,OdeJIt ...

_c-A.J._.~

.•. Q,.,.i ...

:'~~.

--.... l1rO ...

-._._.=~~.noo.~""'.

_1'.=.I,<-.·.·.-.-!" _;_. _ ~":cc~nft!t_!~Il":;. ~ot'.liiiiiVir"a 'batacliiiracter~ .•..

~. q.~.~.;ee._.~.

r 8 8 d .

_._'.-ta._.~_Wl~.J~~lt •. d.~q. ~.~. __

.!.

~t~!!!!.-hpe.

t

:i,_-. receiY~:foti,~Y<pol':t ·-wbi-ch,t;r,a8;.·-U,,-eoFJ'J!SpooHfII interruJ)t

>enabiecH

-liOitever,

only one ARQ

"Ill

'be sent between each read data/status transaction for any event. That is, if the "odelll line on one port changes state and if data was received on another port or _ the fJM~Po,rt~. only oneARQ w11l be sent to the host.nae hoSt J4!~ bUffer·.ayc:-coJ1taip""or .. t~ _ o"-,::_ent. The ARQ,AES is basically used to wake up the host or to tell the host to do a read before the neNt poll.

The low nibble of the ARQ code .ill specify which event was sensed to tenerate the interrupt.

ARQ

code description 11H data i8 available

14H "od_ 8ignal chanlled .tate

Note~or:; ·the.clat~.,av~lla)l.:·-~IIt~":_.fln~,~ _ _ Jher.""

couldbe~1l4~Jlly'Of:Up

-t(),

.101ll111~_~()11d$.,frOit

·ttae_-.-

tbte' the card"

feeelye,-the:·firs;t-:chllracter

to

the'tiiiiff' the hOst seestJie

-A"

'The

rea$On;l.ltha~,,'the . c2.ta'a"ai'1.~t).1.ARq';;~18-'-ri~'. ~1'''t11e· cloCk 'serv ice~,

'V

routil'Mtinstead'of in: the ~reeety.8e"fc.roudrii: This is done to keep the receive service routine e.ectuion tille to a llinillUll.

The two events "ay be iileleedyely enable or disable by usi." the wrl te control request ;to set or clear the correspondil18 bit in the host interrupt "ask ,,.Chapter 5 foraciditlonaldeta118..

4.8 ARQ Protocol Error (PER)

The ARQ, protocol error status will be eent to the host for the followi." conditions. The low nibble of the byte will specify the type of error.

ARQ

code description

71H Received an un1apl_ented COMand or an invalid CQlUland.

HEWLEtt-PACKARD PRIVAtE Part No. A-21140-81001-2 39

c 'J B-

(22)

HP-UX/Rr TERMINAL I/O

rI~AR!

lOR

THE

HP-CIO

MOl

72H Received an unbtpl.ented order or an invalid order.

7:11 &lbchannel connect request when the card is already connected.

74H Invalid port 10.

75H Invalid subfunction code.

76H Invalid lenQth or lenQth error.

71H tranSillit buffer overfloef.

78H Invalid pareReter.

NOT! tHE flRtUARE S'l'OP9 PROCESSING tHE "RITE DATA/COIrl(JJRATI~/C(»I'fROL

TRANSAC'II<14 Upaf ENCOUNtERING THE FIRSt ERROR.

HEWLETt-PACKARD PRIVAtE Part No.

A-27140-81001-2 40

HP-UX/Rr TERHINAL I/O

lIRHYARB fOR THE

HP-CIO

MOl

+---+---+

I I

I

THE TRANSAC'II<14 DATA BLOCK

FaRtfAt I

CHAPTER 5

I I

+---+---+

Thi. chapter will describe the data block fonat for each of the 3 available transaction.

5.1 lOY Data Block loraat

The f011o.1"1 identity inforaatlon blocks Ray be returned by the nux card for the lOY order.

lor the

EPROl1

f iraware:

7 6 5 4 3 2 1 0

+---+---+---+---+---+---+---+---+

byte 0 I card 10 • 7 I

+---+---+---+---+---+---+---+---+

1 I firaware 10 • 2

+---+---+---+---+---+---+---+---+

2 I 16 bit binary firaware I

+-- --+

3 I revision date code

+---+---+---+---+---+---+---+---+

4 I MPX I I tl)0 I

+---+---+---+---+---+---+---+---+

5 I • of active ports - 1 • 0 I

+---+---+---+---+---+---+---+---+--

END MPJ • 3 for other backplane protocol

tl)D • 2 for both byte and word Rode data transfers

HEWLETt-PACKARD PRIVATE Part No.

A-27140-81oo1-2 41

(23)

HP-UX/Rr TERtfINAL I/O rIRtlJAR! FOR THE HP-CIO till

lor the downloaded ttlx f Innrare:

1 6 5 4 3 2 1 0

+---+---+---+---+---+---+---+---+

byte

0

I card

ID • 1

I

+---+---+---+---+---+---+---+---+

1 I firRMare 10 • 3 I

+---+---+---+---+---+---+---+---+

2

I

16 bit binary firRMare

I

+-- --+

3 I revision date code I

+---+---+---+---+---+---+---+---+

4 I HPX I I tl)D I

+---+---+---+---+---+---+---+---+

5 I • of active port. - 1 • 5 I

+---+---+---+---+---+---+---+---+--ENO

HPX • 3 for other backplane protocol

HOD • 2 for both byte and Mord .ode data transfers

H£UtEIT-PACKARD PRIVATE

Part No. A-21140-81001-2 42

HP-UX/RT TERtfINAL I/O FIRHUARE FOR THE HP-CIO till

5.2 Read Data/Status Transaction

The fOrRat of the read data/atatu. block _nit to the host after receivine the RD order is:

+---+---+---+---+---+---+---+---+\

I 0 I port I'lJRber I \

+---+---+---+---+---+---+---+---+

I

I attribute I I data block -

+---+---+---+---+---+---+---+---+ )--

each character I • of data char • 1 I I receive frOlil

+---+---+---+---+---+---+---+---+

I each port consists

I

data character

I /

of 4 bytes as

+---+---+---+---+---+---+---+---+/

described here I 0 I port I'lJIIlber I

+---+---+---+---+---+---+---+---+

I attribute

+---+---+---+---+---+---+---+---+

• of data char • 1

+---+---+---+---+---+---+---+---+

data character I

+---+---+---+---+---+---+---+~--+

+---+---+---+---+---+---+---+---+\

I 1 I port I'lJIIlber ' I \

+---+---+---+---+---+---+---+---+ I

status code

I I

+---+---+---+---+---+---+---+---+

I

I •

of bytes in additional info

I )--

status block -

+---+---+---+---+---+---+---+---+ I

bit 7 is alMaye set in I additional I I the port I'lJRber byte, / inforRation / I additional inforRation / for status code, / I Mill follow the count

I Hany 1/ Hany

+---+---+---+---+---+---+---+---+/

+---+---+---+---+---+---+---+---+

I 1 1 1 1 1 1 1 1 I (-- enlt of block

+---+---+---+---+---+---+---+---+

The read data/status block contains data and status inforRation for

H£UtEIT-PACKARD PRIVATE

Part No. A-21140-81001-2

43

(24)

HP-UX/R'l' TERMINAL I/O FIRtIIARE fOR 11IE HP-CIO tlJX

one or "ore JlUltiplexer "PQrts.·~E,"'b~~;receiVe44il't,fr_;,,<tbe',L,"

,~~=;:,:::t:~~~!:r~::~::!:~iY~bt!~~*,

above. The data block has no order and will appear in the order that it was received f'rOll the teninal connected to the "ux card.

~~~_~!ofJ!~;

infoflllation for each statu8 block' ~i" varlabi.!'- ienath. The le"lth will depend on the 8tatu8 code . . described below.

The read data/status block .ill al.aye be teni ... ted by a byte containina OFDI.

5.2.1 The Data Block Portion of the Read Transaction

_~:.t:~~~~:~~~,'.-d.~_rt"TattribUtB::'"~or,tIMfclita'cMraCter"'that

".i;C'':ljUft;C~recflVid~ frOll the teflllinal or other COndition that occurred on the card. U the attribute i. zero, then the data character has no error or other special condit~on.

In the future if the nuaber of data character count is Ireater than 1, then the attribute byte applys to the last character in the data block. In this case all characters before the last one will have an attribute of zero indicati"l no errors.

The attribute byte i. defined . . follow:

7 6 5 4 3 2 1 0

+---+---+---+---+---+---+---+---+

I I I I AlTRI8U1'! BYTE

+---+---+---+---+---+---+---+---+

I +--I parity error I

+---

sec data overrun I

+---

fraRina error I

+---

break detection I

+---

"odell status chante

+---

buffer overflow

Usually only one bit in the attribute byte i . . . t at any liven tille per data block.

I f the par 1 ty error bit i. set, the character received contains a parityerror.

U the sec data overrun bit i8 set, the car~ tinware was not able HEULETt-PACKARD PRIVATE Part No. A-27140-81001-2

44

HP-UX/R'l' TERMINAL I/O lIRtIIARE lOR tHE HP-CIO tlJX

to read the character frOll the

sec

fast enoulh.:~thi.Jlftnsthat il-oo char.actel'''~ r~eiv~' whenthe~:tI:FO~bUrr.er ,,bt':f'ull leacUne' to

<the 1_ ot.~'cHarliE"tR; The character associated with thi8 attrIbUte is the last

IOOd

character received before data loss started.

U the frllllina error

1a ..

t, the character received contains a frllllina error.

U the break detection bit 1. ..t, the IifJlllare has detected a break condition. The data character .111 be a rull in this case.

HEULETT-PACKARD PRIVATE Part No, A-27140-81001-2 45

Referenzen

ÄHNLICHE DOKUMENTE

The nine biological control agents were deliberately introduced and had been thor- oughly tested and released elsewhere prior to their introduction into Vanuatu to en- sure

Ich sey meiner nid^t bewust gewesen da ich gemeldet, ich hätte ihn nie, seiner Berühmung wegen, mündlich (disWort last er aus) gerüget.Wie der beschaffen sey,der sich sein

In a January 2012 publication, the NATO Military Committee revised its Framework Policy on Reserves: “As many nations increasingly make use of professional soldiers in their

My colleagues and I designed a novel defibrillation method, Syncrolation, that is based on the same approach: A sequence of electric far field pulses synchronizes the heart tissue

Lobenswert sind die nach vorne überstehenden Seitenteile – allerdings ist der Abstand zum Ge- häuse zu knapp bemessen: Wird die Endstufe unbedacht mit den 19- Zoll-Winkeln voran auf

Bei gleichgroßen Nachbarn: Zwischenkante erscheint zweimal im Rand, nicht

Bei gleichgroßen Nachbarn: Zwischenkante erscheint zweimal im Rand, nicht

This is your chance to win a trip to London and meet leading Financial Times journalists.. You have decided to take part in