7.2 Command Set

The command set of CryptoMemory® is expanded compared to that of a Serial EEPROM, as the functionality of CryptoMemory exceeds that of a simple memory device. Each instruction sent to the CryptoMemory must contain four bytes:

  • Command
  • Address 1
  • Address 2
  • N

The value of N in the final instruction byte defines the number of additional data bytes to be sent or received from the CryptoMemory device.

Table 7-1. CryptoMemory® Synchronous Command Set

Command Description

Command

ADDR 1

ADDR 2

N

Data(N)

Write User Zone

Normal

(AT88SC0104C-AT88SC1616C)

$B0

ADDR

ADDR

N ≤ $10

N bytes

Normal

(AT88SC3216C, AT88SC6416C)

$B0

ADDR

ADDR

N ≤ $40

N bytes

Normal

(AT88SC12816C, AT88SC25616C)

$B0

ADDR

ADDR

N ≤ $80

N bytes

With Anti-Tearing (All Devices)

$B0

ADDR

ADDR

N ≤ $08

N bytes

Read User Zone

$B2

ADDR

ADDR

N

System Write

Write Config Zone

(AT88SC0104C-AT88SC1616C)

$B4

$00

ADDR

N ≤ $10

N bytes

Write Config Zone

(AT88SC3216C, AT88SC6416C)

$B4

$00

ADDR

N ≤ $40

N bytes

Write Config Zone

(AT88SC12816C, AT88SC25616C)

$B4

$00

ADDR

N ≤ $80

N bytes

Write Fuses

$B4

$01

Fuse ID

$00

Send Checksum

$B4

$02

$00

$02

2 bytes

Set User Zone

$B4

$03

Zone

$00

Write Config Zone with Anti-Tearing

$B4

$08

ADDR

N ≤ $08

N bytes

Set User Zone with Anti-Tearing

$B4

$0B

Zone

$00

System Read

Read Conifg Zone

$B6

$00

ADDR

N

Read Fuse Byte

$B6

$01

$00

$01

Read Checksum

$B6

$02

$00

$02

Verify Crypto

Verify Authentication

$B8

$0X

$00

$10

8 random bytes

+ 8 challenge bytes

X = key set (0-3)

Verify Encryption

$B8

$1X

$00

$10

8 random bytes

+ 8 challenge bytes

X = key set (0-3)

Verify Password

Write Password

$BA

$0X

$00

$03

3-byte password

X = password set (0-7)

Read Password

$BA

$1X

$00

$03

3-byte password

X = password set (0-7)