Auto Programming Procedure - Intel 8XC196K Series User Manual

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL
If the security key verification is successful, the routine loads the programming pulse width
(PPW) value from the external EPROM into the internal PPW register. It then asserts PACT#, in-
dicating that programming has begun. (PACT# is also active during reset, although no program-
ming is in progress.) PVER is initially asserted and remains asserted unless an error is detected,
in which case it is deasserted.
The routine then reads the contents of the external EPROM, beginning at 4000H. It skips any
word that contains FFFFH (unprogrammed state). When it reads a word that contains any value
other than FFFFH, the routine calls the modified quick-pulse algorithm, which writes that value
to the OTPROM, using the appropriate number of pulses for the device, then verifies the result.
The routine repeats this activity until the entire OTPROM is programmed, then deasserts PACT#
and enters an endless loop. It takes approximately 40 seconds to program 16 Kbytes of OTPROM.

16.9.4 Auto Programming Procedure

If a glitch or reset occurs while programming the security key and lock bits, an unknown security
key might accidentally be written, rendering the device inaccessible for further programming. To
minimize this possibility, follow this recommended programming procedure.
All addresses are given for the circuit shown in Figure 16-12 on page 16-27. If
you choose a different circuit, you must adjust the addresses accordingly.
1.
Using a blank EPROM device, follow these steps to skip programming of CCB0 and
program the rest of the OTPROM array, including the security key.
— Place the programming pulse width (PPW) in external EPROM locations 14H–15H.
— Leave the external CCB0 location (4018H) unprogrammed (0FFFFH).
— Place the appropriate CCB1 value at external location 401AH.
— Place the security key to be programmed in external EPROM locations 4020H–402FH.
— Place the value 20H in external EPROM locations 4019H and 401BH (for the reserved
OTPROM locations that require this value).
— Place the desired code in the remaining external EPROM locations 4000H and above
(see Table 16-11 on page 16-28).
— Execute the power-up sequence (page 16-15) to initiate auto programming.
— When programming is complete, execute the powerdown sequence (page 16-15) before
continuing to step 2.
16-30
NOTE

Advertisement

Table of Contents
loading

Table of Contents