AT88SC0104C,
AT88SC0808C,
AT88SC6416C,
AT88SC0204C, AT88SC0404C,
AT88SC1616C, AT88SC3216C,
AT88SC12816C, AT88SC25616C
Atmel CryptoMemory Full Specification
DATASHEET
Features
A Family of Nine Devices with User Memories from 1-Kbit to 256-Kbit
EEPROM User Memory
4, 8, or 16 Zones
Self-timed Write Cycles
Single-byte or Multiple-byte Page Write Modes
Programmable Access Rights for Each Zone
2-Kbit Configuration Memory
37-byte OTP Area for User-Defined Codes
160-byte Area for User-Defined Keys and Passwords
High Security Features
64-bit Mutual Authentication Protocol (Under License of ELVA)
Encrypted Checksum
Stream Encryption
Four Key Sets for Authentication and Encryption
Eight Sets of Two 24-bit Passwords
Anti-tearing Function
Voltage and Frequency Monitor
Low Voltage Operation: 2.7V to 5.5V
Secure Nonvolatile Storage for Sensitive System or User Information
2-Wire Serial Interface
1MHz Compatibility for Fast Operation
Standard 8-lead Plastic Packages
Same Pinout as 2-Wire Serial EEPROMs
ISO 7816 Class A (5V) or Class B (3V) Operation
Synchronous 2-Wire Serial Interface for Faster Device Initialization*
ISO 7816-3 Asynchronous T = 0 Protocol (Gemplus® Patent)*
Multiple Zones, Key Sets, and Passwords for Multi-application Use
Programmable 8-byte Answer-To-Reset (ATR) Register
ISO 7816-2 Compliant Modules
Embedded Application Features
Smart Card Features
High Reliability
Endurance: 100,000 Cycles
Data Retention: 10 Years
ESD Protection: 4,000V
* Note: Modules available with either 2-wire or T = 0 modes.
Atmel-5211F-CryptoMem-Full-Specification-Datasheet_032015
Table of Contents
1. Pin Configuration and Package Information .................................................... 5
1.1
1.2
2.1
2.2
2.3
3.1
3.2
3.3
3.4
4.1
4.2
4.3
5.1
Pin Configuration ................................................................................................ 5
Package Information ........................................................................................... 5
Embedded Applications ...................................................................................... 5
Smart Card Applications ..................................................................................... 6
Scope and Purpose of This Document ............................................................... 6
Supply Voltage (V
CC
) .......................................................................................... 7
Clock (SCL/CLK)................................................................................................. 7
Serial Data (SDA/IO)........................................................................................... 7
Reset (RST) ........................................................................................................ 7
User Memory ...................................................................................................... 8
Control Logic ..................................................................................................... 13
Configuration Memory....................................................................................... 13
Security Operations .......................................................................................... 17
5.1.1 Password Verification ............................................................................. 17
5.1.2 Mutual Authentication ............................................................................. 18
5.1.3 Data Encryption...................................................................................... 19
5.1.4 Encrypted Checksum ............................................................................. 19
Data Protection Features .................................................................................. 20
5.2.1 Modify Forbidden ................................................................................... 20
5.2.2 Program Only ......................................................................................... 20
5.2.3 Write Lock .............................................................................................. 20
5.2.4 Anti-tearing (Power Loss Protection) ...................................................... 20
Configuration Memory Values ........................................................................... 21
5.3.1 Default Values ........................................................................................ 21
5.3.2 Answer To Reset (ATR) ......................................................................... 21
5.3.3 Fab Code ............................................................................................... 21
5.3.4 Memory Test Zone (MTZ) ...................................................................... 21
5.3.5 Card Manufacturer Code ........................................................................ 21
5.3.6 Lot History Code .................................................................................... 21
5.3.7 Issuer Code ............................................................................................ 21
5.3.8 Device Configuration Register (DCR) .................................................... 22
5.3.9 Access Registers ................................................................................... 22
5.3.10 Password/Key Registers ........................................................................ 24
5.3.11 Identification Number ............................................................................. 24
5.3.12 Cryptograms (C
0
– C
3
) ........................................................................... 24
5.3.13 Session Keys (S
0
– S
3
)........................................................................... 24
5.3.14 Secret Seeds (G
0
-G
3
) ............................................................................. 25
5.3.15 Password Sets ....................................................................................... 25
5.3.16 Secure Code .......................................................................................... 25
5.3.17 Password Attempts Counters (PAC) ...................................................... 25
5.3.18 Authentication Attempts Counters (AAC) ............................................... 25
Security Fuses .................................................................................................. 25
Synchronous Mode for Embedded Applications ............................................... 27
Asynchronous Mode for Smart Card Applications ............................................ 27
2. Description ....................................................................................................... 5
3. Pin Description ................................................................................................ 7
4. Detailed Description ........................................................................................ 8
5. Communication Security Modes .................................................................... 17
5.2
5.3
5.4
6.1
6.2
6. Protocol Selection.......................................................................................... 27
2
AT88SC0104C/0204C/0404C/0808C/1616C/3216C/6416C/12816C/25616C [Datasheet]
Atmel-5211F-CryptoMem-Full-Specification-Datasheet_032015
7. Synchronous Protocol ................................................................................... 29
7.1
7.2
7.3
7.4
7.5
7.6
Start-up Sequence ............................................................................................ 29
Command Set ................................................................................................... 30
Command Format ............................................................................................. 31
Acknowledge Polling ......................................................................................... 32
Device Addressing ............................................................................................ 33
Command Descriptions..................................................................................... 33
7.6.1 Write User Zone: $B0 ............................................................................. 33
7.6.2 Read User Zone: $B2 ............................................................................ 34
7.6.3 System WRITE: $B4 .............................................................................. 35
7.6.4 System Read: $B6 ................................................................................. 37
7.6.5 Verify Crypto: $B8 .................................................................................. 39
Verify Password: $BA ....................................................................................... 41
Write Data to User Zones ................................................................................. 42
Unlock the Configuration Memory ..................................................................... 42
Write Data to the Configuration Memory ........................................................... 42
Set Security Fuses ............................................................................................ 42
Character Format .............................................................................................. 45
Command format .............................................................................................. 45
PPS Support ..................................................................................................... 46
Command Set ................................................................................................... 48
9.4.1 Status Words.......................................................................................... 49
9.4.2 Example: Write EEPROM Command ..................................................... 50
9.4.3 Write User Zone: $B0 ............................................................................. 51
9.4.4 Read User Zone: $B2 ............................................................................ 52
9.4.5 System Write: $B4 ................................................................................. 53
9.4.6 Send Checksum ..................................................................................... 54
9.4.7 System READ: $B6 ................................................................................ 55
9.4.8 Verify Crypto: $B8 .................................................................................. 57
9.4.9 Verify Password: $BA ............................................................................ 59
Write Data to User Zones ................................................................................. 60
Unlock the Configuration Memory ..................................................................... 60
Write Data to the Configuration Memory ........................................................... 60
Set Security Fuses ............................................................................................ 60
8. Initialization Example ..................................................................................... 42
8.1
8.2
8.3
8.4
9.1
9.2
9.3
9.4
9. Asynchronous T=0 Protocol .......................................................................... 45
10. Initialization Example ..................................................................................... 60
10.1
10.2
10.3
10.4
11. Absolute Maximum Ratings* ......................................................................... 63
11.1 DC and AC Characteristics ............................................................................... 63
11.2 Timing Diagrams for Synchronous Communications ........................................ 65
12. DC Tamper Detection Limits ......................................................................... 67
12.1
12.2
12.3
12.4
12.5
High Voltage and Low Voltage Limit ................................................................. 67
Minimum Clock Pulse ....................................................................................... 67
Maximum Clock Frequency .............................................................................. 67
Power On Reset (POR) Delay .......................................................................... 67
Noise Suppression ............................................................................................ 67
13. Ordering Information...................................................................................... 68
AT88SC0104C/0204C/0404C/0808C/1616C/3216C/6416C/12816C/25616C [Datasheet]
Atmel-5211F-CryptoMem-Full-Specification-Datasheet_032015
3
14. Package Marking Information ........................................................................ 69
14.1
14.2
14.3
14.4
14.5
14.6
14.7
14.8
14.9
AT88SC0104C .................................................................................................. 69
AT88SC0204C .................................................................................................. 70
AT88SC0404C .................................................................................................. 71
AT88SC0808C .................................................................................................. 72
AT88SC1616C .................................................................................................. 73
AT88SC3216C .................................................................................................. 74
AT88SC6416C .................................................................................................. 75
AT88SC12816C ................................................................................................ 76
AT88SC25616C ................................................................................................ 77
15. Revision History............................................................................................. 78
4
AT88SC0104C/0204C/0404C/0808C/1616C/3216C/6416C/12816C/25616C [Datasheet]
Atmel-5211F-CryptoMem-Full-Specification-Datasheet_032015
1.
1.1
Pin Configuration and Package Information
Pin Configuration
Table 1-1.
Pad
V
CC
GND
SCL/CLK
SDA/IO
RST
Package Pin Assignments
Description
Supply Voltage
Ground
Serial Clock Input
Serial Data Input/Output
Reset Input
ISO Module
C1
C5
C3
C7
C2
TWI Module
C1
C5
C3
C7
NC
SOIC, PDIP
8
4
6
5
NC
1.2
Package Information
Figure 1-1. Package Configuration
ISO Smart Card Module
r
V
CC
=C1
RST=C2
SCL/CLK=C3
NC=C4
C5=GND
C6=NC
C7=SDA/IO
C8=NC
NC
NC
NC
GND
8-lead SOIC, PDIP
TWI
Smart Card Module
V
CC
NC
SCL
SDA
V
CC
=C1
NC=C2
SCL/CLK=C3
NC=C4
C5=GND
C6=NC
C7=SDA/IO
C8=NC
1
2
3
4
8
7
6
5
2.
Description
Atmel
®
AT88SCxxxxC is a family of nine high-performance secure memory devices providing 1-Kbit to 256-Kbit of user
memory with advanced built-in security and cryptographic features. The memory is divided into 4, 8, or 16 user zones each of
which may be individually set with different security access rights or used together to effectively provide space for one or
multiple data files. Atmel CryptoMemory
®
has a configuration memory which contains registers to define the security rights for
each user zone and space for passwords and secret keys used by the security logic of CryptoMemory.
Through dynamic, symmetric mutual authentication, data encryption, and the use of encrypted checksums, CryptoMemory
provides a secure place for storage of sensitive information within a system. With its tamper protection circuits, this information
remains safe even under attack.
CryptoMemory also provides high security, low cost, and ease of implementation of host-client type systems without the need
for a microprocessor operating system. The embedded cryptographic engine provides for a dynamic, symmetric mutual
authentication between the device and host, as well as, performs stream encryption for all data and passwords exchanged
between the device and host. Up to four unique key sets are available for these operations.
2.1
Embedded Applications
A 2-Wire serial interface running at 1MHz is used for fast and efficient communications with up to 15 devices which can be
individually addressed. CryptoMemory is available in industry standard 8-lead packages with the same familiar pinout as
2-Wire Serial EEPROMs supporting only the synchronous communications protocol.
AT88SC0104C/0204C/0404C/0808C/1616C/3216C/6416C/12816C/25616C [Datasheet]
Atmel-5211F-CryptoMem-Full-Specification-Datasheet_032015
5