Datasheet

33
A/T89C51CC01
4129N–CAN–03/08
Program/Code
Memory
The T89C51CC01 implement 32K Bytes of on-chip program/code memory. Figure 17
shows the partitioning of internal and external program/code memory spaces depending
on the product.
The Flash memory increases EPROM and ROM functionality by in-circuit electrical era-
sure and programming. Thanks to the internal charge pump, the high voltage needed for
programming or erasing Flash cells is generated on-chip using the standard VDD volt-
age. Thus, the Flash Memory can be programmed using only one voltage and allows In-
System-Programming commonly known as ISP. Hardware programming mode is also
available using specific programming tool.
Figure 17. Program/Code Memory Organization
Notes: 1. If the program executes exclusively from on-chip code memory (not from external
memory), beware of executing code from the upper byte of on-chip memory (7FFFh)
and thereby disrupt I/O Ports 0 and 2 due to external prefetch. Fetching code con-
stant from this location does not affect Ports 0 and 2.
2. Default factory programmed parts come with maximum hardware protection. Execu-
tion from external memory is not possible unless the Hardware Security Byte is
reprogrammed. See Table 27.
0000h
32K Bytes
7FFFh
internal
0000h
7FFFh
FFFFh
8000h
Flash
32K Bytes
external
memory
32K Bytes
external
memory
EA = 0
EA = 1