+ All Categories
Home > Documents > 68000168010 Processor Module

68000168010 Processor Module

Date post: 30-May-2018
Category:
Upload: kevin-budzynski
View: 215 times
Download: 0 times
Share this document with a friend

of 108

Transcript
  • 8/14/2019 68000168010 Processor Module

    1/108

    0 993 XYCOM, INC.Printed in the United States of AmericaPartNumber 74601-001B

    68000168010Processor Module74601-001 B

    XYCOM750 North Maple RoadSaline, Michigan 48176-1292734-429-4971 (phone)734-429- 1010 ( f a )

  • 8/14/2019 68000168010 Processor Module

    2/108

    XYCOM REVISION RECO RD

    ~ Revision DescriptionAB Manual R eleasedIncorporated PC N 120

    Date12/8606/93

    Copyright InformationThis document is copyrighted by X ycom Incorporated (Xycom) and shall not be reproduced or copied withoutexpressed written permission from Xycom.The information containedw ithin his document s subject to change without notice. Xycom does not guaranteethe accuracy of the information and makes no com mitment toward keeping it up to date.

    Address comm ents concerningthis manual to:

    Technical Publications Dept.fr:MmleRoadSaline, Michigan 48176Part Number: 74601 001B

  • 8/14/2019 68000168010 Processor Module

    3/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86 ' - '

    T A B L E O F C O N T E N T S.:.

    C H A P T E R1

    1.11.21.31.3.11.3.21.3.31.3.41.3.51.3.61.4

    22.12.22.32.42.4.12.4.22.4.32.4.42.4.52.52.62.72.82.9

    33.13.23.2.13.33.43.5

    T I T L E P A G EM O DUL E DE S CRI P T I O NI n t r o d u c t i o n 1 - 1M a n u a l S t r u c t u r e 1 -2Mod u 1e 0p e r a t o n a 1 De s c r i p t i o n 1- 2VM E b u s Ma s t e r I n t e r f a c e 1 -4T h e 6 8 68 1 Du a l U n i v e r s a l A s y n c h r o n o u s R e c e i v e r/ T r a n s m i t t e r 1 - 4I n t e r r u p t s 1 - 5S t a t u s L E D s a n d C o n t r o l S wi t c h e s 1 -6S y s t e m R e s o u r c e F u n c t i o n s 1 -6L o c al D R A M 1 -6X V M E - 6 0 1 Processor M odule Spec i f i ca t ions 1 -7XVM E -6 0 1 I NS T AL L AT I O NI n t r o d u c t i o nL o c a t i o n o f C o m p o n e n t s R e l e v a n t t o I n s t a l l a t i o nJ u m p e r sJ u m p e r D e s c r ip t i on sR E S E T / A B O R T S w i t c h E n a b l e J u m p e r sS y s t e m R e s o u r c e F u n c t i o n J u mp e r sE P R O M / R A M T y p e S e le c ti o n J u m p e r sVME b u s I n t e r r u p t L e v e l S e l e c t i o n J u mp e r sB u s Gr a n t a n d B u s R e q u e s t L e v e lS e l e c ti o n J u m p e r sI n s t a l li n g E P R OM o n t h e XVME - 6 0 1 P r o c e s s orM o d u l eE x t e r n a l C o n n e c t o r J K 1Mo d u l e I n s t a l l a t i o nI n s t a ll i n g t h e X V M E - 9 9 0 /2 M o n i t o r /R A M K i tI n s ta l li n g a 6 U F r o n t P a n e l K i t

    2- 12- 12-3 2-3 2-42-5 2-72- 72-8 2-82- 1 12-122-142-16

    P RO G RAM M I NGI n t r o d u c t i o n 3 - 1Th e XVM E-601 Processor Mod ule Mem ory M ap 3 -1T h e 6 86 81 D U A R T M e m o ry M a p 3-3 Us ing the 68681 1/0 P o r t s 3- 56 86 8 1 DU A R T I n i t i a l i z a t i o n 3- 7I n t e r r u p t s 3 - 8

    1

  • 8/14/2019 68000168010 Processor Module

    4/108

    X V M E - 6 0 1 M a n u a lD e c e m b e r , 1986T A B L E OF C O N T E N T S c o n t i n u e d

    C H A P T E R4

    4.14.24.34.3.14.3.1.14.3.24.44.4.14.4.24.4.34.4.44.54.64.6.14.6.24.6.34.6.44.6.54.6.64.6.74.6.84.6.94.6.104.6.1 14.6.124.6.1 34.6.144.6.154.6.164.6.174.6.184.6.194.6.204.6.2 14.6.224.6.234.6.244.6.254.6.264.7

    T I T L EX V ME -600MONI n t r o d u c t i o nR e f e r e n c e d D o c u m e n t sS y s t e m C o n f i g u r a t i o n600MON M e m o r y M a pE x c e p t i o n V e c t o rs6OOMon 1/0Us i n g 6 0 0 MONE x p r e s s i o n P a r a me t e r sA d d r e s s P a r a m e t e r sO f f s e t R e g i st e rsD a t a P a r a m e t e r sC o m m a n d V e r i f i c a t io nC o m m a n d S etDisp lay /Se t Reg i s te rBlock Fi l lB lock In i t i a l i zeBlock MoveB r e a k p o i n t S et a n d R e m o v eBlock o f Memory Sea rchBlock o f Mem ory Tes tD a t a C o n v e r s i onDi s p l a y F o r ma t t e d R e g i s t e r sDu mp Me mo r y ( S - R e c o r d s )E x e c u t e P r o g r a msGo Di r e c t E x e c u t e P r o g r a mG o U n t i l B r e a k p o i ntHe l pL o a d ( S - R e c o rd s )Me mo r y Di s p l a y /D isa ssemb 1eM e m o r y M o d i f y D is asse m b 1e Ass em b 1eMe mo r y S e tDi s p l a y Of f se t sP o r t A t t a c h a n d D e t a c hP o r t F o r m a tR e g i s t e r Mo d i f yT r a n s p a r e n t M o d eT r a c eT r a c e t o T e m p o r a r y B r e a k p o i n tVe r i f y ( S - R e c o r d s )Us i n g 600MON 1/0 R o u t i n e s T h r o u g h T r a p 15

    P A G E

    4-14-14-24-34-54-54-54-64-74-84-94-1 04-1 14-1 24-1 34-1 44-1 54-1 64-184-1 94-2 04-2 14-2 24-2 34-2 54-2 64-2 74-2 84-2 94-3 14-3 34-3 44-3 54-3 64-3 74-3 84-3 94-4 14-4 24-4 3

    ..11

  • 8/14/2019 68000168010 Processor Module

    5/108

    X V M E - 6 0 1 M a n u a lDecember , 1986T A B L E O F C O N T E N T S c o nt in u e d

    C H A P T E R T I T L EAP P E NDI CE S

    P A G E

    VME b u s C o n n e c t o r P i n De s c r i p t i o nB lo ck D i a g r a m , As s emb l y Dr a w i n g , a n d S c h e m a t i c sQ u i c k R e f e r e n c e G u i d eABC

    L IS T O F F I G U R E ST I T L E P A G EI G U R E

    1-1 Mo d u l e Op e r a t i o n a l B lo ck Di a g r a m 1 -3Loca t ion o f Jumpers , Socke t s , and Connec to r sX V M E - 6 0 1 Me mo r y Ma p ( F a c t o r y - S h i p p e dC o n f i g u r a t i o n ) 2 - 1 0C o n n e c t o r J K 1 2 -1 1Me mo r y Ma p a f t e r I n s t a l l i n g XVME - 9 9 0 Mo n i t o r /R A M K i t 2-1 5I n s t a l l a t i o n o f a n XVME - 9 4 3 F r o n t P a n e l 2 -1 7

    2-2 - 12- 22-32- 42-5

    X V M E - 6 0 1 Processor Mod ule Mem ory M ap 3 -268681 D U A R T M e m o ry M a p 3 -43- 13- 24- 14-2 T y p i c a l XVME - 6 0 1 S y s t e m C o n f i g u r a t i o n6 0 0 MON Me mo r y Ma p 4- 24- 4

    L IS T O F T A B L E S

    T A B L E T I T L E P A G E1-1 XVME-601 Processor Module Spec i f i ca t ions 1- 72- 12- 22-32-42-52- 6

    J u m p e r L i s tR E S E T / A B O R TS y s t e m R e s o u r c e F u n c t i o n J u mp e r sE P R O M S e le c ti o n J u m p e r s f o r S o c ke t s U 3 0 & U 29I n t e r r u p t S e l e c t i o n J u mp e r sB u s Gr a n t a n d B u s R e q u e s t L e v e l S e l e c t i o nJ u m p e r s" L o c al " R A M / P R O M M e m o r y C o n f i g u r a t io n sC o n n e c t or J K 1 P i n D e s i g n at i on s

    2-32- 42-6 2-7 2-62-8 2-9 2-122-72-8

    3- 13- 2 6 8 68 1 P a r a l l e l I n p u t S t a t u s I n d i c a t i o n s68681 O u t p u t C o n t r o l F u n c t i o n s 3-53-6 .. .11 1

  • 8/14/2019 68000168010 Processor Module

    6/108

    X V M E - 6 0 1 M a n u a lDe c e mb e r , 1986L I S T O F T A B L E S c o n t in u e d

    T A B L E T I T L E3-3 XVME-601 Processor Module In te r rup t s4- Off s e t E x a mp l e s4-2 6 00 M O N C o m m a n d s4-3 A v a i l a b l e U s e r R o u t i n e s4-4 R e g i s t e r s Us e d b y F u n c t i o n

    P A G E3- 84-84-14-444-45

    iv

  • 8/14/2019 68000168010 Processor Module

    7/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    C h a p t e r 1M O DUL E DE S CRI P T I O N

    1.1 I N T R O D U C T I O NT h e XVM E - 60 1 P r oc e ss o r M o d u l e is a s i n g l e - h i g h , VM E b u s c o mp a t i b l e b o a r d , wh i c hu se s a 68 00 0 o r 6 8 01 0 C P U r u n n i n g a t 1 0 MHz . T h e m o d u l e ' c o n t a i n s t wo b y t e - wi d eme m o r y s o c k e ts f o r E P R OM d e v ic e s . T h e s e so c k e t s a l l o w a ma x i mu m o f 1 2 8 K b y t e so f E P R O M t o b e in s t a l l e d . On b o a r d D R A M c h i p s p r o v i d e 5 1 2 K b y t e s o f l o c a l R AM.T h e C P U i s c a p a b l e of a c c es s in g th e l o c al D R A M a n d E P R O M w i t h o u t t h e n e e d f o r"wa i t s ta te s ". XYC OM' s X VM E - 9 9 0 / 2 6 00 MON De b u g g e r Ki t is a v a i l a b l e f o r t h eXVM E-60 1.T h e XVME - 6 0 1 P r o c e s s o r Mo d u l e p r o v i d e s t wo R S - 2 3 2 s e r i a l p o r t s , a n d a 1 6 - b i tp r o g r a m m a b l e t i m e r v i a a n o n - b o a r d 6 8 6 8 1 D u a l A s y n c h r o n o u s R e c e i v e r / T r a n s m i t t e r( D U A R T ) . T h e m o d u l e a ls o i n c o rp o r a te s t h r e e f r o n t p a n e l L E D s t o i n d i c a t ed i a g n o s t i c P AS S / F AI L s t a t u s ( d i a g n o s t i c s a r e i n c l u d e d i n t h e 6 0 1 mo n i t o r ) , a s wel la s C P U H A L T s ta tu s .In add i t ion , the XVME-601 Processor Module p rov ides a l l o f the VMEbus u t i l i t i e sr e q u i r e d f o r a c o mp l e t e s y st em, i n c l u d i n g :

    0 SYSCLK0 S Y S R E S E T0 A s ing le l eve l a rb i t e r0 A Bus T i m e r0 I A C K D a i s y C h a i n D r i v e r

    Th e XVME-601 Processor i s spec i f i ed as an A24/A16:D16/D08 (EO ) VM Ebus Mas te r ,a n d a s a n I H ( 0 ) -I H ( 7 ) i n t e r r u p t h a n d l e r .

    1-1 -

  • 8/14/2019 68000168010 Processor Module

    8/108

  • 8/14/2019 68000168010 Processor Module

    9/108

    XVME-60 1 M a n u a lD e c e m b e r , 1986

    68000 O R 68010

    R E F R E S HC O N T R O L L E RV M E MASTERINTERFACEINTERRUPTHANDLERINTERFACE

    INTERRUPTERE WITCESSTATUS LEDsRS232 PORT A

    RS232 PORT B

    SYSllEMRESOURCEFUNCTIONSI 1

    * P R O M C o m e s w i t h t h e X V M E -9 9 0/ 2 M o n i t o r D e b u g g er K i t .

    F i g u r e 1-1. Mo d u l e Op e r a t i o n a l Block D i a g r a m

    1-3

  • 8/14/2019 68000168010 Processor Module

    10/108

    XVME - 6 0 1 M a n u a lDecember , 1986

    1 .3 .1 VMEbus M as te r In t e r fa ceT h e VME ma s t e r i n t e r f a c e o n t h e XVME - 6 0 1 P r o c e s s o r Mo d u l e s u p p o r t s t h efo l low ing bus cycles :

    0 A 24 ( Ad d r e s s Mo d i f i e r C o d e s 3 9 H, 3 AH, 3 DH, o r 3 E H)0 A1 6 ( Ad d r e s s Mo d i f i e r C o d e s 2 9 H, 2 DH)0 D 160 D 8 ( E v e n o r O d d T r a n s f e r s )0 Read-Modi fy -Wr i te (RMW) Cyc les - D8 ( E v e n or O d d T r a n s f e r s )0 I n t e r r u p t Ac k n o wl e d g e C y c l e s - D 8 ( O d d T r a n s f e r s O n l y )

    No t e t h a t R MW c y c l e s c a n u s e e i t h e r e v e n o r o d d b y t e t r a n s f e r s , wh i l e I AC K c y c l e sc a n u s e o n l y o d d b y t e t r a n s f e r s . T h e XVME - 6 0 1 Mo d u l e c a n b e c o n f i g u r e d ( V i aJ u m p e r s ) t o us e a n y o f t h e f o u r b u s a r b i t r a t i o n l e v el s (s ee C h a p t e r 2 ) .T h e V M E b u s i s r e q u e s t e d w h e n t h e C P U e x e c u t e s a n o f f - b o a r d m e m o r y o r I A C Kc y c l e, a n d t h e XVME - 6 01 M o d u l e d o e s n o t p r e s e n t ly h a v e c o n t r o l o f t h e b u s. Af t e rr e q u e s t i n g t h e b u s , wa i t c y c l e s w i l l b e i n s e r t e d u n t i l t h e b u s i s a c q u i r e d a n d t h es l a v e r e s p o n se wi t h D T A C K * o r B E R R ". Wh en t h e mo d u l e h as c o n t r o l o f t h eVM E b u s , t h e w a i t s t a t e s d u e t o t h e a c q u i s i t i o n p h a s e wi l l c ea s e.T h e b u s r e l e as e me c h a n i s m ma y b e R e l e a s e Wh en D o n e ( R WD) , R e l e a s e On R e q u e s t( R O R ) , re l e as e o n B C LR * ( R OB C ), o r re l e as e o n AC F A I L * ( R OA C F ) . I n t h e l as tc a s e a n i n t e r r u p t c a n b e g e n e r a t e d w h e n A C F A I L * i s a s s e r t e d , a n d t h e C P U c a nr e l ea s e t h e b u s i f d e s i r e d . E a r l y B B SY* re l e as e i s s u p p o r t e d w h e n t h e XVME - 6 0 1Mo d u l e d e c i d e s t o r e l e a s e t h e b u s d u r i n g t h e l a s t ma s t e r c y c le .

    1

    1.3.2 T h e 68681 Du a l Un i v e r s a l As y n c h ro n o u s Re c ei ve r T r a n s m i t t e r ( DU AR T )A 6 8 6 8 1 DUAR T i s u s e d t o p r o v i d e t wo R S - 2 3 2 s e r i a l c o mmu n i c a t i o n c h a n n e l s , a 1 6 -b i t t i m e r , a n d t w o p o r t s d e d i c a t e d to m o d u l e s t a t u s a n d c o n t r o l I/ O . T h e t w oa s y n c h r o n o u s s e r i a l c h a n n e l s ( l a b e l e d C h a n n e l A a n d C h a n n e l B a r e c o n f i g u r e d a sR S -2 32 D a t a C o m m u n i c a t i o n E q u i p m e n t ( D C E ) c h a n n e ls . I n d e p e n d e n t b a u d r a t eg e n e r a t o r s a l lo w mo s t o f t h e p o p u l a r d a t a r a t e s f r o m 7 5 to 19 .2K baud . In add i t io nt o t h e s t a n d a r d r e c e i v e a n d t r a n s mi t l i n e s , C h a n n e l A h a s a mo d e m c o n t r o l i n p u t( R T S ) a n d o u t p u t ( C T S ) . Al l s e r i a l c o mmu n i c a t i o n l i n e s a r e a c c e s s i b l e a t t h e 2 6 p i nc o n n e c t o r ( l a b e l e d JK1) l o c a t e d o n t h e mo d u l e f r o n t p a n e l ( r e f e r t o C h a p t e r 2 f o rt h e C h a n n e l A a n d B p in o u t s) .

    1-4

  • 8/14/2019 68000168010 Processor Module

    11/108

    X V M E - 6 01 M a n u a lDe c e m b e r , 1 9 86

    T h e 6 86 8 1 c o n t a i n s a t ime r / c o u n t e r wh i c h i s i n d e p e n d e n t f r o m t h e s e r i a l c h a n n e lb a u d r a t e g e n e r a t o rs . T h e t i m e r c a n b e p ro g r a m m e d f r o m t h e s e r i a l c h a n n e l b a u dr a t e g e n e ra t o rs . T h e t im e r c a n b e p ro g r a m m e d f r o m t h e s e r i a l c h a n n e l b a u d r a t eg e n e r a t o r s . T h e t i me r i s s et u p t o u se 3 .6 86 4 MH z / l 6 o r 23 0.4 KH z a s it s ti meb a se . T h i s w i l l a l l o w p e r i o d i c i n t e r r u p t s o r s q u a r e wa v e o u t p u t s r a n g i n g f r o m1 7.4 uS t o 5 69 mS ( r e f e r t o t h e MC 6 86 8 1 Du a l As y n c h r o n o u s R e c e i v e r / T r a n s m i t t e rM a n u a l f o r i n f o r m a t i o n o n p r o g ra m m i n g t h e t i m e r ) .T h e 6 8 6 8 1 DUAR T o n t h e XVME - 6 0 1 P r o c e s s o r Mo d u l e i s c o n f i g u r e d t o p r o v i d e 6p a r a l l e l i n p u t s a n d 8 p a r a l l e l o u t p u t s . T h e s e 1/0 p o i n t s a r e u s e d b y t h e C P U t oc o n t r o l a n d mo n i t o r a v a r i e t y of m o d u l e f u n c t i o n s . T h e i n p u t l i n e s a r e u se d b y t h eC P U t o m o n i t o r t h e f o l l o w i n g :

    - t h e R T S l i n e o n C h a n n e l A- wh e n t h e mo d u l e h a s c o n t r o l o f t h e VME b u s- SYSFAIL* , BCLR*, and ACFAIL" l ines- t h e A B O R T b u t t o n o n th e f r o n t p a n elT h e o u t p u t l in e s a r e u se d b y t h e C P U t o c o n t r o l t h e f o l l o wi n g f u n c t i o n s :

    - t h e C h a n n e l A CTS o u t p u t- t h e t y p e o f b u s r e l e a s e me c h a n i s m t o b e u s e d b y t h e m o d u l e- t h e P A SS a n d F A I L L E D s o n t h e m o d u l e f r o n t p a n e l- c l e a r i n g a n d e n a b l i n g i n t e r r u p t s1.3.3 Interrupt sT h e P r o c e s s o r o n t h e XVME - 6 0 1 P r o c e s s o r Mo d u l e c a n b e i n t e r r u p t e d v i a a l l s e v e nVM E b u s i n t e r r u p t s , p l u s 2 l oc a l a n d 2 sp e c i al i n t e r r u p t s o u r c e s. T h e l o c al i n t e r r u p ts o u r c e s i n c l u d e t h e A B O R T p u s h - b u t t o n , a n d t h e 6 8 6 8 1 D U A R T , a n d t h e s p e c i a li n t e r r u p t s i n c l u d e A C F A I L * a n d S Y S FA I L* . N o t e t h a t A C F A I L * a n d S Y S F A I L * a r ec o n s i d e r e d s p e c i a l i n t e r r u p t s i n t h i s c a s e b e c a u s e t h e y mu s t b e i n d i v i d u a l l y e n a b l e db y t h e C P U t h r o u g h t h e 6 8 68 1 o u t p u ts . R e f e r t o 68 68 1 M a n u a l f o r i n f o r m a t i o n o nt h e t y p es of i n t e r r u p t s w h i c h t h e D U A R T i ts e lf c a n g e n e ra t e .On e o f t h e o u t p u t s o n t h e 6 86 81 DU A R T i s us ed t o e n a b l e / d i s a b l e a l l i n t e r r u p tc a p a b i l i t y , a n d s o me a r e u s e d t o i n d i v i d u a l l y e n a b l e / c l e a r l o c a l a n d s p e c i a l i n t e r r u p tc a p a b i l i ti e s . R e f e r t o S e c ti o n 3.3 f o r i n f o r ma t i o n o n c o n t r o l li n g t h e 6 8 68 1 o u t p u t s .T h e l o c a l i n t e r r u p t s h a v e p r i o r i t y o v e r t h e VME b u s i n t e r r u p t s wh e n b o t h e x i s t o nt h e s a m e l e v e l.

    1-5

  • 8/14/2019 68000168010 Processor Module

    12/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    1.3.4 S t a t u s LEDs a n d C o n t r o l S wi t c h e sT w o m o m e n t a r y p u s h -b u t to n s w i t c he s c a n b e f o u n d o n t h e f r o n t p a n e l of t h em o d u le , t h e y a r e la b e l ed R E S E T a n d A B O R T . R E S E T w i l l r es e t t h e m o d u l e a n d t h eVM E b u s ( v i a S YS RE S ET * ). T h e DR AM r e f r e s h l o g i c i s n o t d i s a b l e d d u r i n g r e s et ,t h e r e f o r e t h e mo d u l e ma y b e r e s e t w i t h o u t e f f e c t i n g t h e c o n t e n t s o f t h e DR AM.AB OR T g e n e r a t e s a l e v e l 7 i n t e r r u p t t o t h e C P U .I n a d d i t i o n , th r e e L E D s c a n b e f o u n d o n t h e m o d u l e f r o n t p a ne l . T h e L E D s a r el a b e l e d F AI L , P ASS , a n d H AL T . F a i l i s o n wh e n t h e C P U i s a s s e r t in g S YS F AIL * .T h e PAS S l i g h t is c o n t r o l l e d d i r e c t l y b y t h e C P U. HA L T i s o n wh e n t h e C P Ue n t e r s h a l t s t a t e .

    1 .3 .5 Sys tem Resource Func t ionsT h e f o l l o w i n g s y s t e m r e s o u r c e f u n c t i o n s e x i s t o n t h e XVM E - 6 0 1 Pr o ce ss o r M o d ul e:

    0 S YS C L K d r i v e r0 S Y S R E S E T d r i v e r0 I A C K d a i sy - c h ai n d r i v e r0 Sing le - l eve l a rb i t e r0 B u s t i m e o u t

    T h e s y s t em r e s o ur c e f u n c t i o n s c a n b e e n a b l e d / d is a b l e d v i a j u m p e r s ( r e f e r t o C h a p t e r2) . T h e M o d u le i s s h i p p e d f r o m t h e f a c t o r y w i t h t h e s y s te m r e s o u rc e f u n c t i o n se n a b l e d .1.3.6 Local D R A MO n b o a r d D R A M p r o v id e s 512K of r andom access memory . N o wa i t s t a t e s a r er e q u i r e d t o a c c e s s t h e D R A M e x c e p t w h e n t h e C P U t r i e s t o a c c e s s t h e D R A Md u r i n g a r e f r e s h c y c l e . A r e f re sh cyc le r equ i res 3 c lock pe r iods (300nS) . Th ere fo r et h e m a x i m u m n u m b e r o f w a i t s ta t e s w i l l be 3. No wa i t s t a t e s w i l l b e e n c o u n t e r e dd u r i n g a r e f r e s h c y c l e w h e n t h e C P U a cc es se s a n y t h i n g o t h e r t h a n t h e D R A M . T h era m ex i s t s f ro m add ress OOOOOOH th rough 0 7FF FFH . Th e re f resh c i rcu i t ry i s notd i s a b l e d d u r i n g t h e r e s e t , t h e r e f o r e t h e mo d u l e ma y b e r e s e t w i t h o u t e f f e c t i n g t h ec o n t e n t s .

    1-6

  • 8/14/2019 68000168010 Processor Module

    13/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    1.4 XVM E -6 0 1 P RO CE S S O R M O DUL E S P E CI F I CAT I O NST a b l e 1 - 1 i s a l i s t o f t h e o p e r a t i o n a l a n d e n v i r o n m e n t a l s p e c i f i c a t i o n s f o r t h eXV ME -60 1 P rocessor M odule .

    Tab le 1 1. XV ME -60 1 P rocessor Module Spec i f i ca t ions

    C h a r a c t e r i s t i cProcessorS p e e dM e m o r y C a p a c i t yE P R O MD R A MS e r i a l P o r t sN u m b e rC o m p a t i b i l i t yB a u d R a t e sS igna l s

    T i me B a s e Ge n e r a t o rF r o n t P a n e l I n d i c a t o rs

    F r o n t P a n e l S w i t c h esP o w e r R e q u i r e m e n t s

    T e m p e r a t u r eO p e r a t i n gNo n - o p e r a t i n gH u m i d i t y

    A l t i t u d eO p e r a t i n gNo n - o p e r a i n g

    S p e c i f i c a t i o n s68000 or 68010

    10 M H z

    2 socke t s o r up to 128K by tes512K by tes27 5 - 1 9.2 K b a u d , p r o g r a mm a b l eP o r t A - T x D , R x D , R T S , C T SP o r t B - T x D , R x D

    RS-232

    17.4uSec to 569mSec.F AI L ( r e d ) , P AS S ( g r e e n ) , a n dH A L T ( r e d)R E S E T a n d A B O R T+5 vo l t s @ 2.8A Max. (2.5 A+/- 12 vol ts @ lOOmA Max.(1OmA Typ.)TYP.1

    0 to 65 C (32 to 149 F)-40 to 85 C (-40 to 158 F)5 t o 9 5 % R H n o n - c o n d e n s i n g( E x t r e m e l y l o w h u m i d i t y m a yr e q u i r e p r o t e c t i o n a g a i n s t s t a t i cd i s c h a r g e )

    Sea- leve l to 10 ,000 f t . (3048m)Sea-level to 50,000 f t . (15240m)

    -7

  • 8/14/2019 68000168010 Processor Module

    14/108

  • 8/14/2019 68000168010 Processor Module

    15/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    C h a p t e r 2XVME-60 1 I N S T A LLA TIO N

    2.1 I N T R O D U C T I O NT h i s c h a p t e r p r o v id e s t h e i n f o r m a t i o n n e e d e d t o c o n f i g u r e a n d i n s t a l l th e X V M E - 6 0 1Processor Module .

    2.2 L O CAT I O N O F C O M P O N E N T S R E L EV A N T T O I N S T A L L A T I O NT h e j u mp e r s , P R OM s o c k e t s , a n d c o n n e c t o r s o n t h e XVME - 6 0 1 P r o c e s s o r Mo d u l e a r ei l l u s t r a t e d i n F i g u r e 2 - 1 .

    2- 1

  • 8/14/2019 68000168010 Processor Module

    16/108

    XVME - 6 0 1 Ma n u a lDecember , 1986

    17J2DA B

    J102\

    Figu re 2 -1 . Loca t io n of Jumpers , Socke t s , and Connec to r s .

    2- 2

  • 8/14/2019 68000168010 Processor Module

    17/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    2.3 J U M P E R SPr io r to ins ta l l ing the XVME-601 Processor Module , i t wi l l be necessa ry toc o n f i g u r e se v e r a l j u mp e r o p ti o n s . T h e c o n f i g u r a t i o n o f t h e j u mp e r s i s d e p e n d a n tu p o n w h i c h o f t h e m o d u l e c a p a b i l it i e s a r e r e q u i r e d f o r a g i v e n a p p l i c a t i o n , a n d t h etype o f PR OM used fo r " loca l" memory . Th e fo l low ing t ab le shows a l i s t o f thej u mp e r s a n d a b r i e f d e s c r i p t io n o f t h e i r u s e.

    T a b l e 2- 1. J u m p e r L i s tXVME - 6 0 1 J u mp e r s

    J u m p e r

    J1J3,J4,J5,J6,J7,a n d 5 1 7J2 , J8

    J9,10,11,12,13,14,15

    J1 6

    J18,J19, & 520

    T h i s j u mp e r i s u s e d t o e n a b l e / d i s a b l e t h e r e s e t s wi t c h o nt h e f r o n t p a n e l of t h e mo d u l e .T h e s e j u mp e r s a r e u s e d t o e n a b l e / d i s a b l e t h e s y s t e mr e s o u r c e f u n c t i o n sT h e s e ju m p e r s a r e c o n f i g u r e d t o m a t c h t h e t y p e a n d s iz eo f E P R O M wh i c h i s i n s t a ll e d o n t h e XVM E - 60 1 .T h e s e j u m p e r s a r e u s e d t o d e t e r m i n e w h i c h V M E b u si n t e r r u p t l ev e ls ( 1 -7 ) c a n b e u se d t o i n t e r r u p t t h e C P UT h i s j u m p e r e n a b l e s / d i s a b l e s t h e a b o r t s w i t c h o n t h e f r o n tp a n e l o f t h e m o d u l e .T h e s e j u mp e r s a r e u s e d t o s e l e c t t h e b u s r e q u e s t a n d b u sgran t l eve l s .

    2.4 J UM P E R DE S CRI P T I O NSE a c h o f t h e f o l l o wi n g s u b s e c t i o n s e x a mi n e s t h e j u mp e r o p t i o n s i n c l o s e r d e t a i l ,s h o wi n g s p e c i f i c a l l y wh e n a n d h o w j u mp e r s s h o u l d b e c o n f i g u r e d .

    2-3

  • 8/14/2019 68000168010 Processor Module

    18/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    J u m p e r J 1I no u t

    2.4.1 RESET/ ABORT S w i t c h Ena,.z Jumpers ( J

    J u m p e r J 1 6 R E S E T S w i t c h A B O R T S w i t c hE n a b l e dDi s a b l e dI n E n a b l e do u t D i s a b l e d

    & 516)T h e r e a r e t w o m o m e n t a r y p u s h - b u t t o n s w i t c h e s w h i c h c a n b e f o u n d o n t h e f r o n tp a n e l o f t h e mo d u l e . T h e swi t c h e s a r e l a b e l e d R E S E T a n d AB O R T . Wh en th eR E S E T b u t t o n i s e n a b l e d ( b y i n s t a l l i n g j u mp e r J l ) , i t c a n b e u s e d t o r e s e t th e C P Ua n d t h e VME b u s . Wh en t h e AB O R T b u t t o n is e n a b l e d ( b y i n s t a l l i n g j u mp e r J 1 6 ) , i tcan be used to genera te a l eve l 7 i n t e r r u p t t o t h e C P U. T a b l e 2 - 2 s h o ws t h ec o n f i g u r a t i o n o f t h e s e j u mp e r s f o r e n a b l i n g / d i s a b l i n g t h e f r o n t p a n e l s wi t c h e s .

    T h e X V M E - 6 0 1 M o d u l e i s c o n f i g u r e d a t t h e f a c t o r y w i t h b o t h R E S E T a n d A B O R Ta c t i v a t e d .

    NOTEUs e o f t h e R E S E T b u t t o n a c t i v a t e s t h e S YS R ES E T " l i n ei f j u m p e r s J 1 a n d J 6 a r e i n s t a ll e d , t h e r e b y r e s e t ti n gt h e e n t i r e b ac k p l an e . T h e R E S E T b u t t o n c a n n o t b e u se dto jus t r e se t the XVME-601 board .

    2- 4

  • 8/14/2019 68000168010 Processor Module

    19/108

    X V M E - 6 0 1 M a n u a lD e c e m b e r , 1986

    2.4.2 System Resource Funct ion Jumpers (J3 ,54 ,55 ,56 ,57)T h e XVME - 6 0 1 P r o c e s s o r Mo d u l e p r o v i d e s a l l o f t h e VME b u s u t i l i t i e s r e q u i r e d f o r ac o mp l e t e s y s t e m, i n c l u d i n g :

    0 SYSCLK0 S Y S R E S E T0 A s ing le l eve l a rb i t e r0 A B u s T i me r

    NO T E

    F o r t h e mo s t p a r t , t h e s y s t e m r e s o u r c e f u n c t i o n sa r e e mp l o y e d a s a g r o u p ( i.e . e i t h e r t h e y a r e a l le n a b l e d , o r t h e y a r e a l l d i s a b l e d ) . Ho w e v e r , t h eS YS R E S E T f u n c t i o n c a n b e u s e d b y i t s e l f a s l o n g a sj u m p e r s J1 a n d J 6 a r e i n s t a l l e d .

    T h e f o l l o wi n g a r e t h e d e f i n i t i o n s of t h e s y s te m r e s o u r c e j u mp e r s :

    2-5

  • 8/14/2019 68000168010 Processor Module

    20/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    J u m p e rJ 354

    J 556J17AJ17BJ17CJ 1 7 DJ 7 AJ7B

    T a b l e 2 -3 . S y s te m R e s o u r c e F u n c t i o n J u mp e r sDe f i n i t i o n

    T h i s j u mp e r e n a b l es / d is a b l es t h e SYSCLK d r i v e r .T h i s j u mp e r e n a b l e s /d i s a b le s t h e g e n e r a t i o n o f B E R R * f o l l o wi n gt h e b u s t i m e o u t f u n c t i o n .T h i s j u m p e r e n a b l es / d is a b le s t h e s i n g l e le v e l a r b i t e r .T h i s j u mp e r e n a b l e s / d is a b l es t h e S YS R E S E T li n e.T h i s j u mp e r s e ts a b u s t i me o u t d u r a t i o n o f 1 6 uS .T h i s j u mp e r s e ts a b us t i me o u t d u r a t i o n o f 3 2u S .Th is jumper se t s a bus t imeou t dura t ion o f 64uS .Th is jum per se t s a bus t imeo u t du ra t io n o f 128uS .T h i s j u m p e r e n a b le s t h e I A C K d a i sy c h a i n d r i v e r .To comple te ly d i sab le the on-board sys tem resource func t ions ,J3, 54, J5, J6, & J 7 A mu s t b e r e mo v e d , a n d J 7 B mu s t b eins ta l l ed .

    NOTEI n o r d e r t o f u l l y i mp l e me n t t h e s y s t e m r e s o u r c e f u n c t i o n s ,t h e B u s G r a n t I n / Ou t a n d B us R e q u e s t L i n e s mu s t b e s e t t oLeve l 3 ( Jumpers J18 , J19 , and J20 se t in the D pos i t ion .

    By ins ta l l ing 53, J4 , 5 5 , J6 , J17(A, B , C , o r D) , J18D, J19D, J20D and J7A the sys temr e s o u rc e f u n c t i o n s a r e e n a b l e d . B y r emo v i n g J 3 , 54 , J 5 , J 6 , a n d J 7 A, a n d i n s t a l li n gJ7B, t h e s y s te m r e so u r c e f u n c t i o n s a r e d i sa b l e d . T h e XVM E - 6 0 1 i s c o n f i g u r e d a tt h e f a c t o r y w i t h t h e s y s te m r e s ou r ce f u n c t i o n s a c t i v a t e d , a n d t h e b u s t im e o u td u r a t i o n s e t f o r 1 6u S.

    2-6

  • 8/14/2019 68000168010 Processor Module

    21/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    B BB BB AA A

    2 .4 .3 E P R OM T y p e S e l e c t i o n J u m p e r sT h e r e a r e t w o 2 8 - p i n s o ck e t s p r o v i d e d o n t h e m S ul e f o r R O M d e v i c es . SocketsU 2 9 a n d U 3 0 a r e d e d i c a t e d f o r u s e b y t h e E P R O M d e vi c es , a n d t h e y c a n a c c e p t2764 , 27128, 27256 , o r 27512 EPRO Ms (200 nS access ). T he EP ROM s a re ins ta l l ed a tU2 9 a n d U3 0 mu s t b o t h b e t h e s a me t y p e o f E P R OM , J u m p e r s 58 a n d 52 a r e u s edt o s e le c t t h e t y p e o f E P R O M t o b e i n s t a l le d a t t h e U2 9 a n d U3 0 s o ck e ts . T a b l e2-4 s h o w s h o w t h e j u m p e r s s h o u l d b e c o n f i g u r e d f o r t h e v a r i o u s E P R O Mpossibi l i t ies .

    27642 71 28 ( f a c t o r y s h i p p e d c o n f i g . )27256275 12

    T a b l e 2 -4 . E P R OM S e l e ct i o n J u m p e r s f o r S o c k e ts U2 9 a n d U3 0

    L E V E L 1 I R Q I "L E V E L 2 IR Q 2 "L E V E L 3 I R Q 3 "L E V E L 4 I R Q 4 "L E V E L 5 IR Q 5 "L E V E L 6 IR Q 6 "L E V E L 7 I R Q7 "

    I 58 J2 I Device Se lec ted I

    2.4.4 VME b us I n t e r r u p t L ev el S e l e c t i o n J u m p e r sAl l s e v e n VME b u s i n t e r r u p t s a r e r e c o g n i z e d b y t h e XVME - 6 0 1 Mo d u l e .s h o ws wh i c h j u mp e r s ( wh e n i n s t a l l e d ) w i l l e n a b l e t h e v a r i o u s i n t e r r u p t l e v e l s .T ab le 2 -5

    T a b l e 2-5 . I n t e r r u p t S e le c t io n J u m p e r sJ u m p e r I I n t e r r u p t L e v e l a n d S i g n a l N a m e IJ 9J1 0J11J 1 2J 1 3514J 1 5

    N O T ET h e XVME - 6 0 1 i s c o n f i g u r e d a t t h ef a c t o r y wi t h a l l i n t e r r u p t s e l e c t i o nj u mp e r s i n s t a l le d .

    I n a d d i t i o n , t h e r e a r e t wo l o c a l s o u r c e s a n d t wo s p e c i a l s o u r c e s wh i c h c a n i n t e r r u p tt h e C P U. R e f e r t o S e c t io n 3.5 o f t h i s M a n u a l f o r a d d i t i o n a l i n f o r m a t i o n o n th el o c a l a n d s p e c i a l i n t e r r u p t s o u r c e s .

    2-7

  • 8/14/2019 68000168010 Processor Module

    22/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    J u m p e r P o s i t i o n J u m p e r J 1 8 J u m p e r J 1 9B us G r a n t I n B u s G r a n t O u tA BGOIN BGOOUTB B G l I N B G l O U TC BG2IN B G 2 0 U T

    *D BG3IN B G 3 0 U T

    2.4.5 Bus G r a n t a n d B u s Reques t Leve l Se lec t ion Jumpers

    J u m p e r J 2 0Bus Reques tBROB R 1B R 2B R 3

    J u mp e r s J 1 8 , J 1 9 , a n d J 2 0 a r e u s e d t o s e l e c t t h e b u s r e q u e s t a n d b u s g r a n t l e v e l s a ss h o wn i n T a b l e 2 - 6 .

    ~~~~~ ~

    * F a c t o r y S h i p p e d P o s i t io nNOTE:

    F o r a g j n c o n f i g u r a t i o n , J 1 8 , J 1 9 , a n d J 2 0 mu s t a l l b e i n t h e s amep o s i ti o n . P o s i ti o n "D" i s r e q u i r e d w h e n u s in g t h e o n - b o a r d s y st e mr e s o u r c e f u n c t i o n s . I n o r d e r t o p as s t h e u n s e l ec t e d Bu s G r a n t s ig n a l sa r o u n d t h e XVME - 6 0 1 , t h e b a c k p l a n e j u mp e r s s h o u l d b e u s e d .

    2.5 I N S T A L L IN G E P R O M O N T H E XVME-601 P R O C E S S O R M O D U L EA s wa s p r e v i o u s l y me n t i o n e d , t h e r e a r e a t o t a l o f t wo 2 8 - p i n s o c k e t s f o r u s e b yE P R OM d e v i c e s o n t h e XVME - 6 0 1 Mo d u le .I n s t a l l i n g E P R OMs i n s o c k e t s U2 9 a n d U3 0 i s s i mp l y a ma t t e r o f s e t t i n g t h ej u m p e r s t o m a t c h t h e d e v i c e s a s s h o w n i n T able 2-4 , r e f e r e n c i n g t h e n o t c h e d e n d so f t h e c h i p s a s s h o wn i n F i g u r e 2 -1 , a n d i n s t a l l i n g t h e d e v ic e s . T h e E P R OMi n s t a l l e d i n s o c k e t U30 s h o u l d c o n t a i n t h e even b y t e a d d r e s s e s a n d t h e E P R O Mi n s t a l le d i n s o c k e t U2 9 s h o u l d c o n t a i n t h e odd by te addresses .T ab le 2 -7 s h o ws h o w v a r i o u s d e v i c e s c a n b e e mp l o y e d t o a r r i v e a t d i f f e r e n t " l o c a l "me mo r y c o n f i g u r a t i o n s a n d F i g u r e 2 - 2 s h o ws t h e XVME - 6 0 1 Me mo r y Ma p .

    2- 8

  • 8/14/2019 68000168010 Processor Module

    23/108

    XVME-60 1 M a n u a lDecember , 1986

    T y p e of De v i c eT a b l e 2 -7 . "L o c al " P R O M Me mo r y C o n f i g u r a t i o n s

    # of De v i ce s I n s t a l le d O v e r a l l Me m o r y S i z eP r o v i d e d2 7 6 4 E P R OM2 7 1 2 8 E P R OM2 7 2 5 6 E P R OM2 7 5 1 2 E P R OM

    1 6 K B y t es3 2 K B y t es6 4 K B y t e s128K Bytes

    2-9

  • 8/14/2019 68000168010 Processor Module

    24/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    80000H -

    FFFFFFH -FFOOOOH -

    FEOOOOH -

    FCOOOOH -

    V M E

    I

    S H O R T 1/0

    7FFFFH -

    OOOOOOH -

    D U A R T

    .

    P R O M

    O N B O A R DD R A M

    I-- 6 4 K1- 6 4 K

    F i g u r e 2-2. XVME - 6 0 1 Me mo r y Ma p ( F a c t o r y - S h i p p e d C o n f i g u r a t i o n )

    2-10

  • 8/14/2019 68000168010 Processor Module

    25/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    NOTEWh en d e v i c e s t o t a l in g t h a n 1 2 8 K B y te s o f me m o r y a r e i n s t a l le di n t h e P R OM s i t e s , t h e u n u s e d p o r t i o n o f t h e 1 2 8 K be c ome s a"shadow- im age" o f the space occup ied by the ins ta l l ed dev ices . Fore x a mp l e , i f t wo 2 7 6 4 E P R OMs a r e i n s t a l l e d i n t h e P R OM s o c k e t st h e y wi l l o n l y o c c up y 1 6 K b y te s of t h e 1 2 8 K s p a c e ma p p e d o u t f o rt h e m. T h u s , t h e o r i g i n a l 1 6 K b y t e s w i l l b e " s h a d o we d " 8 ti me s,t h e r e b y f i l li n g t h e 1 2 8 K PR O M m a p .

    2.6 E XT E RNAL CO NNE CTO R J K 1T h e XVME - 6 0 1 P r o c e s s o r Mo d u l e p r o v i d e s t wo a s y n c h r o n o u s s e r i a l c h a n n e l s (A a n dB ) wh i c h a r e c o n f i g u r e d a s R S- 23 2 "DC E " e q u i p m e n t . B o th c h a n n e l s h a v e t h et r a d i t i o n a l t r a n s m i t ( T x D ) a n d r e c e i v e ( R x D ) l i n e s , a n d i n a d d i t i o n c h a n n e l A has amo d e m c o n t r o l i n p u t ( R T S ) a n d a mo d e m c o n t r o l o u t p u t (C T S ). T h e R S- 2 32 s ig n a l sa re access ib le v ia a 26-p in connec to r (JK1) l o c a t e d o n t h e mo d u l e f r o n t p a n e l .F i g u r e 2 - 3 s h o w s t h e m o d u l e f r o n t p a n e l a n d h o w t h e p i n s a r e s i t u a t e d i n t h ec o n n e c t o r .

    @@ F A I L@ P A S S

    ...

    XVMEdOl

    - P i n 1

    F i g u r e 2 -3 . C o n n e c t o r JKl

    2-1 1

  • 8/14/2019 68000168010 Processor Module

    26/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    T a b l e 2-8 s h ow s t h e m o d u l e f r o n t p a n e l a n d t h e p i n d e s i g n a ti o n s f o r c o n n e c t o r JKI.

    T a b l e 2-8. C o n n e c t o r JK 1 P i n De s i g n a t i o n sP in #1234567891011121 3141516171819202 12223242526

    P i n De s i g n a t i o nN CN CT x D C h a n n e l AN CR x D C h a n n e l AN CR T S C h a n n e l AN CC T S C h a n n e l AN CN CN CG N D C h a n n el AT x D C h a n n e l BN CR x D C h a n n e l BN CN CN CN CN CN CN CG N D C h a n n el BN CN C

    2.7 MODULE I N S T A L L A T I O N

    S i g n a l D i r e c t i o n

    I n p u to u t p u tI n p u to u t p u t

    I n p u to u t p u t

    X Y C O M X V M E m o d u l e s a r e d e s i g n e d to c o mp l y wi t h a l l p h y s i c a l a n d e l e c t r i c a lVM E b u s b a c k p l a n e s p e c i f i c a ti o n s . T h e XVM E - 6 0 1 Processor Module i s a s ing le -h ighVME b u s mo d u l e , a n d a s s u c h , o n l y r e q u i r e s t h e P I b a c k p l a n e .

    2-12

  • 8/14/2019 68000168010 Processor Module

    27/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    C A U T I ONNe v e r a t t e mp t t o i n s t a l l o r r e mo v e a n yb o a r ds b e f o r e t u r n i n g o f f t h e p o w e r t ot h e b u s , a n d a l l r e l a t e d e x t e r n a l p o we rsupp l ie s .P r i o r t o i n s t a l l i n g a m o d u l e , y ou s h o u l dd e t e r m i n e a n d v e r i f y a l l r e le v a n t j u m p e rc o n f i g u r a t io n s , a n d a l l c o n n e c t io n s t oe x t e r n a l d e v ic e s o r p o we r s u p p l ie s .( P le a se c h e c k t h e j u mp e r c o n f i g u r a t i o na g a i n s t t h e d i a g r a ms a n d l i s t s i n t h i sm a n u a 1 )

    To i n s t a l l a b o a r d i n t h e c a r d c a g e , p e r f o r m t h e f o l l o wi n g s t ep s :1) Ma k e c e r t a i n t h a t t h e p a r t i c u l a r c a r d c a g e s l o t wh i c h y o u a r e g o i n g t o u s ei s c lea r and access ib le .2) C e n t e r t h e b o a r d o n t h e p l a s t i c g u i d e s i n t h e s l o t so t h a t t h e h a n d l e o nt h e f r o n t p a n e l i s t o wa r d s t h e b o t to m o f t h e c a rd c a g e .3 ) P u s h t h e c a r d s l o wly t o w a r d t h e r e a r o f t h e c h as s is u n t i l t h e c o n n ec t o r se n g a g e ( t h e c a r d s h o u l d s l i d e f r e e l y i n t h e p l a s t i c g u i de s ).4 ) Ap p l y s t r a i g h t - f o r wa r d p r e s s u r e t o t h e h a n d l e l o c a t e d o n t h e f r o n t p a n e lo f t h e mo d u l e u n t i l t h e c o n n e c t o r is f u l l y e n g a g e d a n d p r o p e r l y s e a t ed .

    NO T EI t shou ld no t be necessa ry to useexcess ive p ressu re o r fo rce toengage the connec to r s . I f the boardd o e s no t p r o p e r l y c o n n e c t w i t h t h eb a c k p l a n e , r e mo v e t h e mo d u l e a n di n s p e ct a l l c o n n e c t o r s a n d g u i d es lo t s fo r poss ib le damage o robs t ruc t ions .

    2-13

  • 8/14/2019 68000168010 Processor Module

    28/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    2.8 I N S T A L L I N G T H E XVME-990/2 M O NI T O R K I T ( O P T I O N A L )Wh e n i n s t a l l e d , t h e XVME - 9 9 0 / 2 Mo n i t o r k i t p r o v i d e s t h e XVME - 6 0 1 Mo d u l e wi t ht wo 1 6 K b y t e E P R OM s ( 27 12 8 ), c o n t a i n s XYC OM's 6 0 0MON d e b u g M o n i t o r .E a c h o f t h e t wo E P R OM d e v i c es wi l l b e l a b e l e d o n t h e to p . I n t h e l o we r r i g h tc o r n e r o f e a c h l a b e l w i l l b e e i t h e r a "0 " or a "1". Th e dev ice l abe led "0 " must b ei n s e r t e d i n P R O M s o c k e t U30 a n d t h e d e v i c e l a b e l e d "1" mu s t b e i n s e r t e d i n P R OMs o c k e t U2 9 . Ag a i n , ma k e s u r e t h e n o t c h e d e n d s o f t h e c h i p s a r e p o s i t io n e d a ss h o wn i n F i g u r e 2 - 1 .F i g u r e 2 -4 s h o ws t h e Me mo r y Ma p a f t e r t h e XVME - 9 90 /2 P R OM h a s b e e n i n s t a ll e d .

    2-14

  • 8/14/2019 68000168010 Processor Module

    29/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    FFFFFFH -FFOOOOH -FEOOOOH -

    S H O R T I jOr

    D U A R T

    600MON SHADOWS

    VM E

    8 0 0 0 0 H -

    DRAM

    CP U E XCE P T I O N H ANDL E R T AB L E SOOOOOOH - I

    I

    S O CK E T SU29 an d U30- 2K

    - - - - - - _

    15.25M

    - 5MFig ure 2 -4 . M emory M a p Af t e r I n s t a l l i n g XVME - 9 9 0 / 2 Mo n i t o r K i t

    2-15

  • 8/14/2019 68000168010 Processor Module

    30/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    2.9 I NS T AL L I NG A 6U F R O N T P ANE L K I T ( O P T I O N A L )X Y C O M M o d e l N u m b e r X V M E - 94 3 i s a n o p t i o n a l 6 U f r o n t p a n e l k i t d e s i g n ed t or e p la c e t h e ex i s ti n g 3 U f r o n t p a n e l o n t h e X V M E -6 01 . T h e 6 U f r o n t p a n elf a c i l i t a t e s t h e s e c u r e i n s t a l l a t i o n o f s i n g l e - h i g h mo d u l e s i n t h o s e c h a s s i s wh i c h a r ed e s i g n e d to accom mo da te doub le -h igh modules. Th e fo l low ing i s a s t ep -by-s tepp r o c e d u r e f o r i n s t a l l in g t h e 6 U f r o n t p a n e l o n a n X V M E -6 01 M o d u l e ( r e f e r toF i g u r e 2-5 f o r a g r a p h i c d e p i c t i o n o f t h e i n s t a l l a t i o n p r o c e d u r e ) .

    D i s c o n n ec t t h e m o d u l e f r o m t h e b u s.R e m o v e t h e s c r e w a n d p l a s t i c c o l l ar a s s e mb l i e s ( l a b e l e d # 6 a n d #7)f r o m t h e e x t r e m e t o p a n d b o t t o m o f t h e e x i s t i n g 3 U f r o n t p a n e l(#1 l ) , a n d i n s t a l l t h e s c r e w a s s e mb l i e s i n t h e i r c o r r e s p o n d i n gl o c a t i o n s o n t h e 6 U f r o n t p a n el .S l i d e t h e mo d u l e i d e n t i f i c a t i o n p l a t e ( l a b e l e d # 1 3 ) f r o m t h e h a n d l e( #9 ) o n t h e 3 U f r o n t p a n e l. B y r e mo v i n g t h e s c r e w / n u t f o u n d i n s i d et h e h a n d l e , t h e e n t i r e h a n d l e a s s e m b l y w i l l s e p a r a t e f r o m t h e 3 Uf r o n t p a n e l. R e m o v e t h e c o u n t e r - s u n k s c r e w l a b e l e d #8 t o s e p a r a t et h e 3 U f r o n t p a n e l f r o m t h e p r i n t e d c i r c u i t b o a r d (#12) .L i n e - u p t h e p l a s t i c s u p p o r t b r a c k e t s o n t h e p r i n t e d c i r c u i t b o a r dwi t h t h e c o r r e s p o n d i n g h o l es i n t h e 6 U f r o n t p a n e l (i.e . t h e h o le s a tt h e to p a n d to p - c e n t e r o f t h e p a n e l ). I n s t a l l t h e c o u n t e r - s u n ks c r e w (#8) i n t h e h o l e n e a r t h e t o p - c e n t e r o f t h e 6 U p a n e l , se c u r i n gi t t o t h e l o we r s u p p o r t b r a c k e t o n t h e p r i n t e d c i r c u i t b o a r d .I n s t a l l t h e h a n d l e a s s e m b l y ( w h i c h w a s t a k e n f r o m t h e 3 U p a n e l ) a tt h e t o p o f t h e 6 U p a n e l , u s i n g t h e s c r ew a n d n u t p r e v io u s l ya t t a c h e d i n s i d e t h e h a n d l e . Af t e r s e c u r i n g t h e t o p h a n d le , s li d e t h emo d u l e i d e n t i f i c a t i o n p l a t e i n p l a c e .F i n a l l y , i n s t a l l t h e b o t t o m h a n d l e ( L e . t h e h a n d l e t h a t a c c o mp a n i e st h e k i t - l a b e l e d #2 ) u s i n g t h e s c r e w a n d n u t ( # 3 & # 5 ) p r o v i d e d .S l i d e t h e XYC OM VME b u s I . D . p l a t e (#4) i n p l a c e o n t h e b o t t o mh a n d l e . T h e mo d u l e i s n o w r e a d y to b e r e - i n s t al l e d i n th eb a c k p l a n e .

    2-16

  • 8/14/2019 68000168010 Processor Module

    31/108

    X V M E - 6 0 1 M a n u a lDe c e mb e r , 1986

    F i g u r e 2-5. I n s t a l l a t i o n o f a n XVME - 9 4 3 6U F r o n t P a n e l

    2-17

  • 8/14/2019 68000168010 Processor Module

    32/108

  • 8/14/2019 68000168010 Processor Module

    33/108

    X V M E - 6 0 1 M a n u a lD e c e m b e r , 1986

    C h a p t e r 3P RO G RAM M I NG

    3.1 I N T R O D U C T I O NT h i s C h a p t e r w i ll b r i e f l y e x a m i n e t h e o ve r a ll m o d u l e m e m o r y m a p , t h e 6 86 81 D U A R Tm e m o r y m a p , t h e d e d i c a t e d 1/0 p o i n t s o n t h e 6 8 6 8 1 DUAR T , i n t e r r u p t s , a n di n i t i a l i z a t i o n of t h e 6 86 81 DU AR T . I n o r d e r to d e m o n s t r a t e t h e c o r r e c ti n i t i a l i z a t i o n s e q u e n c e f o r t h e 6 86 8 1 D U A R T a s a m p l e in i t i al i z a ti o n r o u t i n e ( w i t hc o mm e n t s ) h a s b e e n i n c o r p o r a t e d i n th i s c h a p t e r . F o r a c o mp l e te e x p l a n a t i o n o nh o w t o p r o g r a m a n d m a x i m i z e t h e f u n c t i o n a l i t y o f t h e 6 8 6 8 1 D U A R T , r e f e r t o t h ea c c o mp a n y i n g 6 86 8 1 Ma n u a l .

    3.2 T H E XVM E -6 01 P RO CE S S O R M O DUL E M E MO RY M APF i g u r e 3-1 s h o ws t h e XVME-601 M o d u l e m e m o r y m a p a s i t w o u l d a p p e a r w i t h t h ef a c t o r y c o n f i g u r a ti o n .

    3-1

  • 8/14/2019 68000168010 Processor Module

    34/108

    X V M E - 6 0 1 M a n u a lD e c e m b e r , 1986

    FFFFFFH-

    FFOOOOH -

    FEOOOOH -

    FCOOOOH -

    80000H -

    OOOOOOH -

    -S H O R T 1/0

    D U A R T

    E P R O M

    VM E

    D R A M

    1-- 6 4 K1 64K1 2 8 K

    15.25M

    .5M

    :F i g u r e 3-1. XVME-601 Processor Module Memory Map

    3-2

  • 8/14/2019 68000168010 Processor Module

    35/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    N O T EW hen t h e C P U s t a r ts r u n n i n g a f t e r r e se tt h e f i r s t f o u r b u s c y c l e s w i l l b e r e a dt o a c q u i r e t h e i n i t i a l S u p e r v i s o r S t a c kP o i n t e r ( S S P ) a n d P r o g r a m C o u n t e r ( P C ) .Ha r d wa r e wi l l ma p t h e s e f o u r b u s c y c l e sinto address FCOOOOH for the SSP anda d d r e s s FC 0 0 04 f o r t h e PC . T h i s c o n v e n -t i o n a l l o ws t h e e x c e p t i o n v e c t o r s t or e s i d e i n DR AM.

    T h e a r e a f r o m F C OOOOH t o F DF F F F H i s d e d i c a t e d f o r t h e o p t i o n a l i n s t a l l a t i o n o f 2R O M d ev i c es ( X Y C O M s 6 00 M O N EP R O M s f o r ex a m p le ) . I f t h e R O M d ev i c e si n s t a l l e d d o n o t f u l l y o c c u p y t h e e n t i r e 1 2 8 K of a d d r e s s sp a c e ma p p e d o u t , t h e n t h er e ma i n i n g s p a c e wi l l c o n t a i n s h a d o w i ma g e s o f t h e o c c u p ie d a r e a . R O M mu s t b ei n s t a l l e d a t U2 9 a n d U3 0 d u e t o S S P a n d P C a c q u i s i t i o n d u r i n g p o we r u p .T h e a r e a f r o m F E OOOOH t o F E F F F F H i s ma p p e d f o r t h e v a r i o u s 6 8 6 8 1 DUAR Tc o n t r o l , c o mm a n d , a n d d a t a r e g i s t e r s ( r e f e r t o s e c t io n 3 .2 ).

    3.2 T H E 68681 DUART M E M O R Y M A PAs me n t i o n e d i n t h e p r e v i o u s S e c ti o n , t h e 6 8 68 1 DU A R T o c c u p ie s t h e a r e a o f t h eXVM E-601 mem ory map f r om FEOOOOH to FE FF FF H . Ho wev er , on ly 16 o f the to ta l6 4 K b y t e s i n t h e m a p p e d a r e a a r e u s ed f o r t h e D U A R T . T h e s e 1 6 b y t e s g o f r o mFEOOOlH to FEOOlFH (odd bytes only). Most of the 16 by te loca t ions pe r ta in ing tot h e DU A R T h a v e d u a l d e f i n i t i o n s . T h a t is , d u r i n g a WR I T E c y c l e a re g i s t e r w i l lh a v e o n e d e f i n i t i o n , a n d d u r i n g a R E A D c y c le t h e s a m e re g i s te r w i l l h a v e a n o t h e rD e f i n i t i o n ( R e f e r t o F i g u r e 3 - 2 o r t h e P r o g r a mmi n g a n d R e g i s t e r De s c r i p t i o n S e c t i o nof the MC68681 Manua l ) . F igure 3 -2 s h o ws t h e me mo r y ma p f o r t h e 6 8 6 8 1 a n d t h ed e f i n i t i o n o f t h e r e g i s t e r s d u r i n g b o t h a R E AD c y c l e a n d a W R I T E c yc le .

    C A U T I O NT h e 1 6 b y t e s u s e d f o r t h e 6 8 6 8 1 DUAR T r e g i s t e r sres ide on the odd by tes on lv! A ny by te accesses tot h e e v e n b y t e a t t h e s e l o c a t i o n s wi l l n o t r e t u r nDT A C K* , a n d t h e p r o c es so r w i l l "h a n g u p " u n t i l i t i sr e se t . Ho wev er , wo rd accesses are p e r m i t t e d .

    3-3

  • 8/14/2019 68000168010 Processor Module

    36/108

    XVME - 6 0 1 Ma n u a lDecember , 1986

    READMode Register fl (Mfllfl,MRZfl)

    ADDRESS WR I T EMode Register R (MRl fl,MRZR)E O O O l H

    FE0003HFE0005HFE0007HFE0009HFEOOOBH

    Do Not Access *Re c e i 1er Bu f er fl (RBfl)

    FEOOODH

    Command Register A ( C A R )Transmitter Buffe r R (TBR)

    F E OOO F H

    Inpu t Por t Change Reg. ( I P C R )In te rrup t Status Reg. ( I S R )

    F E O O l 1HF E O O 13HF EOO 15HF EOO 17HFEOOl9HF EOO 1BHFE001OHF E O O l FH

    flux. Control Register (flCR1Int err upt Mask Register (IMR)

    Current Mode:Current MSB o f Counter (CUR)

    ~Status Register fl

    Counter/TimerUpper Register (CTUR)

    ( S R f l ) I Clock Select Register fl (CSRR)/

    ~ ~~~Counter Mode:Current LS B o f Counter (CLR) C ou n ter Ti merLower Register (CTLR)

    Status Register B JSRB)00 Not Access*

    Clock-Select Register B JCSRB)Command Register B (CRB)

    Receiuer Buffer B (RBB)Interrup -Uec t o r Register ( I R )

    ~~~ ~ ~~ ~~~Mode Register B (MRlB,MRZB) 1 Mode Register B (MRIB,MRZB)I

    Transmitter Buffe r B (TBB)Interrupt-Uector Register ( I UR)

    Inp ut Por t (Unlatched) I Output Por t Config. Reg. (OPCR) IStart Counter Command * * loutput Port I B i t Set Comrnsnd** I

    I 1 I*Thi s address locetion i s used fo r fa cto ry te sting of the DUART and should not be read. Reeding

    I h i s o ca ti on w i l l r e s u l t i n undesired ef fects and possible in cor rec t t ra nsmissi on or recept ionof charac ters. Register contents may also be changed.* * Address trig ger ed commands

    F i g u r e 3-2. 6 86 81 D U A R T M e m o ry M a p

    3-4

  • 8/14/2019 68000168010 Processor Module

    37/108

    X V M E - 6 01 M a n u a lDe c e mb e r , 1 9 8 6

    3.3 U S I N G THE 68681 1/0 ORTST h e 6 8 6 8 1 D U A R T h a s t w o m u l t i f u n c t i o n 1/0 p o r t s : o n e 6 - b i t p a r a l l e l p o r t f o r i n p u t( IPO-IPS), an d one 8 -b i t pa ra l l e l po r t fo r ou tp u t (OPO-OP7). These 1/0 p o r t s h a v eb e e n d e d i c a t e d t o s p e c i f i c mo n i t o r a n d c o n t r o l f u n c t i o n s o n t h e XVME - 6 0 1 Mo d u l e .T h e i n p u t l i n e s ( I P O- I P S ) a r e u s e d b y t h e C P U t o mo n i t o r c e r t a i n mo d u l e f u n c t i o n s ,a n d t h e o u t p u t l i n e s c a n b e p r o g r a mm e d ( b y u s in g b i t s e t a n d r e s e t c o mma n d s ) t oc o n t r o l c e r t a i n m o d u l e f u n c t i o n s . Tab le 3 -1 shows how the s t a tus of e ach o f thes i x i n p u t l i n e s o n t h e 6 8 6 8 1 DUAR T i s i n t e r p r e t e d o n t h e XVME - 6 0 1 Mo d u l e .

    T a b l e 3-1 . 6 8 68 1 P a r a l l e l I n p u t S t a t u s I n d i c a t i o n sI n p u t L i n eIPOIPO**IP**IP

    IP 2I P 2IP 3IP 3IP 4IP 4IP 5IP 5

    S t a t u s0101

    01010101

    T h e C h a n n e l A R T S i n p u t i s a ss e r te dT h e C h a n n e l A R T S i n p u t i s n e g at e dT h e XVME - 6 0 1 h a s c o n t r o l o f t h e VME b u sT h e XVME - 6 0 1 d o e s n o t h a v e c o n t r o l o fthe BusSYSFAIL* i s a s se r tedS YS F AI L * i s n e g a t e dBCLR* i s a s se r tedBCLR* i s nega tedAC F AI L * i s a s s e r te dAC F AI L * i s n e g a t e dT h e AB OR T b u t t o n i s p re s se dT h e A B O R T b u t to n is r e leased

    * * I n p u t l i n e I P 1 i s u s e d t o c o o r d i n a t e c h a n g i n g t h e b u s r e l e a s e c o n t r o l o u t p u t l i n e sOP1 a n d O P 2 - r e fe r t o Tab le 3 -2.Tab le 3 -2 s h o ws t h e f u n c t i o n s t h a t a r e c o n t r o l le d b y s e t t i n g o r r e s e t t i n g t h e 6 8 6 81D U A R T o u t p u t l i n e s OPO-OP7 . S e t t i n g t h e o u t p u t l i n e s e n t a i l s wr i t i n g a b i t s etc o m m a n d b y t e (1 equa l s se t , 0 e q u a l s n o c h a n g e ) to t h e b i t s e t c o mm a n d r e g i s t e r( l o c a t io n F E 0 0 1 DH ) . Ou t p u t B i ts a r e r e s e t b y wr i t i n g a b i t r e s e t c o mm a n d b y t e (1e q u a l s r e s e t , 0 e q u a l s n o c h a n g e ) t o t h e b i t r e s e t c o mma n d r e g i s t e r ( l o c a t i o nF E OOIF H). R e f e r t o t h e d e s c r i p ti o n of t h e O u t p u t P o r t R e g i s t e r i n t h e MC 6 86 81M a n u a l f o r a d d i t i o n a l i n f o r m a t i o n o n s e t t i n g / r e s e t t i n g t h e o u t p u t li n e s . A l l 6 86 8 1o u t p u t s w i l l a s s u m e t h e R E S E T s t a t e w h e n t h e m o d u l e i s r e s e t , a n d w h e n t h e C P Ue n t e r s th e H A L T s t a t e.

    3-5

  • 8/14/2019 68000168010 Processor Module

    38/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    O P 2R E S E TR E S E TS E TS E T

    O u t p u t L i n e

    OP 1 B u s R e l e a s e Me c h a n i s mR E S E T R e l e a se Wh en Do n e ( R WD)S E T R e l e a se O n R e q u e s t ( R O R )R E S E T R e l e a se O n B C L R *S E T Ne v e r R e l e a s e t h e B u s

    OPOOPOO P 1O P 2O P 3O P 3

    O P 4O P4O P 5

    O P 5

    O P 6O P 6O P 7O P 7

    Tab le 3 -2 . 68681 O utp u t Con t ro l Fun c t ion s

    O u t p u t C o m m a n dR E S E TS E T

    R E S E TS E T

    R E S E TS E TR E S E T

    S E T

    R E S E TS E TR E S E TS E T

    F u n c t i o n P e r f o r m e dNe g a t e s t h e C h a n n e l A C T S Ou t p u tAs s e r t s t h e C h a n n e l A C T S Ou t p u t

    *SEE BELOW

    A s s e r t s S Y S F A I L * a n d T u r n s t h eF A I L L E D O n .N e g a t e s S Y S F A I L * a n d T u r n s t h eF A I L L E D O f f .C l e a r s a n d d i s a b l e s i n t e r r u p t sg e n e r a t e d b y S YS F AI L *E n a b l es S Y S F A I L * I n t e r r u p t sC l e a r s a n d d i s a b l e s i n t e r r u p t sg e n e r a t e d b y A C F A I L * o r t h e A B O R TB u t t o n .E n a b l e s I n t e r r u p t s v i a t h e A B O R TB u t t o n o r A C F A I L *T u r n s O f f t h e P A S S L E DT u r n s O n t h e P AS S L E DD i s ab l es I n t e r r u p t s t o t h e C P UA l lo w s t h e C P U t o b e I n t e r r u p t

    * OP 1 a n d OP 2 a r e u s e d t o g e t h e r t o c o n t r o l t h e VME b u s r e l e a s e me c h a n i s m i nt h e f o l l o w i n g f a s h i o n :

    3-6

  • 8/14/2019 68000168010 Processor Module

    39/108

  • 8/14/2019 68000168010 Processor Module

    40/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    I n t e r r u p t L e v e l

    L e v e l 7Leve l 6Leve l 5Leve l 4Leve l 3L e v e l 2L e v e l 1

    Ob j e c t : T o I n i t i a l i z e C h a n n e l B

    V M E bu s I n t e r r u p t s L o ca l I n t e r r u p t s S p e c i a lI n t e r r u p t sI R Q 7 " A B O R T B u t t o n A C F A I L *I R Q6 * S YS F AI L *I R Q 5 *I R Q 4 * 6 86 81 D U A R TI R Q 3 *I R Q 2 *I R Q l *

    AAAAAAAA

    00000030000000360000003C000000420000004800000 04E000000540000005A

    207COOF820101 17COO 10 00 051 17COO 1 30 00 11 17C0007000 11 17COOBB0003117C00200005117C003000051 17C00050005

    MO VEA.L#$FEOO 10,AOM 0V E.B #$1 O,CR(AO)M 0 VE . B # $ 1 3 ,MR l (AO)M 0V E.B #$0 7 ,MR2( AO)M0VE.B #$BB,CSR(AO)M 0V E.B #$20 ,CR(AO)M 0V E.B #$30 ,CR(AO)M 0 V E . B #$0 5,CR ( AO)

    ; T h i s i s C h a n n e l BA d d r e s s; R e s e t M R P o i n t e r; N o P a r i t y , 8 b i t s /c h a r .; 1 S top B i t; 9 6 0 0 - B a u d XMI T a n dR C V .; R e s e t t h e R e c e i v e r; R e s e t t h e T r a n s m i t t e r; E n a b l e t h e X M I T a n dR C V .

    3 . 5 I N T E R R U P T ST h e 6 80 00 C P U o n t h e XVM E - 60 1 P r oc e ss o r M o d u l e c a n b e i n t e r r u p t e d v i a a l l se v e nVM E b u s i n t e r r u p t s , p l u s 2 lo c a l a n d 2 s p e c i a l i n t e r r u p t so u rc e s. T h e l o ca l i n t e r r u p ts o u r c es i n c l u d e t h e AB O R T p u s h - b u t to n , a n d t h e 6 86 81 DU AR T . T h e s p e c ia li n t e r r u p t s i n c l u d e A C F A I L * a n d S Y S FA IL *. N o t e t h a t A C F A I L * a n d S Y S F A I L * a r ec o n s i d e r e d s p e c i a l i n t e r r u p t s i n t h i s c a s e b e c a u s e t h e y mu s t b e i n d i v i d u a l l y e n a b l e db y t h e C P U t h r o u g h t h e 6 8 68 1 o u t p u ts . R e f e r t o t h e 68 68 1 M a n u a l f o r i n f o r m a t i o no n t h e t y p e o f i n t e r r u p t s w h i c h t h e D U A R T i t s el f c a n g e n e r a te .On e o f t h e o u t p u t s o n t h e 6 86 8 1 D U A R T is us ed t o e n a b l e / d i s a b l e a l l i n t e r r u p tc a p a b i l i t y , a n d s o me a r e u s e d t o i n d i v i d u a l l y e n a b l e / c l e a r l o c a l a n d s p e c i a l i n t e r r u p tc a p a b i l i ti e s . R e f e r t o S e c t i o n 3 .3 f o r i n f o r m a t i o n o n c o n t r o l l in g t h e 6 8 68 1 o u tp u t s .T a b l e 3 - 3 s h o ws t h e i n t e r r u p t s o u r c e s a n d t h e i r c o r r e s p o n d i n g VME b u s i n t e r r u p tlevels.

    Tab le 3 -3 . XVM E-601 Processor Module In t e r ru p t s

    3-8

  • 8/14/2019 68000168010 Processor Module

    41/108

    X V M E - 6 01 M a n u a lDe c e m b e r , 1 9 86

    Wh e n t h e 6 8 6 8 1 DUAR T o u t p u t OP 7 i s R E S E T , n o 6 8 0 0 0 i n t e r r u p t s c a n b e g e n e r a t e d .O u t p u t O P 7 m u st b e s e t i n o r d e r f o r th e C P U t o re c e iv e a n y i n t e r r u p t s. T h eVME b u s i n t e r r u p t s I R Ql * - I R Q7 * e a c h h a v e a c o r r e s p o n d i n g j u mp e r ( r e f e r t o S e c t i o n2.4.4 o f C h a p t e r 2 f o r i n t e r r u p t j u m p e r i n f o r m a t i o n ) w h i c h d e t e r m i n e s w h e t h e r t h ec o r re s p o n d in g i n t e r r u p t s ou r c e i s e n a b le d . T h e i n t e r r u p t j u m p e r s ( J 9 - J l 5 ) a r ef a c t o r y s h i p p e d i n t h e " I N" p o s i ti o n , w i t h a l l i n t e r r u p t s e n a b l e d .T h e S Y S F A I L * , A B O R T B u t t o n , a n d t h e A C F A I L * i n t e r r u p t s a r e a l l i n d i v i d u a l l ye n a b l e d / d is a b l e d v i a t h e C P U t h r o u g h c e r t a i n 68 68 1 D U A R T o u t p u t s ( r e f e r toS e c t i o n 3 -3 ). Wh en t h e s e i n t e r r u p t s a r e d e t e c t e d , t h e y a r e l a t c h e d a n d t h e y r e ma i nl a t c h e d u n t i l t h e r e s p e c t i v e 6 8 68 1 D U AR T o u t p u t is R E S E T . T h e l o c a l / s p e c ia li n t e r r u p t s h a v e p r io r i t y o v e r t h e V M E b u s i n t e r r u p t s w h e n b o t h o cc u r o n t h e s a m el ev e l. F o r e x a mp l e , a n i n t e r r u p t g e n e r a t e d b y p re s s in g t h e AB O R T B u t t o n wo u l dh a v e p r i o r i t y o v e r a n I R Q7 * i n t e r r u p t c o mi n g f r o m t h e b us . A l l l o c a l / s p e c ia li n t e r r u p t s a r e a u t o v e c t o r e d b y i n t e r r u p t l e v e l a s d e f i n e d b y t h e E x c e p t i o n V e c t o rAs s i g n me n t o f t h e MC 6 8 00 0 C P U. T h e s t a t e o f a l l lo c a l i n t e r r u p t s c a n b e p o ll ed v i at h e i n p u t l in e s o n t h e 68 68 1 D U A R T . V M E b u s i n t e r r u p t s a r e v e c to r e d o n t h e S ta t u s1/0 B y t e r e t u r n e d b y t h e i n t e r r u p t i n g V M E b u s m o d u l e , d u r i n g t h e i n t e r r u p ta c k n o wl e d g e ( I AC K) c y cl e.T h e 6 8 6 8 1 DUAR T i n t e r r u p t s c a n b e e n a b l e / d i s a b l e d v i a i n t e r n a l r e g i s t e r b i t s ( r e f e rt o t h e MC 6 8 68 1 Ma n u a l - S e c t i o n 4 - P r o g r a m m i n g a n d R e g i s te r D e s c r ip t io n ) .

    3-9

  • 8/14/2019 68000168010 Processor Module

    42/108

  • 8/14/2019 68000168010 Processor Module

    43/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    C h a p t e r 4XVME-600MON( O P T O N A L)

    4.1 I N T R O D U C T I O NT h e XV ME - 9 9 0 / 2 k i t c o n t a i n s t h e 6 00 MON d e b u g mo n i t o r . I t a l lo ws t h e u s e r tod e si g n a n d d e b u g f i r m w a r e a n d s o f t w a r e f o r t h e X V M E - 6 01 m o d u le .T h e 6 0 0 MON i s a v e r s i o n o f Mo t o r o l a s VME b u g , mo d i f i e d t o r u n o n t h e XVME - 6 0 1 .I t p r o v i d e s a p o we r f u l e v a l u a t i o n a n d d e b u g g i n g t o o l , p e r mi t t i n g e x e c u t i o n o f s y s t e ma n d u s e r - d e v e l o p e d p r o g r a ms u n d e r c o mp l et e o p e r a t o r c o n t r o l . De b u g g i n g i s e a s e db y a c o mp l e m e n t o f t h e f e a t u r e s f o u n d o n mo st d e b u g g e r s p l u s a n u p / d o wn l o a dc o mma n d f o r l o a d i n g p r o g r a ms f r o m a h o s t , a n a s s e mb l e r / d i s a s s e mb l e r f o r u s e i ns c a n n i n g a n d p a t c h i n g t h e c o d e b e i n g d e b u g g e d , a n d a s e l f - t e s t c a p a b i l i t y wh i c hv e r i f i e s t h e i n t e g r i t y o f t h e XV ME - 6 01 .T h i s c h a p t e r d i s c u s s e s t h e 6 0 0 MON i n t h e f o l l o wi n g f a s h i o n :

    0 R e f e r e n c e d d o c u m e n t s0 S y s te m c o n f i g u r a t i o n a n d 1/00 I n s t r u c t i o n s e t0 U s e r R o u t i n e s0 D o w n l o a d i n g

    4.2 RE F E RE NCE D DO CUM E NT SI t i s a s s u me d t h a t t h e u s e r h a s a c ce ss t o t h e f o l l o wi n g d o c u me n t s :

    0 Mo t o r o l a VME b u g De b u g g i n g P a c k a g e Us e r s Ma n u a l MVME B UG/ D20 M6 8 0 0 0 P r o g r a mme r s R e f e r e n c e Ma n u a l - M68000UM(AD4)0 VME b u s S p e c i f i c a t i o n

    4- I

  • 8/14/2019 68000168010 Processor Module

    44/108

    X V M E - 6 01 M a n u a lDe c e m b e r , 1 9 86

    4.3 S Y S T E M C O N F I G U R A T I O NT h e m i n i m u m s y s te m c o n f i g u r a t i o n c o n si s ts o f:

    0 An XVME-601 Processor Module0

    0 S e r i a l T e r m i n a l0

    A V M E b a c k p l a n e a n d p o w e r s u p p ly

    C a b l e t o i n t e r f a c e t h e t e r mi n a l t o t h e > VME-60T h e b l o c k d i a g r a m i n F i g u r e 4 - 1 i l l u s t r a t e s t h e b a s i c c o mp o n e n t s r e q u i r e d d u r i n gt h e d e v e l o p me n t p h as e.

    S E R I A LC O N S O L E

    POWERS U P P L Y

    VMEbus BACKPLANE

    NOT E S :1. I f t h e XVME - 6 0 1 i s u s e d t o p r o v i d e t h e S y s t e m R e s o u r c e f u n c t i o n s , i t mu s to c c u p y S l ot 1 i n t h e VM E b u s, a s p r e s c r i b e d b y t h e VM E b u s s p e c i f ic a t i o n s .2. I f mo d u l e s d o n o t o c c u p y c o n s e c u t i v e s l o t s i n t h e b a c k p l a n e , t h e VME b u sb a c k p l a n e m u s t b e j u m p e r e d t o c o n t i n u e b o t h t h e I A C K I N / I A C K O U T a n dB G x I N / B G x O U T d a i s y c h a i n s .

    F i g u r e 4-1 . T y p i c a l XVME - 6 01 S y s t em C o n f i g u r a t i o n

    4-2

  • 8/14/2019 68000168010 Processor Module

    45/108

    X V M E - 6 0 1 M a n u a lDe c e mb e r , 1 9 8 6

    4.3.1 600MON Memory M apT h e 60 0 MON i s b u r n e d i n t o t wo 2 71 28 E P R OMs . T h e E P R OMs h a v e a 2 00 nS e c.a c ce ss t ime . T h e 60 0MON u s e s t h e XVME -6 01 s o n - b o a r d DR AM f r o m l o c a t i o n sOOOOOOH to 00 07 FF H . 600MO N uses th e XVM E-601s mem ory a s s h o w n i n F i g u r e 4-2.

    4-3

  • 8/14/2019 68000168010 Processor Module

    46/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    FFOOOOH -64KiH O RT 1 / 08

    DRAM.5M

    8 0 0 0 0 H -

    0 7 F F H -0 2 0 0 H -

    OOOOOOH - CP U E XCE P T I O N H ANDL E R T AB L E SNOT E S :

    1. Us e r p r o g r a ms s h o u l d s e t t h e s t a c k p o i n t e r ( s ) o u t s i d e of t h e D R A M a r e a u s e dby 600MON.

    2. 6 0 0 MON wi l l l o c k u p wh e n u s e r s t r y t o a c c e s s e v e n a d d r e s s e s i n t h e r a n g eFEOOOOH - F E F F F E H .F i g u r e 4-2 . 6 0 0 MON Me mo r y Ma p

    4-4

  • 8/14/2019 68000168010 Processor Module

    47/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.3.1.1 Exce ption Vector sT h e 6 00 MON e x c e p t i o n h a n d l e r t a b l e w i l l r e s i d e i n R A M l o c a t io n s OOOOH t h r o u g hOlFFH.T h i s t a b l e i s i n i t i a l i z e d b y t h e mo n i t o r u p o n p o we r - u p a n d r e se t. T h e u s er c a nc h a n g e t h e a d d r e s s e s o f t h e h a n d l i n g r o u t i n e s . E x c e p t i o n v e c t o rs 0 t h r o u g h 1 2 7 a r es u p p o r t e d .

    4 .3 .2 600MON 1 / 06 0 0MON s u p p o r t s t wo s e r i a l c h a n n e l s n u m b e r e d f r o m o n e to two . C h a n n e l o n e i st h e l o c a l c o n s o l e a n d t h e d e f a u l t c h a n n e l u s e d i n c o m m a n d s t h a t c a n s p e c i f y ac h a n n e l f o r i n p u t a n d / o r o u t p u t . T h e R S -2 32 t e r m i n a l m u s t be co n n e c te d toc h a n n e l o n e .T h e s e r i a l c h a n n e l s a r e i n i ti a l iz e d a t p o w e r - u p i n t h e f o l lo w i n g f o r m a t :

    0 9600 baud0 8 - b i t s / c h a r a c t e r0 n o p a r i t y

    T h e c o n f i g u r a t i o n o f a c h a n n e l c a n b e c h a n g e d wi t h t h e 6OOMONs PF c o mma n d ( s e eSec t ion 4 .6).

    4 .4 U S I N G 600MONC o m ma n d e n t r y is s i mi l a r t o t h a t u s e d i n ma n y b u f f e r - o r g a n i z e d s y st ems . T y p e dc h a r a c t e rs a r e a c cu m u l a t e d i n t h e c o m m a n d li n e b u f f e r b y t h e i n p u t r o u t i n e. Ac o m ma n d is p ro c es se d f o r e x e c u t i o n f o l l o wi n g e n t r y o f a c a r r i a g e r e t u r n .6 0 0MON p r o v i d e s l i mi t e d e d i t i n g c a p a b i l i ti e s f o r c o mm a n d e n t r y . T h e d e l e t e( R U B O U T ) k ey o r C T R L H c a n b e u s e d t o d e l e t e p r e v i o u s l y e n t e r e d c h a r a c t e r s .C T R L X wi l l c a n c e l a n e n t i r e li n e . C T R L D wi l l r e - d i s p la y a c o m ma n d l i ne .Du r i n g o u t p u t t o t h e c o n s o l e , C T R L W wi l l s u s p e n d t h e o u t p u t u n t i l a n o t h e r k e y i sp ressed . CTRL B wi l l a b o r t c o mma n d s t h a t p e r f o r m c o n s o l e i n p u t / o u t p u t ( I /O ) .V a r i a t i o n s i n t h e b a s i c f u n c t i o n o f f e r e d b y m a n y p r i m i t i v e c o m m a n d s c a n b eo b t a i n e d b y e n t e r i n g a p p r o p r i a t e c h a r a c t e r s i n t h e o p t i o n s f i e l d o f a c o mma n d l i n e .S o m e c o m m a n d f u n c t i o n s a r e s w i t c h e d o f f b y p r e f i x i n g t h e c o m m a n d w i t h NO.C o m m a n d s a n d o t h e r 1/0 a r e p r e s e n te d i n t h i s ma n u a l u s in g c e r t a i n s y mbo ls . T h e s es y mb o l s a n d t h e i r me a n i n g s a r e a s f o l l o ws :

    4-5

  • 8/14/2019 68000168010 Processor Module

    48/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    An g u l a r b r a c k e t s e n c l o s e a s y mb o l , k n o wn a s a s y n t a c t i c v a r i a b l e ,tha t i s r ep laced i n a com ma nd l ine by one of a c la s s o f sym bols i tr ep resen t s .[I S q u a r e b r a c k e t s e n c l o s e a s y mb o l t h a t is op t iona l . Th e enc loseds y mb o l ma y o c c u r z e r o o r o n e t ime .[I... S q u a r e b r a c k e t s f o l l o we d b y p e r i o d s e n c l o s e a s y mb o l t h a t i so p t i o n a l / r e p e t i t i v e . T h e s y mb o l ma y a p p e a r z e r o o r mo r e ti me s.

    I n t h e e x a m p l e s g i v e n i n t h e f o l l o w i n g p a r a g r a p h s , o p e r a t o r e n t r i e s a r e s h o w nu n d e r s c o r e d f o r c l a r i t y o n l y -- i .e ., the undersco re i s no t to be typed . O pera to re n t r i e s a r e f o l l o we d b y a c a r r i a g e r e t u r n u n l e s s o t h e r wi s e s p e c i f i e d .T h e f o r m a t o f t h e c o m m a n d l i n e is:

    600MON x.x >[][;]w h e r e :600MON x .x> I s t h e 6 0 0MON p r o mp t ( x.x r e p r e s e n t s t h e d i s p l a y e d v e r s i o n n u mb e r ) .c o m m a n d I s t h e p r i m i t i v e c o m m a n d .p a r a m e t e r I s a f i e l d c o n t a i n i n g o n e o f t h e f o l l o wi n g :

    1 . On e o r more express ion pa ram ete r s . M ul t ip le express ion2. On e o r mo r e a d d r e s s p a r a me t e r s . Mu l t i p l e a d d r e s s p a r a m e t e r s3. A d a t a p a r a m e t e r o p e n e d w i t h a s p a c e a n d c o n t a i n s o n e

    p a r a m e t e r s a r e s e p a r a t e d b y s p a ce s.a r e s e p a r a t e d b y s p ac e s.< p a t t e r n > , < d a t a > , < c o u nt > , o r < t e x t > p a r a m e t e r .

    o p t i o n I s a f i e l d o p e n e d wi t h a s e mi c o l o n a n d c o n t a i n i n g o n e o r mo r eop t ions . M ul t ip le op t ions need no t be sepa ra t ed by spaces .

    4.4.1 Expression ParametersAn e x p r e s s i o n c a n b e o n e o r mo r e n u me r i c v a l u e s s e p a r a t e d b y t h e a r i t h me t i co p e r a t o r s p l u s (+) o r m i n u s (-). Nu m b e r s a r e a s su me d t o b e h e x a d e c ima l e x c e p t f o rt h o s e p r e c e d e d b y a n a mp e r s a n d (&), w h i c h a r e d e c i m a l , a n d a s n o t e d f o r t h e DCc o m m a n d .

    4-6

  • 8/14/2019 68000168010 Processor Module

    49/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.4.2 Address ParametersAn a d d r e s s , wh e n u s e d a s a p a r a me t e r , mu s t f o l l o w t h e s y n t a x a c c e p t e d b y t h ea s s e mb l e r e x c e p t f o r t h e me mo r y i n d i r e c t mo d e. T h e a d d r e s s f o r m a t s a c c e p t ed a r eas fo l lows :F O R M A TAd d r e s sAd d r e s s + o f f s e t( A @ )( A@ , D@ )Ad d r e s s ( A@ )Ad d r e s s ( A@ ,D@ )

    [ Ad d r e s s ]

    E X A M P L E14013 0 + R 5( A5 )(A6,D4)120 (A3)11 0 ( A 2 , D I )

    D E S C R I P T I O NAb s o l u t e a d d r e s sAb s o l u t e a d d r e s s p l u s R 5 o f f s e t v a l u eAd d r e s s r e g i s t e r i n d i r e c t w i t h i n d e xA d d r e s s r e g is t e r i n d i r e c t w i t h i n d e xR e g i s t e r i n d i r e c t w i t h d i s p l a c e me n tAd d r e s s r e g i s t e r i n d i r e c t w i t h i n d e x p l u sd i s p l a c e me n tMe mo r y i n d i r e c t ( n o t a s s e mb l e r -a c c e p te d s y n t a x )

    4-7

  • 8/14/2019 68000168010 Processor Module

    50/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    4.4.3 O ff se t Regis tersT h e 6 0 0 MON u se s e i g h t s o f t wa r e r e gi s te r s, wh i c h a r e i n d e p e n d e n t o f t h e h a r d wa r e ,t o mo d i f y a d d r e s s e s c o n t a i n e d i n 6 0 0 MON c o mma n d s .The f i r s t seven reg i s te r s ( .RO- .R6) a re used as genera l purpose o f f se t s .r eg i s te r ( .R7) is a lw ays ze ro .These reg i s te r s a re mo di f i ed by th e . com man d ( see Sec t ion 4 .6 .1 ) an dd i s pl a y e d b y t h e D i s p l a y O f f s e t s c o m m a n d (OF) (see Section 4.6.19).T h e o f f s e t r e g i s te r s a r e a l wa y s r es e t t o z e r o a t p o we r - u p .a r e n o t c h a n g e d , t h e r e g i s t e r s h a v e n o e f f e c t o n t h e e n t e r e d a d d r e s s .Un l e s s a n o t h e r o f f s e t i s e n t e r e d , e a c h c o mma n d t h a t e x p e c t s a n a d d r e s s p a r a me t e rau to m at ica l lv adds o f f se t RO to the en te red address . For exam ple , i f RO=100 , thef o l lo w i n g c o m m a n d s a r e t h e s am e :

    T h e e i g h t h

    T h u s , i f t h e i r c o n t e n t s

    B R 10 (1 0 + 100) RO i s ad de d by de fau l tB R 10 + ROB R 110 + R 7

    (10 + 100)(110 + 0) R7 i s a lways ze ro

    B R i s t h e B r e a k p o i n t S e t c o mm a n d ( se e T a b l e B-2).Note , the phys ica l add ress fo r each o f these comm ands is 110.Of f s e t R O i s a u t o ma t i c a l l y a d d e d t o t h e o f f s e t r e g i s t e r s a n y t i me t h e y a r e mo d i f i e d .T h e o n l y e x c e p t i o n i s , o f c o u r s e , wh e n a n o t h e r o f f s e t r e g i s te r i s s p e c i f i c a l ly a d d e d .See Tab le 4 -1 f o r e x a mp l e s.

    T a b l e 4-1 . O f f s e t E x a mp l e s

    .RO O + R 7

    .R1 8

    .RO 100

    .RO 200

    .R 3 10 0 + R 1

    .RO O + R 7

    (RO = 0 + 0 = 0)(R 1 = 8 + 0 = 8)(RO = 100 + 0 = 100)(RO = 200 + 100 = 300)( R 3 = 100 + 8 = 108)(RO = 0 + 0 = 0)

    RO set to zeroO ffs e t RO i s ze ro , R1 i s se t to 8O ff se t RO ad de dO ff se t RO ad de dO f f s e t RO n o t a d d e dRO set to zero

    4-8

  • 8/14/2019 68000168010 Processor Module

    51/108

    X V M E - 6 0 1 M a n u a lD e c e m b e r , 1986

    4.4.4 Data ParametersA p a r a m e t e r f i e l d c o n t a i n i n g a n a d d r e s s p a r a m e t e r i s a lw a y s f o l lo w e d b y a d a t af i e l d . Da t a f i e l d e n t r i e s t a k e o n e o f t h e fo l l o wi n g f o r ms :D A T A T Y P E U S E D W IT H D E S C R I P T IO N< p a t t e r n > B F A b i n a r y p a t t e r n e x p r e s s e d i n u p t o f o u r h e x d i g i t s .< d a t a > MS 1 . An ASCII s t r ing of up to the l eng th o f thec o m m a n d l i n e b u f f e r ( le ss ( C R ) c h a ra c t e r a n dp r e c e d i n g c o mma n d l i n e c h a r a c t e r s ) .A v a l u e e x p r e ss e d i n u p t o e i g h t h e x d i g i t s ..< c o u n t > BR, MD, T A v a l u e e x p r e ss e d i n u p t o e i g h t h e x d i g i t s .< t e x t > D U An AS C I I s t r i n g o f u p t o t h e l e n g t h o f t h e c o mma n d

    l i n e b u f f e r ( le ss ( C R ) c h a r a c t e r a n d p r e c e d i n gc o mma n d l i n e c h a r a c t e r s ) .

    4-9

  • 8/14/2019 68000168010 Processor Module

    52/108

    X V M E - 6 0 1 M a n u a lDecember , 1986

    4.5 CO M M AND VE RI F I CAT I O NAs a n a i d t o t h e u s e r, 6 0 0 MON d i s p la y s f o r mo s t c o mm a n d s i t s i n t e r p r e t a t i o n of t h ev a l u e s e n t e r e d a s ex p r e s si o n a n d a d d r e s s p a r ame t e r s . T h e r es u l ts a r e d i s p l a y e d i n ap h y s i ca l f o r m a t . F o r e x a mp l e , i f A0 0 0 h a d b e e n ty p e d i n t h e p a r a me t e r f i e l d of ac o mma n d r e q u i r i n g t h a t t h e c o n t e n t s o f o f f s e t r e g i s t e r R O (1000, s a y ) b e a d d e d ,t h e n t h e r e s u l t i n g d i s p l a y wo u l d b e OOOOBOOO f o r t h a t a d d r es s p a r a m e t e r.S o me c h e c k i n g o f t h e v a l i d i t y of e n t e r e d c o mma n d s i s a l so d o ne . F o r e x a mp l e ,s p e c i f y i n g a n a d d r e s s p a r a me t e r wh i c h wo u l d r e s u l t i n a n e r r o r c a us e s t h e me s sa g e"ADD R E S S E R R OR =0 0 0 0 0 0 0 0 " t o b e d i s p la y e d o n t h e t e r mi n a l c o n n e c t e d t o t h e s e r i a lp o r t .A t a b l e o f 6 0 0 MON e r r o r me s s ag e s i s p r o v i d e d i n Ap p e n d i x C.

    4-10

  • 8/14/2019 68000168010 Processor Module

    53/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.6 CO M M AND S E TT h i s s e c t i o n d e s c r i b e s t h e c o mma n d l i n e s y n t a x a n d p r o v i d e s o n e o r mo r e e x a mp l e sf o r e a c h c o m m a n d i n t h e 6 0 0 M O N c o m m a n d s e t . T a b l e 4 - 2 l i s t s 6 0 0 MON c o mma n dmn e mo n i c s .

    T a b l e 4 -2 . 6 0 0MON C o mm a n d sC O M M A N DB F B I < a d d r e s s l > < a d d r e s s 2 >BM BR [[;]][[;]]..N0B R [ ] ..IBS < a dd e s s 2 x d a a >[< m a sk>][ ;]B T < a d d r e s s1>D C DFD U [ < p o r t number>][[]G D [ ]G[O][ ]G T H ELO [ < p o r t number>][ ; []=]MD [

    ] [ < d a t a >O FP A [ < p o r t n u m b e r > ]N O P A [ < p o r t n u m b e r > ]P F [ < p o r t n u m b e r > ]TM [

    ] [ [ < t r a i l i n gT [ R ] [ < c o u n t > ]T T < b r e a k p o i n t a d d r e s s >V E [ < p o r t number>][ ; []=]

    R [MIc h a r a c t e r > ]]

    .A 0 - .A 7 [].DO - .D 7 [].RO - .R 6 [].P C []

    .SR [].SS [].US []( C T R L B )( C T R L D )(DE L )

    D E S C R I P T I O NB lo ck f i l l me m o r yBlock in i t i a l i ze memoryB l o c k mo v e me mo r yB r e a k p o i n t s e tB r e a k p o i n t r e m o v eBlock sea rch memoryBlock t e s t memoryDa t a c o n v e r s i o nDi s p l a y r e g i s t e r s f o r ma t t e dD u m p m e m o r y a s S - r e c o rd sGo d i r e c t e x e c u t e p r o g r a mGo e x e c u t e p r o g r a mGo u n t i l b r e a k p o i n tH e l pL o a d S - r e c o rd s i n t o me mo r: UBMe m o r y d i s p l a y d i s a ss e m b l eM e m o r y m o d i f yMe mo r y s e tDi s p l a y o f f s e t sP o r t a t t a c hP o r t d e t a c hP o r t F o r m a tR e g i s t e r Mo d i f yT r a n s p a r e n t m o d eT r a c eT e mp . b r e a k p o i n t t r a c eVe r i f y me mo r y t o S - r e c o r d sDi s p l a y / s e t a d d r e s s r e g i s t erDi s p l a y / s e t d a t a r e g i s t e rDi s p l a y / s e t r e l a t i v e o f f s e tDi s p l a y / s e t p r o g r a m c o u n t e rDi s p l a y / s e t s t a t u s r e g i s t e rDisp lay / se t s . s t ack po in te rDi s p l a y / s e t u s e r s t a c k p o i n t e rA b o r t c o m m a n dDe l e t e c h a r a c t e rR e d i s p l a y l i n e

    4-1 1

  • 8/14/2019 68000168010 Processor Module

    54/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.6.1 Dis p la y /S e t Regis ter. []

    I n d i v i d u a l ma c h i n e o r o f f s e t r e g i s t e r s c a n b e d i s p l a y e d a n d / o r a l t e r e d b y u s i n g t h ef o l l o wi n g f o r ma t : . < r e g i s t e r> [ ] . C o m ma n d s w i t h a l e a d i n g p e r i o d a n dt h e r e g i s t e r s d i s p l a y e d / a l t e r e d b y t h e s e co mm a n d s a r e :

    .A 0 - . A7 a d d r e s s r e g i s t e r

    .DO - .D7 d a t a r e g i s t e r

    .RO .R6 r e l a t i v e o f f s e t r e g i s t e r ( s o f t wa r e r e g i s t e r ) ( r e f e r t o OFc o m m a n d )

    . PC p r o g r a m c o u n t e r

    .S R s t a t u s r e g i st e r ( i n t h e MC68000)

    .ss s u p e r v i s o r s t a c k p o i n t e r

    .us use r s t ack po in te rSee a lso: D F, OFE X A M P L E COMMENT600MON x .x> .PC 5010 Se t p ro gram cou n te r600MON x .x> .A7 5300 Se t add ress r eg i s te r seven .6 0 0MON x . x > . R 5 5 5 00 S e t r e l a t i v e o f f s e t r e g i s t e r f i v e .6 0 0MON x .x > "DF " i s t h e Di s p l a y F o r m a t t e d R e g i s t e r s c o mm a n d(see Section 4.6.9)PC=000050 10 S R = F F F F = T S 7 X N Z V C US=OOOO1000 SS=OOOO5300DO=OOOODODO D 1= 00 00 D1D 1 D2 =0 0 0 0 D2 D2 D3 =0 0 D3 D3 D3D4 =D4 D 4 D4 D4 D 5 =0 00 0 00 D5 D6=0000000 0 D 7=000000D7AO=0001OOAO A 1= 00 1OOOA 1 A2= 0000A 2A2 A3= 000000A 3A4=000100A4 A5=001A5555 A6=000000A6 A7=00005300.................... 005010 00000000 0R.B #O,DO

    4-12

  • 8/14/2019 68000168010 Processor Module

    55/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.6.2 Block Fill (BF)B F < a d d r e s s 2 > < p a t t e r n >

    T h e B F c o m m a n d f i l l s a s p e c if i e d bl o ck o f m e m o r y w i t h a s p e c i f i e d b i n a r y p a t t e r nof word s i ze . A wo r d b o u n d a r y ( e v e n a d d r e s s ) mu s t b e g i v e n f o r t h e s t a r t i n g a n d e n d i n g o f t h e b lo c k. T h e p a t t e r n wo r d m a y b e ex p r e s se di n h e x a d e c i m a l ( d e f a u l t ) , d e c i ma l , o c t a l , o r b i n a r y . T h e f o l l o wi n g s y mb o l s a r e u s edt o d e n o t e n u m b e r b as e:

    $ p r e c e de s h e x a d e c i ma l v a l u e ( t h i s is t h e d e f a u l t a n d m a y b e o m i t t e d )& p r e c ed e s d e c i ma l v a l u e@ p r e c e de s o c t a l v a l u eOo p r e c e d e s b i n a r y v a l u e

    I f a p a t t e r n o f l e ss t h a n w o r d s i z e i s e n t e r e d , t h e d a t a i s r i g h t - j u s t i f i e d a n dl e a d i n g z e r o s a r e i n s e r t e d b y 6 00 MON.

    E x a m P l e600MON x .x> MD 4900004900 FF FF 00 00 FF FF 00 00 FF FF 00 04 FF FF 00 00 ................600MON x .x> BF 4900 490E 4E75PHYSICAL A D D R E S S = 00004900 0000490E600MON x .x> MD 4900004900 4 E 7 5 4 E 7 5 4 E 7 5 4 E 7 5 4 E 7 5 4 E 7 5 4 E 7 5 4 E 7 5 Nu Nu Nu Nu Nu Nu Nu Nu600MON x .x>

    4-13

  • 8/14/2019 68000168010 Processor Module

    56/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.6.3 Block Init ia l ize (BI)B I

    T h e BI c o mm a n d i n i t i a l i z e s wo r d p a r i t y i n a s p e c i f i e d b l o c k of me mo r y - -< a d d r e s s l > t h r o u g h < a d d re s s2 > . N o d a t a i n a n y w o r d is c h a n g e d i f p a r i t y i n t h ewo r d i s c o r r e c t . I f p a r i t y i n a w o r d i s i n c o r r e c t , t h e c h a r a c t e r s "m? " ( $ 6 D3 F ) a r ewr i t t e n i n t h a t w o r d t o f o r c e c o r r e c t p a r i t y . I f t h e p a r i t y c a n n o t b e s e t i n o n e o rmo r e wo r d s , t h e me s sa g e B US T R A P E R R O R i s d i s p l a y e d o n t h e c o ns ol e. T h e BT( B lo c k T e s t ) c o mm a n d m a y b e u s e d t o i s o l a t e t h e f a i l u r e ( s ) .

    NOTEB o t h a d d r e s s e s mu s t b e o n w o r d b o u n d a r i e s .

    See also: BTExamDle600MON x .x> BI 800000 80FFFEP H Y S I C A L A D D R E S S = 00800000 0080FFFE600MON X.X.

    4-14

  • 8/14/2019 68000168010 Processor Module

    57/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.6.4 Block Move (BM)BM

    T h e B M c o m m a n d i s u s e d to mo v e ( d u p l i c a t e ) b l o c k s o f m e mo r y f r o m o n e a r e a t oa n o t h e r .< a d d r e s s l > = beg inn ing add ress o f source memory b lock = e n d i n g a d d r e s s of s o u r c e me mo r y b l o c k = b e g i n n i n g a d d r e s s of d e s t i n a t i o n me mo r y b l o c k

    ExamDle600MON x.x> MD 4900 A:DI004900 1018 M 0V E. B (AO)+,DO004902 OCOOOOOO CMP.B #O,DO004906 67F 8 BEQ.S $4A00004908 4E75 RT S600MON x .x> MD 4A00 A:DI004A00 FFFF DC.W $FFFF004A02 OOOOFFFF 0 R . B #- 1 DO0 04 A 06 0 0 2 0 F F F F 0 R . B # - 1 -(AO)600MON x.x> BM 4900 4909 4A00P H Y S I C A L A D D R E S S = 00004900 00004909P H Y S I C A L A D D R E S S = 00004A006 0 0 MON x.x> MD 4A00 A:DI004A00 1018 M 0V E.B (AO)+,DO004A 02 OCOOOOOO CM P.B #O,DO004A06 67F 8 BEQ.S $4900004A08 4E75 RT S600MON x .x>

    4-15

  • 8/14/2019 68000168010 Processor Module

    58/108

    XVME - 6 0 1 Ma n u a lDe c e m b e r , 1 9 86

    4.6.5 B r e a k p o i n t S e t a n d R e mov e ( B R a n d NO B R )B R ( d i s p l a y o n l y )BR [< a d d ress>[;]I[ BR Di s p l a y a l l b r e a k p o i n t s .6 0 0MON x . x > B R Se t a b reakpo in t .6 0 0MON x .x > BR < a d d r e s s > : S et a b r e a k p o i n t w i t h a c o u n t .See a lso: G T, TTN O B R C O M M A N D F O R M A T D E S C R I P T IO N6 0 0MON x .x > NO B R C l e a r a l l b r e a k p o i n t s .6 0 0MON x . x > NO B R C l e a r a s p e c i f i c b r e a k p o i n t .See a lso: G T, TT

    4-16

  • 8/14/2019 68000168010 Processor Module

    59/108

    X V M E - 6 0 1 M a n u a lDe c e mb e r , 1 9 8 6

    B R / N O B R E x a m P l e s600MON x.x> BR 4900 4A00 5300 5000B R E A K P O I N T S004900 004900004A00 004A00005300 005300005000 005000600MON x .x> NO BR 4A00 5000B R E A K P O I N T S004900 004900005300 005300600MON x .x> NOBRB R E A K P O I N T S600MON x.x> .RO 4000B R E A K P O I N T S000900+RO 004900000AOO+RO 004A00000COO+FO 004COO600MON x .x> NOBR A00B R E A K P O I N T S000900+RO 004900000COO+RO 004COO6 0 0 MON x.x>

    4-17

  • 8/14/2019 68000168010 Processor Module

    60/108

    X V M E - 6 0 1 M a n u a lDe c e m b e r , 1 9 86

    4.6.6 Block of Memory SearchBS l i te r s t r i n g 'BS < a dd e s s 2 x d a a >[< m a sk>][ ; ]

    T h e B S c o mma n d h a s t wo mo d e s : 1) l i t e r a l s t r i n g s e a r c h ,


Recommended