ecifications known as errata. Multiple
revisions of any device may be simultaneously available through various sales channels. For information about DS5240 device
查询DS5240供应商
An NDA is required for full disclosure of details. Contact factory.
High-Speed Secure Microcontroller
FEATURES
§ Security features
− Designed to meet the physical security requirements
of FIPS140 and Common Criteria certifications
− Fine-line, top-level metal pattern detects intrusion of
the chip’s cryptographic boundary
− Additional on-chip sensor s detect out-of-range
environmental conditions that generate a tamper
response
− The equipment enclosure can be monitored by
tamper response inputs for added protection
− Fast write SRAM technology causes rapid
“zeroization” of secure information as a tamper
response
− Eavesdropping on the external memory bus
prevented by single or triple-DES encryption of the
programs
− Internal chip clock isolated from external system
clock by phase-locked loop
− Asynchronous internal ring oscillator provides clock
for arithmetic operations
− Resources inside cryptographic boundary include:
− Modulo Arithmetic Accelerator (MAA) for up to
4096-bit (e.g., PKI)
− DES and 112-bit key triple-DES engines
available for secret key cryptography
− Random number generator
− Memory Management Unit and 1kB cache
− Firmware bootstrap loader resides in a 16kB
factory-programmed ROM
§ 8051 compatible with expanded addressing
− Linear address space directly accesses up to 8MB
of external memory
− Dedicated memory and parallel I/O bus saves port
pins
§ Advanced features
− CRC-16/32 generator provides strong error
− True-time clock with alarm interrupt and wake -up
− 5kB internal SRAM with 1kB that can be allocated
− Programmable length MOVX instructions allow a
− On-chip power detection/selection circuits provide
− Watchdog timer
§ Proven 4-clock/machine cycle architecture
− Single-cycle instruction executes in 160ns
− Runs up to 25MHz clock rates
− Dual data pointers can increment or decrement
− Automatic data pointer selection available
− Four 8-bit ports, one 6-bit port
detection of memory contents
to a stack for high-level language support
combination of fast and slow devices
power-up/down processor reset and early-warning
power-fail interrupt
independently
81
DS5240
(Top View)
100
100-pin QFP
DS5240
(Top View)
50
80
1
80-pin QFP
Some revisions of this device may incorporate deviations from published sp
errata, contact the factory.
1 of 3 041802
An NDA is required for full disclosure of details. Contact factory. DS5240
DESCRIPTION
The DS5240 is a high-speed 8051 compatible security processor with b uilt-in system features designed to
meet the stringent FIPS-140 and Common Criteria validations required by banking regulations
worldwide. Based on Dallas Semiconductor’s battery-backed technology and fast-erase SRAM design,
the DS5240 supports rapid “zeroization” of secure information as a tamper response. Security-related
features included on-chip are a fine-line top-level metal grid to protect underlying circuitry from
tampering, a Modulo Arithmetic Accelerator (MAA) using words up to 4096-bits in length for
calculations including Public Key Infrastructure (PKI), a random number generator for key creation,
multiple on-chip environmental sensors to detect out -of-range conditions and generate a tamper response,
and a user-available DES engine for arbitrary data encryption. The user DES engine supports both single
and triple-DES (3DES) cryptographic operations. Other on-chip features include a true-time clock with
alarm interrupt/wake-up capability, a CRC -16/32 generator, a phase-locked loop (PLL) to simplify crystal
selection and to isolate internal chip clocks from external system clock, extended memory addressing of
up to 4MB program and 4MB data and a 1kB stack (part of 5kB total SRAM) for high-level language
support, circuitry to control battery backing of certain internal circuits and external SRAM for storage of
program and/or data, and sleep, idle and power management modes for low power applications.
The DS5240’s comprehensive security measures create a trusted computing environment for the most
sensitive applications. These measures include an array of features specifically designed to resist known
threats including observation, analysis, and physical attack. They are designed such that a massive effort
would be required to obtain information about the contents of the chip (e.g., stored encryption keys)
and/or external memory. Furthermore, the “soft” nature of the DS5240 (SRAM storage) allows frequent
modification of secure information, either program or data.
The DS5240 implements a physical and logical security system that is more extensive than found in its
predecessor, the DS5002 secure microcontroller. Like the DS5002, the DS5240 executes application
software from encrypted storage. However, on the DS5240, the encryption implemented is a true blo ck
cipher, according to the Data Encryption Standard (DES or triple-DES). Attempts to discover the keys
through physical tampering result in their erasure, rendering the encrypted contents of external memory
useless. Up to 4MB of program space and 4MB of data space can be accessed through a dedicated,
nonmultiplexed byte-wide bus leaving all port pins available for I/O functions. The contents of external
memory are maintained during power-off by power from a battery connected to the DS5240. In the
absence of VCC, battery power maintains the memory. A small lithium coin cell can provide more than 10
years of data retention.
All the security features of the DS5002 are implemented in the DS5240, with two distinctions. First,
encryption of the address bus is not employed for external program memory (only the program
information on the data bus is encrypted) and second, there are no dummy read cycles performed on the
embedded bus. Strong new security measures are added to the DS5240, including selectable 3DES
encryption of program memory where the encryption is based on 112-bit (two word) keys that are
automatically generated by the random number generator. There are also two self-destruct inputs (SDI)
provided. One SDI controls destruction of external program and data, cache memory, key registers and
selected areas of internal SRAM. The second SDI functions as an interrupt, allowing the user to take
advantage of the DS5240’s ability to respond to a detected attack under software control. The DS5240
also offers a number of selectable built-in countermeasures against known attack methodologies. The
device incorporates on-chip sensors to monitor “out -of-range” conditions, and these sensors can force the
device to undergo a special destructive reset if desired. Finally, the DS5240 supports optional timedaccess write operations to the parallel I/O port pins, making certain attack approaches ineffective.
2 of 3