
80C196KB USER’S GUIDE
16.6 Slave Programming Mode
Any number of 87C196KBs can be programmed by a
master programmer through the Slave Programming
Mode. There is no 87C196KB dependent limit to the
number of devices that can be programmed.
In this mode, the 87C196KB programs like a simple
EPROM device and responds to three different com-
mands: data program, data verify, and word dump. The
87C196KB uses Ports 3 and 4 and five other pins to
select commands, to transfer data and addresses, and to
provide handshaking. The two most significant bits on
Ports 3 and 4 specify the command and the lower 14
bits contain the address. The address ranges from
2000H-3FFFH and refers to internal memory space.
Figure 16-6 is a list of valid Programming Commands.
P4.7
P4.6
Action
0
0
Word Dump
0
1
Data Verify
1
0
Data Program
1
1
Reserved
Figure 16-6. Slave Programming
Mode Commands
The 87C196KB receives an input signal, PALE, to in-
dicate a valid command is present. PROG causes the
87C196KB to read in or output a data word. PVER
indicates if the programming was successful. AINC au-
tomatically increments the address for the Data Pro-
gram and Word Dump commands.
Data Program Command
A Data Program Command is illustrated in Figure 16-
7. Asserting PALE latches the command and address
on Ports 3 and 4. PROG is asserted to latch the data
present on Ports 3 and 4. PROG also starts the actual
programming sequence. The width of the PROG pulse
determines the programming pulse width. Note that the
PPW is not used in the Slave Programming Mode.
After the rising edge of PROG, the slaves automatically
verify the contents of the location just programmed.
PVER is asserted if the location programmed correctly.
This gives verification information to programmers
which can not use the Data Verify Command. The
AINC pin can increment to the next location or a new
Data Program Command can be issued.
270651 – 74
Figure 16-7. Data Program Command in Slave Mode
90
数控原理与维修
http://www.agreenleaf.cn
Содержание 80C196KB Series
Страница 1: ...November 1990 80C196KB User s Guide Order Number 270651 003 http www agreenleaf cn...
Страница 59: ...80C196KB USER S GUIDE Figure 11 7 Ideal A D Characteristic 270651 37 55 http www agreenleaf cn...
Страница 60: ...80C196KB USER S GUIDE Figure 11 8 Actual and Ideal Characteristics 270651 38 56 http www agreenleaf cn...
Страница 61: ...80C196KB USER S GUIDE Figure 11 9 Terminal Based Characteristic 270651 39 57 http www agreenleaf cn...
Страница 70: ...80C196KB USER S GUIDE Figure 13 5 Reset Sequence 80C196KB Reset Sequence 270651 45 66 http www agreenleaf cn...
Страница 83: ...80C196KB USER S GUIDE 270651 80 Figure 15 14 AC Timing Diagrams 79 http www agreenleaf cn...
Страница 84: ...80C196KB USER S GUIDE 270651 81 270651 84 Figure 15 14 AC Timing Diagrams Continued 80 http www agreenleaf cn...