Page 1
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
Page 4
Return of Product Authorization i s required f r o m Racal Instruments before y o u s e n d u s y o u r product f o r service o r calibration. Call your nearest Racal Instruments support facility. A list is located on the last page of this manual.
Page 5
FOR YOUR SAFETY Before undertaking any troubleshooting, maintenance or exploratory procedure. read carefully the WARNING and CAUTION notices. This equipment contains voltage hazardous to human life and safety, and is capable of inflicting personal injury. If this instrument is to be powered from the AC line (mains) through an autotransformer, ensure the common connector is connected to the neutral (earthed pole) of the power supply.
Page 7
7064+ S i n g l e Slot Prototyping Module w/Interface R D 7 0 - 0 0 1 0 - 0 0 0 7064-1+ D o u b l e Slot Prototyping Module w/lnterface R D 7 0 - 0 0 1 0 - 0 0 1...
Page 8
Amendment to Racal Instruments Model 7064 Instruction Manual March 1996 Section 2 was replaced. Additional information was added to Paragraph 2.5.
2.6.5 D e b u g g e r Initialization 2.6.6 I n v o k e User Routine 2.7 L o c a l Bus Usage With 7064 Breadboard 2.8 I n s t a l l i n g The VSD-1 Serial Debugger...
Page 10
-BASED BREADBOARD APPLICATIONS 5.1 I n t r o d u c t i o n 5.2 R e g i s t e r s SECTION 6 Test Procedure Required Equipment Tests 6.3.1 Visual Tests 6.3.2 Functional Tests 7064 Test Software...
1.1 I N T R O D U C T I O N This manual contains information on how to install and operate the 7064 in a VXlbus environment. I t describes the function of the 7064 under control by the 96 buffered I/O lines, or via the 68000 bus lines.
1.4 O P T I O N S DESCRIPTION PART NO, M O D E L / O P T I O N 70-0010-000 7064 Single slot prototyping card w/8MHz interface 70-0018-000 Prototyping card with dual ported ram and DMA...
If the shipping carton is damaged, inform the carrier immediately. 2. R e m o v e the 7064 module quid inspect it for damage. If any damage is apparent, inform the carrier immediately. Retain shipping carton and packing material for the carrier's inspection.
Configure the interrupt daisy chain on the backplane to bypass empty slots, per VXlbus specifications. 3. R e m o v e the front cover of the VXI chassis, and slide the 7064 into the appropriate slot with the LED's towards the top (or to the left when using a horizontal chassis).
Page 16
The user must reconnect the daisy- chain in the 7064 module. This is done by shorting the pins on the P3 or J 101 connector as shown in Table 2.1 below.
Before turning on the VXlbus mainframe, make sure a Slot 0 with a Resource Manager is present. Upon power-up of the system, the 7064 goes through the following power-up sequence: • T h e 7064 breadboard module has two LED's on the front panel - FAIL and ACCESS. The LED functions are: FAIL...
2.6.6 I n v o k e User Routine The user may want to gain control after the 7064 has been initialized, but before the main loop starts running. The user can specify a vector for this power-up routine. This vector is stored in non-vol.
VXlbus chassis, and examined for damage or improper installation. 2.7 L O C A L BUS USAGE WITH 7064 BREADBOARD The VXlbus has a provision for interconnecting adjacent cards through a local bus. The bus consists of 12 lines which jumper card together.
Page 20
CAUTION Incorrect installation of this cable can result in damage to the debugger and/or VXlbus interface assemblies. 6. Locate the 9 -foot cable and D -SUB connector supplied with the debugger. Install the phone jack connector on the cable to the D-SUB connector and the other end to P2 of the serial interface board.
7064 parser to be bypassed, allowing the users parser to take control of the 7064. I f there are no main loop user routines, the main loop generates an error for the characters placed in the secondary queue. This and other complex tasks are described in more detail in Section 4.
To cause all outputs to be set to a logic 0 during reset, connect pin 2 to pin 3 on JP1. NOTE The 7064 breadboard module is shipped with no connections on JP1. The user must configure JP1 to achieve consistent output port reset levels. J P 1 has no effect on ports configured for input.
Page 24
NOTE The 7064 breadboard is shipped with no jumpers on the port control lines. This makes the default port configuration a buffered input. Drawing number 50-0010-000, Sheets 6 to 11, show the pin numbers for each one of the three configuration lines...
3.4 B R E A D B O A R D P O R T ADDRESSING S C H E M E S There are two groups o f commands: - p o r t numbers - c a r d ports The software commands in the local command set that do not begin with a 'c' use straight port numbers.
3.6 L O C A L COMMAND SET 3.6.1 Commands The syntactic style of the 7064 command set is reminiscent of the C-language function calls. A l l built-in and user-supplied commands are invoked by name, as i f calling C functions.
Page 27
3.6.1.3 B i t Commands setbit(port,bit_number); rstbit(port,bit_number); outbit(port,bit_number,value) pulsehi(port,bit_number); pulselo(port,bit_number); inbit(port,bit_number); csetbit(card,cport,bit_number); crstbit(card,cport,bit_number); coutbit(card,cport,bit_number,value); cpulsehi(card,cport,bit_number); cpulselo(card,cport,bit_number); cinbit(card,cport,bit_number); These commands are provided f o r b i t level manipulation. T h e s e commands use a bit_number to identify which bit is to be operated on. Bit_numbers range from 0 to 7. 0 is the least significant bit while 7 is the most significant bit.
Page 28
); These commands allow the 7064 to utilize any one of the eight(8) VXlbus 1TL trigger lines. triggin - defines which 1 I L trigger line the 7064 will respond to. trigout - defines which T I L trigger line the 7064 will generate a trigger on.
SECTION 4 INTERFACE 4.1 I N T R O D U C T I O N The Message-Based Interface has a simple and flexible software architecture that allows users to load and execute their own application code in a variety of ways. Additionally, the Message Based Interface provides several system services at the level of C-language function calls.
A jump table, located just above the 68000 exception vectors, is maintained in EPROM. This jump table provides linkage between application specific code and Message-Based Interface system services. ASCII command strings arriving over the VXI interface are placed into a primary input queue.
4.3 M E M O R Y SPACE The memory space o f the 68000 is divided into two major areas. T h e upper half of memory is available for the user. This 8 Mbyte space has no breadboard circuitry or memory located in it.
The breadboard code area contains support routines and the code f o r operating the interface. The upper part of ROM space is available for user code. Racal Instruments can load user-supplied application code into this upper 64 K b o f the EPROM address space.
Page 34
RAM Memory Map 400000 VT- 1 G l o b a l A r e a 400FFF ( s i z e f i x e d a t 4Kb) 401000 User G l o b a l A r e a 401FFF ( d e f a u l t s i z e = 4Kb) 402000...
4.3.3 E E P R O M (Non-Vol) EEPROM Memory Map 600000 System A r e a 600300 I U n s t r u c t u r e d A r e a 603FFF Non- Vo l memory can be modified under program control and retains the information even when power is removed.
Page 36
over the VXlbus on request. I t provides primitive security capabilities. Another flag is used to identify this as a user or a breadboard block. There are two flags reserved for future use. Four bits are available for the user to identify different types of blocks. The Block Checksum is used to verify integrity of the block.
Page 37
struct nv_sys unsigned long global_size; /* Size o f global area * / unsigned long pri_size; /* Size o f primary queue * / /* Size o f secondary queue * / unsigned long sec_size; unsigned long outsize; /* Size o f output queue * / long heap_size;...
Page 38
unsigned int vxi_3e; unsigned int start_user; /* Start in user parser? */ unsigned int term_vector; /* EOI non-usage flag & terminator count */ char terminators[4]; void(* routine[64])(); /* Vectors * / /* 0 - user power on */ /* 1 - user parser */ /* 2 thru 47 correspond to 68000 */ (See note 2) /* 48 - user software trigger */ /* 49 - reserved */...
Page 39
4.3.3.2 User's Area The Non-Vol memory not used by the system block is available for the user's area. The user's area is divided into two sections. One section uses ''records" to hold information. The other area is unstructured. T h e sixth item i n the system block (unsigned long nv_save_size from previous nv list) determines how much Non-Vol is used for the "record"...
4.4 P E E K I N G A N D P O K I N G T H E 68000 The Message-Based Interface allows the user t o "poke" and "peek" words and bytes to/from any location within the 68000's address space. T h e intent of these commands is to allow the user to exercise I/O ports and circuitry.
Page 41
sprintf(&Instrs(6), "Ox%.4x". bitnum): for (i = 0; i < NUM_INSTRUCTIONS; i++) sprintf (but. "poke (Ox%.81x, %s);\n", * 2, &Instrs[i]); targaddr + i ibwrt (ud, buf, strlen (buf)); sprintf (buf, "setparser (Ox%.81x);\n", targaddr); ibwrt (ud, buf, strlen (buf)); void usage(void) fprintf (stderr,"Usage: togbit -a <hex address> -b <bitnum>\n"); void main(argc, argv) char *argv11-, unsigned long addr = 0;...
Page 42
"Illegal numerical format in bitnum\ri"); usage(); exit( 1); argc -= 2; argv += 2; / * shift cmd line args * / break; default: fprintf(stderr, "Unknown option %s\n", argv[1]); usage(); exit(1); break; if (addr == 0 II bitnum < 0) { usage();...
4.5 U S E R S APPLICATION SPECIFIC CODE 4.5.1 L o a d i n g Application Code This section describes the methods of loading code into the Message-Based Interface. 4.5.2 S -Record Download The Message-Based Interface allows the user to download a named block of executable code as a sequence of Motorola S-records.
Page 44
This function downloads a single RTS instruction into the first word of the Message Based Interface user global area. T h e identifier "exampleRTS" is given to this executable block. Subsequent to S-record download, a Message-Based Interface command is sent to invoke the named function we've just downloaded.
Page 45
Below is a program that can be found on the accompanying disk that downloads an S- Record file onto the 7064. A n example o f a S-Record is also included in file VTI_HEX. COMMON SHARED INISTATBLKI IBSTAT7c, IBERR%, IBCNT(7e...
4.5.3 Executing Application Code Once a named block of code has been loaded into the Message-Based Interface using the 'DOWNLOAD' command, i t can be invoked like any other built-in Message-Based Interface command. The style is reminiscent of C-language function calls. Referring to the example program shown i n Section 4.1.1, when the controller sends the string "exampleRTS();", the Message-Based Interface will execute the user-supplied function called "exampleRTS...
4.6 A P P L I C A T I O N SPECIFIC COMMAND PARSER It is possible for the user to supply a secondary, application-specific command parser. The 7064 has a single-threaded control flow architecture, and i t passes control to the user's command parser under two conditions: 1.
4.6.1 S e l e c t i n g a Block of Code as the Application Command Parser As mentioned previously, i t i s possible f o r the user t o load a n application-specific command parser. T h i s is accomplished using the " D O W N L O A D " command described above.
Page 49
Here is a summary of the queue access functions: #include "vtl_rou.h" /* G e t next "raw" char from secondary input queue.h. Returns NO_CHAR if queue is empty. extern int vtl_getchar_raw(void); /* G e t next "stripped" char from secondary input queue. The upper 8 bits have been masked off.
4.7 A C C E S S I N G M E S S A G E -BASED I N T E R FA C E S Y S T E M SERVICES The Message-Based Interface provides the following general classes o f system services. The functions that implement these services are part o f the Message-Based Interface firmware, and are accessible to user-created application code through a jump table.
Memory Management vtl_calloc(), vtl_cfree(), v t l _ f r e e ( ) , vtl_malloc(), peek(), peekbO, poke°, pokebO Output base(), sscanfO, sprintfO, vtl_outO 4.7.1 C o m p i l i n g and Linking for Message-Based Interface System Services The following C file should be included by any user application that makes use o f the Message-Based Interface system services.
Page 52
extern void b a s e (uint base_value); extern uint c i n b i t (uint card, uint port, uint bitnum); extern taw c i n p o r t (uint card, uint cport); extern uint c i n p o r t b (uint card, uint cport); extern void c l e a r done (void);...
Page 53
extern int i s x d i g i t (int c); extern long l a b s (long 1); extern void * locate_tzv (int rec_type, int sequence); extern char * memccpy (char *dest, char *src, char c, int num): extern char * memchr (char *src, char c, int num);...
This section is a partial summary of the system services provided by the Message-Based Interface. A t the time of this writing, the number of services provided is growing. The complete list is to be found in the C include file "vtl _rou.h". This section also describes how users can compile and link to Message-Based Interface system services.
Page 56
VTX S y s t e m S e r v i c e s Parser usrfunc ( ) g e t c h a r ) Call I — s e t b i t O ( 4 1 A p p l i c a t i o n Parser Call...
5.1 I N T R O D U C T I O N S 5.1.1 T h e 7064-20 has many features and great flexibility. This information describes some o f the features, and give examples o f how typical circuits can be implemented.
Page 59
5.2.1.2 C o n t r o l Register 5.2.1.2.1 T h e Control register is reset at power-up by a buffered version of the SYSRESET signal from the backplane (SYSRST*). The breadboard provides the reset bit out of the Control register at E23. This can be used to drive other circuitry that is dependent on this bit.
Page 60
5.2.1.3 Register 5.2.1.3.1 The breadboard implements all bits of the ID register. The bits are controlled by S2 and S3. The switches and the bits they control are shown in the section of the manual on switch settings. These bits are used to identify the manufacturer, the address space and the device class.
Page 61
P l l DATA BUS '8 8 8 1 6 (P11417 9130 ( P 11 4 11 2"3 A a r r 141 1 Y 1 =EG 8 B I T 0 8D1 P 1 ' 4 ‘ h A 1 1 A 1 8 142 , Y 2 =EC 8 B I T 18 P I 1419...
Page 62
interface connector. Here is an example of how some additional write registers can be added: 9 5 0 19 P E G 8 B I T S 7016 ( R 11 4 1 7 PEG A BET 0 • C1 80 8 0 9 5 1 ( P 1 I 4 2 R E G...
Page 63
7064-20 Register Map 32 B i t A c c e s s e s User R e g i s t e r User R e g i s t e r User R e g i s t e r...
Page 64
7064-20 Switches S1 L o g i c a l A d d r e s s 1 2 3 4 5 6 7 8 °total° D e f a u l t = 02 = 1) L o g i c a l A d d r e s s...
Page 65
7064-20 Switches (conti n ued) S4 D e v i c e Ty p e R e g i s t e r ( L o w e r H a l f ) 4 5 6 7 8 1 2 3...
2. C o n f i r m t h e 7064 module address (not logical address) is set to "00", and jumper JP1 is positioned between pins 2 and 3. 3. S l i d e the 7064 module i n and out o f the V X l b u s mainframe, and verify proper fit and installation.
Page 67
6.3.2.2 Reset Test This test checks the RSTCLK line and associated hardware. A write/read is performed, and the 7064 is reset. A read is executed to verify reset has occurred. 6.3.2.3 Output Bit Test This test performs write/read operations o f the following patterns: A 5 hex, 5 A hex,...
= 1 LOCATE 2, 26: PRINT "7064 BREADBOARD TEST SOFTWARE" COLOR 3 1 , 0 : L O C AT E 2 2 , 1 : P R I N T " S E L E C T D E S I R E D T E S T B Y U S I N G T H E SOFTKEYS A S L A B E L E D "...
Page 69
noerror = 0 LOCATE 2, 26: PRINT "CARD ADDRESS TEST" FOR bits = 0 TO 4 IF bits = 0 THEN bit$ = "all bits OFF": digits = 0 IF bits = 1 THEN bit$ = "bit 1 ON, all others OFF": digits = 8 IF bits = 2 THEN bit$ = "bit 2 ON, all others OFF": digits = 4 IF bits = 3 THEN bit$ = "bit 3 ON, all others OFF": digits = 2 IF bits = 4 THEN bit$ = "bit 4 ON, all others OFF": digits = 1...
Page 70
LOCATE 2, 26: PRINT "MODULE RESET TEST" GOSUB findit GOSUB basevalue E = 0 FOR port = 0 TO 11 wrt$ = "inportb(" + STR$(port) + ");" CALL ibwrt(bd%, wrt$) CALL ibrd(bd%, t$) ' PRINT "PORT"; port, t$ IF LEFT$(t$, ibcnt%) <> "#B11111111" THEN GOSUB rderror NEXT port 'LOCATE 20, 10: PRINT "Verify all PORTS and BITS HIGH"...
Page 71
NEXT port ' LOCATE 20, 10: PRINT "Verify all PORTS and BITS HIGH" IF noerror = 0 THEN LOCATE 20, 10: PRINT "RESET TEST PASSED" IF noerror = 1 THEN LOCATE 20, 10: PRINT "RESET TEST FAILED" GOSUB pauseroutine t = 0 RETURN OUTPUTBIT: KEY OFF...
Page 72
' GOSUB pauseroutine GOSUB resetbit LOCATE 2, 26: PRINT "OUTPUT BIT TEST" LOCATE 20, 10: PRINT "Running Walking One patern" FOR port = 0 TO 11 RESTORE highbit IF port >= 1 T H E N wrt3$ = "outportb(" + STR$(port - 1) + ",0);" C A L L ibwrt(bd%, wrt3$) END IF FOR bit = 0 TO 7...
Page 73
LOCATE 22, 1: PRINT "press any key to continue" C$ = INKEY$: W H I L E C$ = "": C$ = INKEY$: W E N D RETURN findit: Udname$ = " V X I T E C H " C A L L IBFIND(Udname$, bd%) IF bd% <...
Page 75
GOSUB pauseroutine END IF NEXT readports LOCATE 2, 26: PRINT "OUTPUT B I T TEST" LOCATE 20, 10: PRINT "Running Walking One patern" RETURN rdportl: IF port = 11 T H E N RETURN FOR readports = port + I T O 1 1 wrt$ = "inportb("...
Page 76
D ATA #B1111 D ATA #B 11111 D ATA #B111111 D ATA #B1111111 D ATA #B 11111111 lowbit: D ATA #B11111110 D ATA #B11111100 D ATA #B11111000 D ATA #B 11110000 D ATA #B 11100000 D ATA #B 11000000 D ATA #B 10000000 D ATA #B 0 STOPPER: KEY OFF...
Page 78
SECTION 7 Model 7064 70-0010-000 F i n a l Assembly 52-0010-000 P C B Assembly, "C" Size Breadboard 50-0010-000 S c h e m a t i c , "C" Size Breadboard 7-17 52-0011-000 P C B Assembly, Message-Based Interface...
Page 79
b PLCS EACH S I D E PLCS PLCS o o b o o n 0 0 0 6 (V000doodb P L C S -1 1 1 1- 2 PLCS - - T 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F I N A L A S S Y.
Page 80
1 1 1 1 1 I n E l l a n 111111 1 1 1 1 1 1 1 1 1 1 1 1 S U M I N I a l l 111111 1 1 1 1 I n n o'boo(5'000000' 000'' 0 0 0 ' r000c5) "...
Page 81
4 . 3 ••• ' s a s 0 WE 0 , 1 1 RCN� CD ' 4 3 1 1 1 1 8 - 1 4 C 1 r G7 TOP S I D E .1 I f q NO1E5: S E E St-IEET- MIN M I N I 11111 M I N I N M I N N I N N 11111 M I N _ _...
Page 82
1 1 1 1 M 11111 — 11111 M N S I N M N — V I I I 111111 11111 a l l a.32 ai O I J O 6 . I N S T A L L W I R E J U M P E R S B E T W E E N J 4 - I A N D J 5 - 1 T H R O U G H J 4 - 1 0 A N D J 5 - 1 0 S.
Page 83
+ 1 2 V F I L + I 2 V A + 1 2 V A + 1 2 v B E A D C 2 6 C 2 4 0 . 0 1 u F 0 . 0 1 u F - 1 2 V F I L - 1 2 V A - 1 2 V A...
Page 84
. o 5 V A + 5 V A 4 . 7 . H B E A D C I O - C 2 1 . C 2 B - C 3 2 _ C 2 3 C 2 2 2 .
Page 85
1 1 1 1 1 1 M I N I M N N M I R R N M 11111 M I J 1 0 I A P 1 B J 1 0 1 B < < Q 0 0 B B 5 Y 1 <...
Page 86
1 1 1 1 1 1 1 1 1 1 11111 11111 11111 11111 11111 J 1 0 1 C < D O S < < D O 9 < 1 D I D < D 1 1 < 0 1 2 <...
Page 87
I12A J 1 0 2 A J 1 0 2 B _ ! • ¢ 1 6 . _ _ _ _ _ i _ _ _ < L L . 1 • 1 2 , g D _ _ <...
Page 88
E 5 J 1 0 2 C P 2C Q E 4 -1 < C L K . 1 0 . C U L ' 0- < I I - \ - 5 2 v - 5 . 2 V F I L <...
Page 89
MIN 11E11 M I E l l M I N I N N M I N a l l 1 1 1 1 \ _ _ L B 0 L B I L B 2 \ L e a \ _ L 8 5 L B O L B 7 L B O...
Page 90
MIN N M I I I I I I I I N M I I I I I I I N M I I I I I I I M I N I O M ( L 5 B ( 0 - " ) > PA G E 6 , 7 , 9,9,10,11 .
Page 91
P O R T 0 4 I L A 3 A Y O L R / U I O L a L L A Z u7A- „ . > G 1 3 U 1 1 6 - S 7 4 F I 3 9 C I Y E 1 PA G E 4 0 2 A 1 1 5...
Page 92
1M1 10111 M I E M I N M 11111 I S M M I N M E I I N N M i l I M O N M I 111111 <..13131S77-1 r r - > PA G E 4 PORTO \__LiatellEtEIL 2 1 1 / 0 0 0...
Page 93
< U M F R F 7 T r r " ) P A G E + P O R T 2 / 0 2 0 A I 1 3 1 E 8 0 \ ' - t 1 9 1 / 0 2 1 A2 B 2 / 0 2 2...
Page 94
M I M I N I M I M I M N = I I = N M I — a l l O M M I N < L B B 10 1 1 1 S H E E T 4 P O R T 4 \ , _ 1.
Page 95
< L I M TO. 7 E 11 S H E E T 4 P O R T S U 2 0 / 0 1 0 L 5 6 0 Ilc. A I — 0 • 5 V A / 0 1 L B 5 1 5 5 3 - - - c...
Page 96
1 1 1 1 1 0 I M O 111111 111111 I S M N M M I N I M O I N N I N N <Lap ( o . . i i ) ) SHEET 4 P O R T S ../9 U 2 2 L 0 0 0...
Page 97
P A G E + U 2 4 / 0 1 0 0 L B B O N. L 5 1 5 1 / 0 1 0 1 / 0 1 0 2 N. L B 5 2 / 0 1 0 3 N.
Page 98
P O R T 1 0 41 1 r4 r 4 , 4 1 ; N O B 21793 1 1 1 1 M I M I 111111 11•11...
Page 99
N M N M N M I I N N M E I N E I N E 111111 I N N I M I 5 TOP S I D E TOP S I D E O F INSTA1 L. A N D S WA G E A S SHOWN- - I N S TA L L P I N S A S SHOWN AT P I O I A , B , C A N D P 1 0 2 A , C PCB A S S Y.
Page 100
Ei EE Ef EE 1 1 1 3 1 2 , 3 3 3 7 4 1 ) m 2 1 , ODUI 4 . C O D BOTTOM S I D E 52-0011-00011 21793 NMI N I I N M N 1 = 1 I N N I I = I N N...
Page 101
E N N M I 1 E 1 1 1 1 1 1 M E I 11111 1 1 1 1 1 11111 1 E 11 M I P 1 0 2 P 1 0 1 A 2 5 A 3 2 8 3 2 8 1 3 C 3 2...
Page 102
C•3 V C C U 1 3 J P 5 f v - s y s t r j . . y § r e g t i . U 7 A O U T O S C P 1 0 0 1 0 K 1 0 K A l l...
Page 103
NMI N M I 1111111 N M I 111111 I I I I I I M i l M I N N M I = I I I N N N M 1111111 1111111 R O M E R A M E N V M E T I M E R E L B U S E...
Page 104
( A [ o . 2 3 1 I f f 5 7 1 5 T ) LOW N V M H I G H N H I G H R A M DO . _ 1 3 • \ A 3 1 / ' N A l N A s...
Page 105
E l l 1 1 1 1 1 1 1 E 1 1 M I N I M N I N N I O N 111111 I N N 11101 P 1 0 2 t s i rA I g : T U I D r °...
Page 106
-0•5V R 2 5 1 0 0 K N B E G E N A I f i g G E N A I •5V T C 4 R 2 3 3 3 0 L1 1555 I . 0 u F 0 .
Page 107
VSYSRST I IBYSRV-11T—> - W 1 F l a • 5V 0 SENSE R E F 7705 4.7K T2.0“F P101 6 V D T A C K I EW)TAti<—>V121-6Cal 74838 a v a i s F A I L L C I O L O I 74838...
Page 108
EMI M U N M I 11111 N E I N E I 11111 I N N M I N — E M I E I S N E I LO 1 7 1 P 1 0 1 A ( 0 7 3 1 U 4 7 I v o o VSDO...
Page 109
P l o t U 3 3 2 0 A R V I A C K 1 2 1 A _ l _ a v I A O S I d 1 A 2 I Y 2 VAC.I.• 53 12C a f t l a g 1 3 2 7 ( H O L D V I A 3 I Y 3...
Page 110
E N N E M N I N N M N I N N I N N I N N I N N I N N A 1 0 . . 2 3 ] U 4 3 L D O I A l L D 1 11 2...
Page 116
NMI M I N I M I N I M i l l E l l M I N I S I M N M I I N N 11E11 V C C I C 2 1 1 C 2 2 1 C 2 3 1 C 2 4 1 C 2 5 C 2 6 1 C 2 7 C 2 8 C 2 9 - { I I - 1 - T T I 1.01uF .01uF .
Page 117
P 1:A 133:A P 1 : B P 1 : C P 3 : C easy. 1311SY• 1:195 9 9 9 B M A . B a i t * 9 9 9 1:109 03 A C F 1 4 0 . I •...
Page 118
1 1 1 1 1 N I S N E I N M I M I N 11111 1111 P 2:A P 2 : 8 l EcuRG8 ECLTRG0 —A1-- ECLTRG0 —2VR — 2 V +5V' B 2 ECL TRG1 ECL TRG1 ECL TRG1 RESERVED G N D...
Page 119
I M I N I 1111111 I I = M E I M I N I 1111111 I O N / I I E 8 0 P2:C P4:C P 4 1 3 +5vR cL.Kie+ Clx1e+ 132 0 GND a x l e - cLX I I —...
Page 120
- - a r n LBC1 Lakt = C 3 l o t 5 L B A 4 LEIA5 7 L E W 3 1 8 R 1 9 11 L E I A 1 8 1 L B C 1 1 12 L I 3 A 1 1 2 L B I C 1 4 , 8 C 3...
Page 121
�B[ @ -1 i] TITLE S C H E M A T I C , R E G I S T E R B A S E D B R E A D B O A R D SIZE C A G E CODE DWG NO 5 0 - 0 0 2 6 0 0 0 SCALE N O N E...
Page 122
M i l IIIIMI M i l l I M O V I I I I l i a V I M O M M I N I M I N M I _hgrAti.!_____1 _ _ . ± f Y Y T L , BEAD T .01 uF SERCLIS...
Page 123
II I N N 111111 3.3uF + 1 7 V .01 u F .01 u F TITLE SCHEMATIC, REGISTER BASED BREADBOARD SIZE "CAGE CODE DWG NO. 5 0 - 0 0 2 6 - 0 0 0 Fl L E 0026-000.50-27 S H E E T 5 OF 19 SCALE N O N E...
Page 124
BEAD .01 u F 1 . 0 1 uF T. 0 1 uF .01 u F IIIIII M I 11111 V I E M I 111111 I I I I I I N M...
Page 125
--S DiR BEAD .01 uF 1-.01 u F BEAD .01 uF .01 uF ITTLE SCHEMATIC, REGISTER BASED BREADBOARD SIZE CAGE CODE DWG NO REV. 5 0 - 0 0 2 6 - 0 0 0 sria-r 6 OF 19 SCALE N O N E flLE 0 0 2 6 - 0 0 0 .
Page 126
1 1 1 1 1 1 111111 M i l N M 11 E 1 N M L=B- > A VA[1 —31] BAD —31 ] U 1 :A U4:A \ VA t 16 B A 1 \ VA17 15 B A 1 7 Al 1 1 2 A l \ VA2...
Page 127
v c c BD [0 —31 ] VD[0 —31] b-BA 0E11 i 2 1 CEIA p u l t . PCLK HWORD• D 19 • 190111 9139 al A l 1 3 A l 8017 \ V P 1 82 A 2 62 A 2 8016 V D 2...
Page 128
E l l I N N I N N I N N N E I — I N N 119:A VSTSRST• 18 S Y S R S T • MODID 6110DID SN74HCT244DW JP I (Jpl NORMALLY INSTALLED, REMOVE WHEN MESSAGE BASED INTERFACE IS INSTALLED) 1111 A 0441 VASA...
Page 129
b 0 S • 0 0 0 - 9 L 0 0 3 1 1 4 1 V 4 1 I P . 4 lot 01 - - I "• 1 1 1 1 0 V S 1 N V I A 1 01 2 f l e : •...
Page 130
m k s b e S ' 0 0 0 - 9 6 0 0 T I L I e t - L C l 2 J V 0 8 0 \ f 3 H 8 S C H E M A T I C . / 7 / 7 7 / 7 7 7 / 7 /...
Page 131
BD [ o - 3 1 7 v c c • —4 2 1 6 9 STATUS REGISTER E16 E 7 E 1 8 E 9 E 2 2 0 E 2 1 1 2 3 B D 9 PASSED 8 0 1 L/02 •...
Page 132
NMI O M 1 1 1 0 M I M I I I I I I I I N N = I I M I N I N N N M M i l l M O v c c 13D [ 0 - 3 I ] •...
Page 133
v c c VXI STATE MACHINE OUTPUT ENABLE R14 R 1 5 4.7K 4 . 7 K CtX/18 DCLK M e e t " ( 1 V 0 / 0 9 _M51. 0;171 4 1 2 V 0 / 0 1 BWRITE•...
Page 134
N M I B R I E I M O N M E M I 111•11 I N I M N I S I N N I N N I I I I I I I B I M USER INTERFACE CONNECTOR P11:C 1 1 1 .
Page 135
U22:8 c1 1U VXI INTERRUPT LOGIC SN74HCT040 U27:A P * 0 SN74HCT32D • v c c 5r3RST. IRQPFX0 SN74HCTSBBDW R16 R 1 7 R I B 4.7K 4 . 7 K 4 . 7 K 19 c d . LS B •...
Page 136
M N M I M N N M I N E I N M M I N I E N 11111 11111 E n N E I MESSAGE BASED INTERFACE PORT INTERFACE LOGIC LB[0 —7] SN74F245DW Loss 1-36—W l e l LOSS L071 87 A 7...
Page 137
- 2 V / " . / 3 2 2 2 7 0 E 3 2 U 3 8 : A R 2 3 1 8 0 M C 1 0 H 1 2 3 D I = D 2 H P 2 8 1 1 H P 2 8 1 1 C 1 8 E 2 3 E 3 4 E 3 5 E 3 6 ECL TRIGGER INTERFACE LOGIC M C 1 0 H 1 1 6...
Page 138
1 0 1 1 1 M I N I M I N N M S I N N M I M N v c c T R U SCHEMATIC, REGISTER BASED BREADBOAPD R I C H I C A G E C O D E —...
Page 139
HOLE SPACING IS .1 INCH VERTICALLY ROWS ARE SPACED 1 I N C H APART ALTERNATING COLUMNS ARE OFFSET BY .050 INCH PADS ARE CONNECTED 1 FOR 1 TO THE ADJACENT CONNECTOR PATTERN, TYPICAL 2 PLACES NOTE REFERENCE THE STANDARD C SIZE PCB OUTLINE DRAWING FOR FURTHER MECHANICAL DETAIL INN 11111111 I I I I I I I I 11111111 111111 N M I...
Page 146
REGISTER B A S E D B R E A D B O A R D PA R T S L I S T T y p e V a l u e R e f D e s i g n a t o r s Q u a n t i t y 1 6 L 8 U 1 2 , U 1 5 , U 2 4 , U 3 9...
Page 147
REGISTER B A S E D B R E A D B O A R D PA R T S L I S T c o n t i n u e d Q u a n t i t y T y p e V a l u e D e s i g n a t o r s 1 S N 7 4 H C T 7 4 D...
Page 149
APPENDIX A SOFTWARE COMMAND LIBRARY The software command library available on the 7064 has commands accessible either through the message based interface directly or only during firmware development. When defining these commands in this section the user will be told wether these commands are available only through the message based interface, only during firmware development, or through both.
Page 150
Intermetrics C-cross Assembler Commands' abs (int i); (char *dest, char *src); atoi (char *string); s t r c h r (char *src, char c); atol (char *string); s t r c m p (char *srcl, char *src2); index (char *src, char c); strcpy (char *dest, char *src); isalnum (int c);...
Page 151
Non-Vol Management delete nv (void *nv blkptr); delete_nv deletes a structured non-volatile record. Example: delete_nv(addr); - deletes the record at (addr). locate_ nv (int rec_type, int sequence); * Searches thru non-vol to find a structured record. Example: addr=locate_nv(2,1); - locates n v record type 2 , first occurance (addr).
Page 152
nvnoflags(void); * Removes all flags (generated using nvsetflag) from non-vol memory. nvsetport( unsigned int port, unsigned int value); Put a record i n t h e "record" area that tells the firmware t o initialize a particular port. A t the end of the power-up sequence, value is stored in port. Example: nvsetport(01,#HF);...
Page 153
nvsizeglobal( unsigned long size); Store size in the system block for the amount of RAM to be used for global variables. T h i s would be used i f the default value was not large enough. During power-up this value is used to set the size of the user global area. A value of zero causes the default value to be used.
Page 154
nvsizeinq( unsigned long size); Store size in the system block for the amount of RAM to be used for the input queue. This would be used if the default value was not large enough. During power-up this value is used to set the size of the input queue. A value of zero causes the default value to be used.
Page 155
retrieve_nv (void *dest, void *nv_blkptr); ` Retrieves information out of structured non-vol and puts it into user data area. Example: addr=locate_nv(2,1); followed by retrieve_nv(mybuf,addr); - retreives the information from addr, and stores it into mybuf in RAM location. store nv (int rec_type, char *dscrpt, void *dataptr, long size); Stores information from user data area into structured non-vol.
Page 156
Primary Input Queue Management eost_pri (void); If non-zero returned, then last byte fetched from the primary queue had an end bit. Example: i,--eost_pri(); - returns a zero unless last byte fetched has end bit set. getchar_pri (void); This command gets an 8-bit character out of the primary queue. Example: i=getchar pri();...
Page 157
getchar_raw (void); This character gets a 16-bit character out of the secondary queue. Example: i=getchar_rawO; in stat (void); Returns the number of characters in the secondary input queue. Example: i=in_stat(); putchar_sec(int c); Puts a character into the secondary queue. Example: putchar_sec(i); vtl_getchar (void);...
Page 158
getvect(int interruptno); Retrieves a vector. Example: addr=getvect(26); restoreintlevel (uint old_level); ' Restores the interrrupt level. Example: restoreintlevel(i); setintlevel (uint new _level); * Sets interrupt level. Example: i=setintlevel(7); setvect (int interruptno, void (*isr) 0); Puts a vector into RAM location. example: setvect(26,myroutine); Output Management base (uint base_ value);...
Page 159
vtl_putchar (uint ch, uint end); * Puts a character into the output queue. Example: vtl_putchar(i,1); vtl_puts (char *s, uint end); * Puts a complete string into the output queue. Example: vtl_puts("myinfo",1); Timer Management delay (ulong microseconds); * This allows the user to set a delay in his program. This will insert a minimum delay of microseconds.
Page 160
Production Rules Describing 7064 Command Syntax. <cmdlist> => <cmd>+ / * A 7064 command list is 1 or more 7064 commands */ /* A 7064 command "is a" bit command "or a" byte command, ... */ <cmd>...
Page 162
<parsemode cmd> => _ _USR_ _ switch to user parser mode */ I _ _VT1_ _ / * switch to 7064 parser mode */ <func_name> => /* An arbitrarily-long, case-insensitive, C-style identifier */ <S-record> => /* A Motorola S-record. 7064 supports SO,S1,S2,S3,S8,S9 types <terminator>...
Page 163
• D e c i m a l [0-9]+ NOTES: general, the 7064 command parser accepts a 'free-format' syntax. That is, the placement of new lines and whitespace isn't critical. There are three exceptions: a. T h e "USR_SCANO:" command should appear alone on a terminated line.
Page 165
Users may download a named block of object code (encoded in Motorola S-record format) into the 7064 and later invoke that block of code as if making a C function call (just like any of the other built-in commands). Argument lists for user-supplied functions are not currently supported.
Page 166
One non-terminal symbol (in this case <cmdlist>) is "distinguished" in the sense that a string of terminal symbols is a valid 7064 command if there is some way to use the productions to "derive" that string from the distinguished non-terminal symbol (i.e. <cmdlist>) by replacing (in any number of steps) a non-terminal by any of the "or"...
Page 167
3.0 Sample Command Strings These are some examples of command strings that can be sent to the 7064 via the VXlbus word serial protocol. Note that the 7064 software recognizes and ignores C-style comments.
Page 168
After executing any 7064 input command, the 7064 makes */ /* the data read from the port available to be read by the controller */ cinbit(#b0111, 8, 0); outbit(2, 3, 1); More examples of numerical formats */ outportb(11, #q377);...
Page 169
APPENDIX C ERROR HANDLING Errors can be classified according to type and severity; they are denoted by unsigned integer values referred to as 'error descriptors'. S e e the error.h file for a complete description. The VT1 associates a message string with each error descriptor. This message string is a 'printf- style' format string, i.e.
Page 170
Interface to error handler: The error handler is passed the error descriptor and a pointer to a variable argument list containing additional 'printf paramaters, if any. The application-specific error handler can use the macros provided in error.h to analyze the error descriptor and take a p p r o p r i a t e action; it's also free to ignore additional 'printf' arguments, if any exist.
Page 171
DESCRIPTION: Package interface to run-time error module An error descriptor is an unsigned integer composed of 4 bit fields: field 1) Error severity field, 1 bit field 2) Error type field, 2 bits field 3) Line dump field, 1 bit field 4) Error number, all remaining bits (2^12 for 16-bit unsigned ints) The value of '0' is a reserved descriptor that denotes 'SUCCESS', i.e.
Page 172
#define E_SEVERITY_FSIZE /* field size * / #define E_SEVERITY_BITMASK ( l u << (E_NBITS-E_SEVERITY_FSIZE)) #define E_FATAL « (E_NBITS-E_SEVERITY_FSIZE)) Error types: The error type is encoded into a 2-bit field. #define E_TYPE_FSIZE 2 u field size */ #define E_TYPE_BITMASK / * 3 = 21\2 - 1: all bits in the field set to Is */ \ (3u «...
Page 173
VTX error descriptors: A block of 200 error numbers has been arbitrarily allocated to each type of error. NOTE! For backwards compatibility with old versions of VTX firmware: 1) Never delete an existing error descriptor. 2) Never redefine an existing error descriptor. 3) Always add new error descriptors to the end of the list.
Page 174
#define E_TRIG_LINE (400u I E_RUN I E_LINEDUMP) #define E_BASE VA L U E (401u I E_RUN I E_LINEDUMP) #define E_VECTORNUM (402u I E_RUN I E_LINEDUMP) #define E_VXIREG (403u I E_RUN I E_LINEDUMP) #define E_GLOBAL_SIZE (404u I E_RUN I E_LINEDUMP) #define E_HEAP_SIZE (405u I E_RUN I E_LINEDUMP) #define E_INQ_SIZE (406u I E_RUN I E_LINEDUMP)
Page 177
Racal Instruments REPAIR AND CALIBRATION REQUEST FORM To allow us to better understand your repair requests, we suggest you use the following outline when calling and include a copy with your instrument to be sent to the Racal Repair Facility.
Page 178
Support Offices Racal Instruments, Inc. 4 Goodyear Street Irvine, CA 92618-2002 Phone: 714-859-8999 800 RACAL-ATE 800-722-2528 FAX: 714-859-7139 Racal Instruments Ltd 480 Bath Road Slough, Berkshire SL1 6BE, England Phone: +44 (0) 1628 604455 FAX: + 4 4 (0) 1628 662017 Racal Systems Electronique s.a.
Page 179
Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...