Intel 8XC196MC Microscope & Magnifier User Manual


 
16-1
CHAPTER 16
PROGRAMMING THE NONVOLATILE MEMORY
The 87C196MC and 87C196MD contain 16 Kbytes of one-time-programmable read-only mem-
ory (OTPROM); the 87C196MH contains 32 Kbytes. OTPROM is similar to EPROM, but it
comes in an unwindowed package and cannot be erased. You can either program the OTPROM
yourself or have the factory program it as a quick-turn ROM product (this option may not be
available for all devices). This chapter provides procedures and guidelines to help you program
the device. The information is organized as follows.
overview of programming methods
OTPROM memory map (page 16-2)
security features (page 16-3)
programming pulse width (page 16-8)
modified quick-pulse algorithm (page 16-9)
programming mode pins (page 16-11)
entering programming modes (page 16-13)
slave programming (page 16-15)
auto programming (page 16-25)
PCCB and UPROM programming (8XC196MH only; page 16-30)
run-time programming (page 16-32)
16.1 PROGRAMMING METHODS
You can program the OTPROM by configuring a circuit that allows the device to enter a program-
ming mode. In programming modes, the device executes an algorithm that resides in the internal
test ROM.
Slave programming mode allows you to use an EPROM programmer as a master to
program several microcontrollers (the slaves). The code and data to be programmed into the
nonvolatile memory typically resides on a diskette. The EPROM programmer transfers the
code and data from the diskette to its memory, then manipulates the slave’s pins to define
the addresses to be programmed and the contents to be written to those addresses. Using this