14-1
CHAPTER 14
PROGRAMMING AND VERIFYING
NONVOLATILE MEMORY
This chapter provides instructions for programming and verifying on-chip nonvolatile memory
on the 8XC251Sx. The programming instructions cover the entry of program code into on-chip
code memory, configuration information into the on-chip configuration bytes, and other catego-
ries of information into on-chip memory outside the memory address space. The verify instruc-
tions permit reading these memory locations to verify their contents. The operations covered in
this chapter are:
•
programming and verifying the on-chip code memory
(8 Kbytes, 16 Kbytes)
•
programming and verifying the on-chip configuration bytes
(8 bytes)
•
programming and verifying the lock bits
(3 bits)
•
programming the encryption array
(128 bytes)
•
verifying the signature bytes
(3 bytes)
Programming instructions apply to the 87C251Sx (one-time programmable ROM (OTPROM)
and erasable programmable ROM (EPROM)). Verify instructions apply to the 87C251Sx, the
83C251Sx (mask ROM), and the configuration bytes on the 80C251SB, SQ (no ROM/OTPROM/
EPROM). In the unprogrammed state, EPROM and OTPROM contains all 1s.
14.1 GENERAL
The 87C251Sx is programmed and verified in the same manner as the 87C51FX, using the same
quick-pulse programming algorithm, which programs at V
PP
= 12.75 V using a series of five
100-µs PROG# pulses per byte. This results in a programming time of approximately 16 seconds
for the 16-Kbyte on-chip code memory.
Programming and verifying operations differ from normal microcontroller operation. Memory
accesses are made one byte at a time, input/output ports are used in a different manner, and the
EA#/V
PP
and ALE/PROG# pins are used for their alternative (programming) functions. For a
complete list of signal descriptions, see Appendix B.
Содержание 8XC251SA
Страница 2: ......
Страница 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Страница 18: ......
Страница 19: ...1 Guide to This Manual...
Страница 20: ......
Страница 30: ......
Страница 31: ...2 Architectural Overview...
Страница 32: ......
Страница 41: ...3 Address Spaces...
Страница 42: ......
Страница 63: ...4 Device Configuration...
Страница 64: ......
Страница 81: ...5 Programming...
Страница 82: ......
Страница 102: ......
Страница 103: ...6 Interrupt System...
Страница 104: ......
Страница 120: ......
Страница 121: ...7 Input Output Ports...
Страница 122: ......
Страница 132: ......
Страница 133: ...8 Timer Counters and Watchdog Timer...
Страница 134: ......
Страница 153: ...9 Programmable Counter Array...
Страница 154: ......
Страница 170: ......
Страница 171: ...10 Serial I O Port...
Страница 172: ......
Страница 187: ...11 Minimum Hardware Setup...
Страница 188: ......
Страница 197: ...12 Special Operating Modes...
Страница 198: ......
Страница 206: ......
Страница 207: ...13 External Memory Interface...
Страница 208: ......
Страница 239: ...14 Programming and Verifying Nonvolatile Memory...
Страница 240: ......
Страница 250: ......
Страница 251: ...A Instruction Set Reference...
Страница 252: ......
Страница 390: ......
Страница 391: ...B Signal Descriptions...
Страница 392: ......
Страница 400: ......
Страница 401: ...C Registers...
Страница 402: ......
Страница 436: ......
Страница 437: ...Glossary...
Страница 438: ......
Страница 446: ......
Страница 447: ...Index...
Страница 448: ......
Страница 458: ......