EEPROM

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

ฮาร์ดแวร์

Electrically Erasable Programmable Read-Only Memory -- non-volatile memory used in smart cards for data storage.

Also known as: Electrically Erasable Programmable Read-Only Memory

EEPROM

Electrically Erasable Programmable Read-Only Memory (EEPROM) is the primary non-volatile storage technology used in smart card chips for persisting data that must survive power cycles — including cryptographic keys, certificates, PIN counters, application data, and file system structures. Unlike ROM, which is fixed during chip fabrication, EEPROM can be written and erased electrically during the card's operational lifetime.

EEPROM in Smart Card Architecture

A typical smart card chip partitions its memory across three types:

Memory Type Size (typical) Content Writeable
ROM 128-512 KB Operating system, crypto libraries No (mask-programmed)
RAM 4-16 KB Runtime variables, session data Yes (volatile)
EEPROM 32-256 KB Keys, certificates, files, applets Yes (non-volatile)

EEPROM stores everything that must persist between card sessions: the JavaCard applet code, GlobalPlatform security domain keys, cardholder data written during electrical personalization, and runtime counters such as PIN retry counts and transaction logs.

Write Characteristics

EEPROM writing is significantly slower than reading and consumes more power:

  • Write time: 3-10 ms per page (32-128 bytes), compared to microseconds for reads
  • Endurance: 100,000 to 500,000 write/erase cycles per cell before wear-out
  • Write granularity: Page-level (cannot write individual bytes on most smart card EEPROMs)
  • Power requirement: Internal charge pump generates the high voltage (10-15V) needed for Fowler-Nordheim tunneling

The limited write endurance is a practical design constraint. Applications must minimize unnecessary writes — for instance, buffering transaction counters in RAM and committing to EEPROM only at session close.

EEPROM vs Flash Memory

Modern high-capacity smart cards are increasingly migrating to Flash memory, which offers higher density, faster write speeds, and lower power consumption. However, EEPROM retains advantages for smart card use cases:

Attribute EEPROM Flash
Write granularity Page (32-128 bytes) Block (4-64 KB erase)
Endurance 100K-500K cycles 10K-100K cycles
Write speed 3-10 ms/page Faster (block write)
Density Lower (32-256 KB) Higher (512 KB-2 MB)
Cost per bit Higher Lower at scale

Security Considerations

EEPROM contents are a prime target for physical attacks. Micro-probing with focused ion beam (FIB) equipment can read memory cells directly. To counter this, Secure Element chips encrypt EEPROM contents with an on-chip key, scramble the physical memory layout, and implement active shield meshes that detect probing attempts and trigger data zeroization.

Smart Card Fundamentals

เริ่มต้นใช้งาน

…RISC) Execute OS and applet code Secure storage EEPROM / Flash memory Persist keys, counters, data Crypto…

SIM Card Types Explained

เริ่มต้นใช้งาน

…user interaction - Multiple profiles : up to the chip's EEPROM capacity (typically 3–8 profiles) iSIM: The Integrated…

GlobalPlatform Card Management

มาตรฐานและโพรโทคอล

…State Meaning Loaded CAP file contents written to card EEPROM/flash Installed Applet object instantiated, AID registered…

FIDO2 and Smart Cards

มาตรฐานและโพรโทคอล

…the credential ID and user handle are stored in the card's EEPROM , allowing passwordless login without the relying party…

TEE vs Secure Element

ความปลอดภัย

…SEs Key storage Secure World RAM / fused key Dedicated EEPROM / flash Attestation Device Attestation (Android), Secure…

Post-Quantum Cryptography for Smart Cards

ความปลอดภัย

…up to 32 KB - ROM/Flash : 256 KB–1 MB (OS + applets) - EEPROM : 64–256 KB (personalisation data, keys, certs) ML-KEM-768…

Smart Card Lifecycle Security

ความปลอดภัย

…shared between the fab and the personalisation bureau The EEPROM is blank at this stage; only ROM code and the factory test…

JavaCard Applet Development

การเขียนโปรแกรม

…created on every APDU, because object creation allocates EEPROM write cycles and is slow. Applet Lifecycle A JavaCard…

Frequently Asked Questions

The smart card glossary is a comprehensive reference of technical terms, acronyms, and concepts used in smart card technology. It covers protocols (APDU, T=0, T=1), security (Common Criteria, EAL, HSM), hardware (SE, EEPROM, contact pad), and applications (EMV, ePassport, eSIM). It serves developers, product managers, and engineers.

Yes. SmartCardFYI provides glossary definitions in 15 languages including English, Korean, Japanese, Chinese, Spanish, Portuguese, Hindi, Arabic, French, Russian, German, Turkish, Vietnamese, Indonesian, and Thai.