Next: Test
Programs Up: No Title Previous:
Interconnect
Bus
The module supports the In-System
Re-Programming of CPLD's. The following steps are the programming procedure:
Disable all clocks to all
CPLD's. Cypress admits to a bug in the 374I CPLD in which the programming is
incorrect if the input clock is running. This means removing jumper J8 and the
input to A31. This also applies to the CPLD's not being programmed. For
instance, if you want to program CPLD # 2 only, Jumper J8 must be removed to
avoid corrupting CPLD # 1. All CPLDs are supplied with +12V when any CPLD is
programmed.
Insert the 10-pin ribbon connector from
the programmer into the blue 10-pin socket. The right orientation is
critical - check the key. The correct orientation is so that the key of
the cable is in the slot of the socket on the board. Pin 1 of the cable must
mate with Pin 1 of the connector as shown in Figure 5.
Select the proper jumper configuration
from the table below. A '1' means connected while a blank signifies 'open'.
Description |
C4 |
C3 |
C2 |
C1 |
J1 |
J2 |
J3 |
J4 |
J5 |
J6 |
J7 |
C1 only |
|
|
|
1 |
1 |
|
|
|
|
|
|
C2 only |
|
|
1 |
|
|
1 |
1 |
|
|
|
|
C3 only |
|
1 |
|
|
|
|
|
1 |
1 |
|
|
C4 only |
1 |
|
|
|
|
|
|
|
|
1 |
1 |
C1,C2 |
|
|
|
|
|
|
1 |
|
|
|
|
C1,C2,C3 |
|
|
|
|
|
|
|
|
1 |
|
|
C1,C2,C3,C4 |
1 |
1 |
1 |
1 |
|
|
|
|
|
|
1 |
Table
3: Jumper Selections
The program to use for the CPLD board in
the 6.111 kit is isr374. This program may be called with one to
eight arguments.
Another program, isrconf, can be used with an argument naming a Cypress
style configuration file. Information on Cypress style configuration files is
in the acco binder alongside of the CPLD programming computers in the digital
lab.
The arguments for isr374 determine the
number of CPLDs to be processed. The jumper configuration on the board
specifies both the number and which CPLDs are to be processed. This must agree
with the arguments you use for the command isr374.
See Table 3 for information on the
jumpers. Normally, there is a jumper installed in position 7 on the right of
the board and this specifies that all four of the CPLDs are used. To program
only one CPLD, the one on the right, one would use the command:
isr374
b b <filename> b
An argument may consist of a keyword or a
filename specifier. The filename specifier may or may not end in .jed but the
file must have a .jed suffix. Keywords are case independent and may be
abbreviated by their first letter. The keywords are erase, e, bypass, b, n, verify, v, program, and p. The keyword, n, is a synonym for bypass or b. It is used in Cypress style configuration
files. Both verify and program require a filename as the next argument. You may
omit the program keyword if you like. File names can either be absolute or
relative and, of course, cannot be equal to one of the above keywords or its
initial letter abbreviation.
The isr374 program will output the
configuration file it has generated from your arguments and also the following
instructions. Follow them.
Connect the ISR programmer (10 pin 3M) to
the board in your kit. Make sure the key is correct! Turn the kit DC power on.
Pull the switch on the board forward towards the front of the kit and check
that the red light is on. Ensure that no clocks are connected. The left hand
jumper should be removed and no wires plugged into A31.
Type a return to begin programming.
Push SW1 forward to enable the green LED
and to connect the clock(s) before using the CPLD.
Next: Test Programs Up:
No Title Previous: Interconnect Bus