DS2252T [DALLAS]

Secure Microcontroller Module; 安全微控制器模块
DS2252T
型号: DS2252T
厂家: DALLAS SEMICONDUCTOR    DALLAS SEMICONDUCTOR
描述:

Secure Microcontroller Module
安全微控制器模块

微控制器
文件: 总15页 (文件大小:259K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
DS2252T  
Secure Microcontroller Module  
www.dalsemi.com  
FEATURES  
8051-compatible microcontroller for  
secure/sensitive applications  
PACKAGE OUTLINE  
-
32, 64, or 128 kbytes of nonvolatile  
SRAM for program and/or data storage  
In-system programming via on-chip  
serial port  
1
20  
21  
40  
-
40-Pin SIMM  
-
Capable of modifying its own program or  
data memory in the end system  
Firmware security features:  
-
-
-
-
-
Memory stored in encrypted form  
Encryption using on-chip 64-bit key  
Automatic true random key generator  
SDI (Self-Destruct Input)  
Improved security over previous  
generations  
-
Protects memory contents from piracy  
Crashproof operation  
-
Maintains all nonvolatile resources for  
over 10 years in the absence of power  
-
-
-
-
Power-fail Reset  
Early Warning Power-fail Interrupt  
Watchdog Timer  
Precision reference for power monitor  
Fully 8051-compatible  
-
-
-
-
128 bytes scratchpad RAM  
Two timer/counters  
On-chip serial port  
32 parallel I/O port pins  
Permanently powered real time clock  
DESCRIPTION  
The DS2252T Secure Microcontroller Module is an 8051-compatible microcontroller based on  
nonvolatile RAM technology. It is designed for systems that need to protect memory contents from  
disclosure. This includes key data, sensitive algorithms, and proprietary information of all types. Like  
other members of the Secure Microcontroller family, it provides full compatibility with the 8051  
instruction set, timers, serial port, and parallel I/O ports. By using NV RAM instead of ROM, the user can  
program, then reprogram the microcontroller while in-system. This allows frequent changing of sensitive  
processes with minimal effort. The DS2252T provides an array of mechanisms to prevent an attacker  
from examining the memory. It is designed to resist all levels of threat including observation, analysis,  
and physical attack. As a result, a massive effort would be required to obtain any information about  
1 of 15  
011800  
DS2252T  
memory contents. Furthermore, the “Soft” nature of the DS2252T allows frequent modification of secure  
information. This minimizes that value of any information that is obtained.  
Using a security system based on the DS5002FP, the DS2252T protects the memory contents from  
disclosure. It loads program memory via its serial port and encrypts it in real time prior to storing it in  
SRAM. Once encrypted, the RAM contents and the program flow are unintelligible. The real data exists  
only inside the processor chip after being decrypted. Any attempt to discover the on-chip data, encryption  
keys, etc., results in its destruction. Extensive use of nonvolatile lithium-backed technology creates a  
microcontroller that retains data for over 10 years at room temperature, but which can be erased instantly  
if tampered with. The DS2252T even interfaces directly to external tamper protection hardware.  
The DS2252T provides a permanently powered real time lock with interrupts for time stamp and date. It  
keeps time to one hundredth of a second using its onboard 32 kHz crystal.  
Like other Secure Microcontrollers in the family, the DS2252T provides crashproof operation in portable  
systems or systems with unreliable power. These features include the ability to save the operating state,  
Power-fail Reset, Power-fail Interrupt, and Watchdog Timer. All nonvolatile memory and resources are  
maintained for over 10 years at room temperature in the absence of power.  
A user loads programs into the DS2252T via its on-chip Serial Bootstrap Loader. This function  
supervises the loading of software into NV RAM, validates it, then becomes transparent to the user. It  
also manages the loading of new encryption keys automatically. Software is stored in onboard CMOS  
SRAM. Using its internal Partitioning, the DS2252T can divide a common RAM into user selectable  
program and data segments. This Partition can be selected at program loading time, but can be modified  
anytime later. The microcontroller will decode memory access to the SRAM, access memory via its Byte-  
wide bus and write-protect the memory portion designated as program (ROM).  
A detailed summary of the security features is provided in the User’s Guide section of the Secure  
Microcontroller data book. An overview is also available in the DS5002FP data sheet.  
2 of 15  
DS2252T  
DS2252T BLOCK DIAGRAM Figure 1  
3 of 15  
DS2252T  
PIN ASSIGNMENT  
1
2
3
4
5
6
7
8
9
P1.0  
11 P1.5  
12 P0.4  
13 P1.6  
14 P0.5  
15 P1.7  
16 P0.6  
17 RST  
18 P0.7  
19 P3.0 RXD  
20 SDI  
21 P3.1 TXD  
22 ALE  
31  
32 P2.4  
33  
P3.6 WR  
VCC  
P1.1  
P0.0  
P1.2  
P0.1  
P1.3  
P0.2  
P1.4  
23  
24  
25  
P3.2 INT0  
PROG  
P3.7 RD  
34 P2.3  
35 XTAL2  
36 P2.2  
P3.3 INT1  
26 P2.7  
27 P3.4 T0  
28 P2.6  
37 XTAL1  
38 P2.1  
29 P3.5 T1  
30 P2.5  
39 GND  
40 P2.0  
10 P0.3  
PIN DESCRIPTION  
PIN  
DESCRIPTION  
4, 6, 8, 10, P0.0 - P0.7. General purpose I/O Port 0. This port is open-drain and can not drive a logic  
12, 14, 16, 1. It requires external pullups. Port 0 is also the multiplexed Expanded Address/Data bus.  
18  
When used in this mode, it does not require pullups.  
1, 3, 5, 7,  
9, 11, 13, P1.0 - P1.7. General purpose I/O Port 1.  
15  
40, 38, 36,  
34, 32, 30,  
Address bus.  
28, 26  
P2.0 - P2.7. General purpose I/O Port 2. Also serves as the MSB of the Expanded  
P3.0 RXD. General purpose I/O port pin 3.0. Also serves as the receive signal for the on  
board UART. This pin should NOT be connected directly to a PC COM port.  
19  
P3.1 TXD. General purpose I/O port pin 3.1. Also serves as the transmit signal for the on  
board UART. This pin should NOT be connected directly to a PC COM port.  
21  
P3.2 INT0 . General purpose I/O port pin 3.2. Also serves as the active low External  
23  
Interrupt 0. This pin is also connected to the INTP output of the DS1283 Real Time  
Clock.  
P3.3 INT1 . General purpose I/O port pin 3.3. Also serves as the active low External  
Interrupt 1.  
25  
27  
29  
P3.4 T0. General purpose I/O port pin 3.4. Also serves as the Timer 0 input.  
P3.5 T1. General purpose I/O port pin 3.5. Also serves as the Timer 1 input.  
P3.6 WR . General purpose I/O port pin. Also serves as the write strobe for Expanded bus  
operation.  
31  
33  
P3.7 RD . General purpose I/O port pin. Also serves as the read strobe for Expanded bus  
operation.  
RST - Active high reset input. A logic 1 applied to this pin will activate a reset state. This  
pin is pulled down internally, can be left unconnected if not used. An RC power-on reset  
circuit is not needed and is NOT recommended.  
17  
4 of 15  
DS2252T  
PIN  
DESCRIPTION  
ALE - Address Latch Enable. Used to de-multiplex the multiplexed Expanded  
Address/Data bus on Port 0. This pin is normally connected to the clock input on a ’373  
type transparent latch.  
22  
XTAL2, XTAL1. Used to connect an external crystal to the internal oscillator. XTAL1 is  
the input to an inverting amplifier and XTAL2 is the output.  
35, 37  
39  
2
GND - Logic ground.  
VCC - +5V.  
PROG - Invokes the Bootstrap loader on a falling edge. This signal should be debounced  
so that only one edge is detected. If connected to ground, the microcontroller will enter  
Bootstrap loading on power up. This signal is pulled up internally.  
24  
20  
SDI – Self-Destruct Input. A logic 1 applied to this input causes a hardware unlock. This  
involves the destruction of Encryption Keys, Vector RAM, and the momentary removal of  
power from VCCO. This pin should be grounded if not used.  
INSTRUCTION SET  
The DS2252T executes an instruction set that is object code-compatible with the industry standard 8051  
microcontroller. As a result, software development packages such as assemblers and compilers that have  
been written for the 8051 are compatible with the DS2252T. A complete description of the instruction set  
and operation are provided in the User’s Guide section of the Secure Microcontroller Data Book.  
MEMORY ORGANIZATION  
Figure 2 illustrates the memory map accessed by the DS2252T. The entire 64k of program and 64k of  
data are available to the Byte-wide bus. This preserves the I/O ports for application use. An alternate  
configuration allows dynamic Partitioning of a 64k space as shown in Figure 3. Any data area not mapped  
into the NV RAM is reached via the Expanded bus on Ports 0 and 2. Off-board program memory is not  
available for security reasons. Selecting PES=1 provides access to the Real Time Clock as shown in  
Figure 4. These selections are made using Special Function Registers. The memory map and its controls  
are covered in detail in the User’s Guide section of the Secure Microcontroller Data Book.  
5 of 15  
DS2252T  
DS2252T MEMORY MAP IN NON-PARTITIONABLE MODE (PM=1) Figure 2  
PROGRAM MEMORY  
DATA MEMORY (MOVX)  
FFFFh --  
-- 64K  
NV RAM  
DATA  
NV RAM  
PROGRAM  
0000h --  
DS2252T MEMORY MAP IN PARTITIONABLE (PM=0) Figure 3  
PROGRAM MEMORY  
DATA MEMORY (MOVX)  
FFFFh --  
NV RAM  
DATA  
PARTITION  
NV RAM  
PROGRAM  
0000h --  
NOTE: PARTITIONABLE MODE IS NOT SUPPORTED ON THE 128KB VERSION OF THE DS2252T.  
LEGEND:  
= NV RAM MEMORY  
= NOT AVAILABLE  
= EXPANDED BUS (PORTS 0 AND 2)  
6 of 15  
DS2252T  
DS2252T MEMORY MAP WITH (PES=1) Figure 4  
PROGRAM MEMORY  
DATA MEMORY (MOVX)  
FFFFh --  
-- 64K  
C000h --  
PARTITION  
B000h --  
4000h --  
NV RAM  
PROGRAM  
-- 16K  
REAL-TIME  
CLOCK  
0000h --  
= NOT ACCESSIBLE  
POWER MANAGEMENT  
The DS2252T monitors VCC to provide Power-fail Reset, early warning Power-fail Interrupt, and switch-  
over to lithium backup. It uses an internal band-gap reference in determining the switch points. These are  
called VPFW, VCCMIN, and VLI respectively. When VCC drops below VPFW, the DS2252T will perform an  
interrupt vector to location 2Bh if the power-fail warning is enabled. Full processor operation continues  
regardless. When power falls further to VCCMIN, the DS2252T invokes a reset state. No further code  
execution will be performed unless power rises back above VCCMIN. All decoded chip enables and the  
R/ W signal go to an inactive (logic 1) state. VCC is still the power source at this time. When VCC drops  
further to below VLI, internal circuitry will switch to the built-in lithium cell for power. The majority of  
internal circuits will be disabled and the remaining nonvolatile states will be retained. The User’s Guide  
has more information on this topic. The trip points VCCMIN and VPFW are listed in the electrical  
specifications.  
7 of 15  
DS2252T  
ABSOLUTE MAXIMUM RATINGS*  
Voltage on Any Pin Relative to Ground  
Voltage on VCC Relative to Ground  
Operating Temperature2  
-0.3V to (VCC + 0.5V)  
-0.3V to +6.0V  
-40°C to +85°C  
Storage Temperature  
Soldering Temperature  
-55°C to +125°C  
260°C for 10 seconds  
1
This is a stress rating only and functional operation of the device at these or any other conditions above  
those indicated in the operation sections of this specification is not implied. Exposure to absolute  
maximum rating conditions for extended periods of time may affect reliability.  
2
Storage temperature is defined as the temperature of the device when VCC=0V and VLI=0V. In this  
state the contents of SRAM are not battery-backed and are undefined.  
DC CHARACTERISTICS  
(tA=0°C to 70°C; VCC=5V ± 10%)  
PARAMETER  
SYMBOL MIN TYP  
MAX  
UNITS NOTES  
Input Low Voltage  
VIL  
VIH1  
VIH2  
-0.3  
2.0  
3.5  
+0.8  
V
V
V
1
1
1
Input High Voltage  
VCC+0.3  
VCC+0.3  
Input High Voltage (RST, XTAL1, PROG )  
Output Low Voltage  
@ IOL=1.6 mA (Ports 1, 2, 3)  
VOL1  
VOL2  
VOH1  
VOH2  
IIL  
0.15  
0.15  
4.8  
0.45  
0.45  
V
V
1
1
1
1
Output Low Voltage  
@ IOL=3.2 mA (Ports 0, ALE)  
Output High Voltage  
@ IOH= -80 µA (Ports 1, 2, 3)  
2.4  
2.4  
V
Output High Voltage  
@ IOH=-400 µA (Ports 0, ALE)  
4.8  
V
Input Low Current VIN = 0.45V  
(Ports 1, 2, 3)  
-50  
-500  
±10  
µA  
µA  
µA  
Transition Current; 1 to 0  
VIN = 2.0V (Ports 1, 2, 3)  
ITL  
Input Leakage Current  
0.45 < VIN < VCC (Port 0)  
IIL  
RST Pulldown Resistor  
Power Fail Warning Voltage  
Minimum Operating Voltage  
Operating Current @ 16 MHz  
Idle Mode Current @ 12 MHz  
Stop Mode Current  
RRE  
VPRW  
VCCMIN  
ICC  
40  
150  
4.50  
4.25  
45  
kΩ  
V
4.25 4.37  
4.00 4.12  
1
1
4
5
6
7
V
mA  
mA  
µA  
pF  
IIDLE  
ISTOP  
CIN  
7.0  
80  
Pin Capacitance  
10  
8 of 15  
DS2252T  
DC CHARACTERISTICS (continued)  
(tA=0°C to 70°C; VCC=5V ± 10%)  
Reset Trip Point in Stop Mode  
w/BAT=3.0V  
w/BAT=3.3V  
4.0  
4.4  
4.25  
4.65  
V
1
SDI Input High Voltage  
SDI Input High Voltage  
SDI PullDown Resistor  
VIHS  
VIHS  
RSDI  
2.0  
2.0  
25  
VCC  
3.5  
60  
V
V
1, 2  
1, 2  
kΩ  
AC CHARACTERISTICS  
(tA=0°C to 70°C; VCC=0V to 5V)  
PARAMETER  
SYMBOL MIN TYP  
MAX  
UNITS NOTES  
SDI Pulse Reject  
(4.5V < VCC < 5.5V)  
(VCC=0V, VBAT=2.9V)  
tSPR  
2
4
10  
10  
µs  
µs  
SDI Pulse Accept  
(4.5V < VCC < 5.5V)  
(VCC=0V, VBAT=2.9V)  
tSPA  
10  
50  
9 of 15  
DS2252T  
AC CHARACTERISTICS: EXPANDED  
BUS MODE TIMING SPECIFICATIONS  
(tA=0°C to70°C; VCC=5V ± 10%)  
#
PARAMETER  
SYMBOL  
MIN  
MAX  
UNITS  
MHz  
ns  
1
Oscillator Frequency  
ALE Pulse Width  
1/tCLK  
1.0  
16 (-16)  
2
tALPW  
2tCLK -40  
tCLK -40  
tCLK -35  
6tCLK -100  
6tCLK -100  
3
Address Valid to ALE Low  
Address Hold After ALE Low  
RD Pulse Width  
tAVALL  
tAVAAV  
tRDPW  
ns  
4
ns  
14  
15  
ns  
tWRPW  
ns  
WR Pulse Width  
5tCLK -165  
5tCLK -105  
ns  
ns  
RD Low to Valid Data In  
@ 12 MHz  
@ 16 MHz  
16  
tRDLDV  
17  
18  
tRDHDV  
tRDHDZ  
0
ns  
ns  
Data Hold after RD High  
Data Float after RD High  
ALE Low to Valid Data In  
2tCLK -70  
@ 12 MHz  
@ 16 MHz  
8CLK -150  
8tCLK -90  
ns  
ns  
19  
20  
tALLVD  
tAVDV  
Valid Addr. to Valid Data In  
@ 12 MHz  
@ 16 MHz  
9tCLK -165  
9tCLK -105  
ns  
ns  
21  
22  
23  
tALLRDL  
tAVRDL  
tDVWRL  
3tCLK -50  
4tCLK -130  
tCLK -60  
3tCLK +50  
ns  
ns  
ns  
ALE Low to RD or WR Low  
Address Valid to RD or WR Low  
Data Valid to WR Going Low  
7tCLK -150  
7tCLK -90  
ns  
ns  
Data Valid to WR High  
@ 12 MHz  
@ 16 MHz  
24  
tDVWRH  
25  
26  
27  
tWRHDV  
tRDLAZ  
tCLK -50  
ns  
ns  
ns  
Data Valid after WR High  
RD Low to Address Float  
RD or WR High to ALE High  
0
tRDHALH  
tCLK -40  
tCLK +50  
EXPANDED DATA MEMORY READ CYCLE  
10 of 15  
DS2252T  
EXPANDED DATA MEMORY WRITE CYCLE  
AC CHARACTERISTICS (continued)  
EXTERNAL CLOCK DRIVE  
(tA=0°C to70°C; VCC=5V ± 10%)  
#
PARAMETER  
SYMBOL  
MIN  
MAX  
UNITS  
External Clock High Time  
@ 12 MHz  
@ 16 MHz  
20  
15  
ns  
ns  
28  
tCLKHPW  
External Clock Low Time  
External Clock Rise Time  
External Clock Fall Time  
@ 12 MHz  
@ 16 MHz  
20  
15  
ns  
ns  
29  
30  
31  
tCLKLPW  
tCLKR  
@ 12 MHz  
@ 16 MHz  
20  
15  
ns  
ns  
@ 12 MHz  
@ 16 MHz  
20  
15  
ns  
ns  
tCLKF  
EXTERNAL CLOCK TIMING  
11 of 15  
DS2252T  
AC CHARACTERISTICS (continued)  
POWER CYCLING TIMING  
(tA=0°C to70°C; VCC=5V ± 10%)  
#
PARAMETER  
SYMBOL  
MIN  
MAX  
UNITS  
32 Slew Rate from VCCMIN to 3.3V  
33 Crystal Start-up Time  
tF  
130  
µs  
tCSU  
tPOR  
(note 8)  
21504  
34 Power-On Reset Delay  
tCLK  
POWER CYCLE TIMING  
AC CHARACTERISTICS (cont'd)  
SERIAL PORT TIMING - MODE 0  
(tA=0°C to70°C; VCC=5V ± 10%)  
#
PARAMETER  
SYMBOL  
MIN  
MAX  
UNITS  
35 Serial Port Clock Cycle Time  
tSPCLK  
12tCLK  
µs  
36 Output Data Setup to Rising Clock Edge  
37 Output Data Hold after Rising Clock Edge  
38 Clock Rising Edge to Input Data Valid  
39 Input Data Hold after Rising Clock Edge  
tDOCH  
10tCLK -133  
2tCLK -117  
ns  
tCHDO  
ns  
tCHDV  
10tCLK -133  
ns  
tCHDIV  
0
ns  
12 of 15  
DS2252T  
SERIAL PORT TIMING - MODE 0  
NOTES:  
1. All voltage referenced to ground.  
2. SDI should be taken to a logic high when VCC=+5V, and to approximately 3V when VCC<3V.  
3. SDI is deglitched to prevent accidental destruction. The pulse must be longer than tSPR to pass the  
deglitcher, but SDI is not guaranteed unless it is longer than tSPA  
.
4. Maximum operating ICC is measured with all output pins disconnected; XTAL1 driven with tCLKR  
tCLKF=10 ns, VIL = 0.5V; XTAL2 disconnected; RST = PORT0 = VCC.  
,
5. Idle mode IIDLE is measured with all output pins disconnected; XTAL1 driven with tCLKR, tCLKF= 10  
ns, VIL = 0.5V; XTAL2 disconnected; PORT0 = VCC, RST = VSS.  
6. Stop mode ISTOP is measured with all output pins disconnected; PORT0 = VCC; XTAL2 not  
connected; RST = XTAL1 = VSS.  
7. Pin capacitance is measured with a test frequency - 1 MHz, tA= 25°C.  
8. Crystal start-up time is the time required to get the mass of the crystal into vibrational motion from  
the time that power is first applied to the circuit until the first clock pulse is produced by the on-chip  
oscillator. The user should check with the crystal vendor for a worst case specification on this time.  
13 of 15  
DS2252T  
PACKAGE DRAWING  
PKG  
DIM  
A
INCHES  
MIN  
MAX  
2.655  
2.389  
1.005  
0.405  
0.255  
2.645  
2.379  
0.995  
0.395  
0.245  
B
C
D
E
F
0.050 BSC  
G
H
0.075  
0.245  
0.085  
0.255  
I
0.950 BSC  
J
0.120  
1.320  
1.445  
0.057  
-
0.130  
1.330  
1.455  
0.067  
0.300  
0.165  
0.054  
K
L
M
N
O
P
-
0.047  
14 of 15  
DATA SHEET REVISION SUMMARY  
The following represent the key differences between 12/13/95 and 08/16/96 version of the DS2252T data  
sheet. Please review this summary carefully.  
1. Change VCC slew rate specification to reference 3.3V instead of VLI.  
2. Add minimum value to PCB thickness.  
The following represent the key differences between 08/16/96 and 05/28/97 version of the DS2252T data  
sheet. Please review this summary carefully.  
1. AC characteristics for battery-backed SDI pulse specification added.  
The following represent the key differences between 05/28/97 and 11/08/99 version of the DS2252T data  
sheet. Please review this summary carefully. (PCN I80903)  
1. Correct Absolute Maximum Ratings to reflect changes to DS5002FP microprocessor.  
2. Add note clarifying that SRAM contents are not defined under storage temperature conditions.  
The following represent the key differences between 11/08/99 and 01/18/00 version of the DS2252T data  
sheet. Please review this summary carefully.  
1. Datasheet conversion from Interleaf to Word.  
15 of 15  

相关型号:

DS2252T-128-12

Microcontroller, 8-Bit, 8051 CPU, 12MHz, CMOS
MAXIM

DS2252T-128-12

Microcontroller, 8-Bit, 8051 CPU, 12MHz, CMOS,
DALLAS

DS2252T-128-16

Secure Microcontroller Module
DALLAS

DS2252T-128-16#

Microcontroller, 8-Bit, 16MHz, CMOS, ROHS COMPLIANT, SIMM-40
MAXIM

DS2252T-32-12

Microcontroller, 8-Bit, 8051 CPU, 12MHz, CMOS
MAXIM

DS2252T-32-16

Secure Microcontroller Module
DALLAS

DS2252T-32-16

Microcontroller, 8-Bit, 8051 CPU, 16MHz, CMOS, SIMM-40
MAXIM

DS2252T-32-16#

Microcontroller, 8-Bit, 16MHz, CMOS
MAXIM

DS2252T-64-12

Microcontroller, 8-Bit, 8051 CPU, 12MHz, CMOS
MAXIM

DS2252T-64-12

Microcontroller, 8-Bit, 8051 CPU, 12MHz, CMOS,
DALLAS

DS2252T-64-16

Secure Microcontroller Module
DALLAS

DS2252T-64-16#

Microcontroller, 8-Bit, 16MHz, CMOS, ROHS COMPLIANT, SIMM-40
MAXIM