st62t18c STMicroelectronics, st62t18c Datasheet - Page 9

no-image

st62t18c

Manufacturer Part Number
st62t18c
Description
8-bit Mcus With A/d Converter, Auto-reload Timer, Uart, Osg, Safe Reset And 20-pin Package
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st62t18c3
Manufacturer:
ST
0
Part Number:
st62t18c6
Manufacturer:
ST
0
Part Number:
st62t18cB6
Manufacturer:
ST
0
Part Number:
st62t18cM6
Manufacturer:
ST
0
MEMORY MAP (Cont’d)
Table 1. ST62E18C/T18C Program Memory Map
Note: OTP/EPROM devices can be programmed
with the development tools available from STMicro-
electronics (ST62E2XC-EPB or ST622XC-KIT).
1.3.2.1 Program ROM Page Register (PRPR)
The PRPR register can be addressed like a RAM
location in the Data Space at the address CAh;
nevertheless it is a write only register that cannot
be accessed with single-bit operations. This regis-
ter is used to select the 2-Kbyte ROM bank of the
Program Space that will be addressed. The
number of the page has to be loaded in the PRPR
register. Refer to the Program Space description
for additional information concerning the use of
this register. The PRPR register is not modified
when an interrupt or a subroutine occurs.
Care is required when handling the PRPR register
as it is write only. For this reason, it is not allowed
to change the PRPR contents while executing in-
terrupt service routine, as the service routine
cannot save and then restore its previous content.
This operation may be necessary if common rou-
tines and interrupt service routines take more than
2K bytes; in this case it could be necessary to di-
vide the interrupt service routine into a (minor) part
in the static page (start and end) and to a second
(major) part in one of the dynamic pages. If it is im-
possible to avoid the writing of this register in inter-
rupt service routines, an image of this register
must be saved in a RAM location, and each time
the program writes to the PRPR it must write also
to the image register. The image register must be
written before PRPR, so if an interrupt occurs be-
tween the two instructions the PRPR is not af-
fected.
ROM Page
Page 0
Page 1
“STATIC”
Page 2
Page 3
Device Address
0FFCh-0FFDh
0FF8h-0FFBh
0FFEh-0FFFh
0FA0h-0FEFh
0080h-07FFh
0800h-0F9Fh
0FF0h-0FF7h
0010h-07FFh
0010h-07FFh
0000h-007Fh
0000h-000Fh
0000h-000Fh
Interrupt Vectors
Reset Vector
Description
NMI Vector
User ROM
User ROM
User ROM
User ROM
Reserved
Reserved
Reserved
Reserved
Reserved
Program ROM Page Register (PRPR)
Address: CAh — Write Only
Bits 2-7= Not used.
Bit 5-0 = PRPR1-PRPR0: Program ROM Select.
These two bits select the corresponding page to
be addressed in the lower part of the 4K program
address space as specified in Table 2.
This register is undefined on Reset. Neither read
nor single bit instructions may be used to address
this register.
Table 2. 6Kbytes Program ROM Page Register
1.3.2.2 Program Memory Protection
The Program Memory in OTP or EPROM devices
can be protected against external readout of mem-
ory by selecting the READOUT PROTECTION op-
tion in the option byte.
In the EPROM parts, READOUT PROTECTION
option can be disactivated only by U.V. erasure
that also results into the whole EPROM context
erasure.
Note: Once the Readout Protection is activated, it
is no longer possible, even for STMicroelectronics,
to gain access to the Program memory contents.
Returned parts with a protection set can therefore
not be accepted.
PRPR1
7
-
X
0
0
1
1
-
Coding
PRPR0
-
X
0
1
0
1
-
PC bit 11
1
0
0
0
0
-
ST62T18C/E18C
Static Page (Page 1)
Page 0
Page 1 (Static Page)
Page 2
Page 3
-
Memory Page
PRPR1 PRPR0
0
9/82
9

Related parts for st62t18c