8.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 N byte defines the number of additional data bytes to be sent or received from the CryptoMemory device. In addition, the Random Read command is available. It is the only single-byte command, but it must be preceded by an aborted write command to set up the read address.

Table 8-1. CryptoMemory® Synchronous Command Set
Command DescriptionCommandAddr 1Addr 2NData(N)
Write User ZoneNormal

(AT88SC0104CA-AT88SC0808CA)

$B0AddrAddrN ≤ $10N bytes
With Anti-Tearing (All Devices)$B0AddrAddrN ≤ $08N bytes
Random ReadRandom Read$B1Details on Command Usage Below

Read User Zone

Normal Read$B2AddrAddrNN bytes
System WriteWrite Config Zone

(AT88SC0104CA-AT88SC0808CA)

$B4$00AddrNN bytes
Write Fuses$B4$01Fuse IDN ≤ $10
Send Checksum$B4$02$00$002 bytes
Set User Zone$B4$03Zone$02
Write Config Zone with Anti-Tearing$B4$08Addr$00N bytes
Set User Zone with Anti-Tearing$B4$0BZoneN ≤ $08
System ReadRead Conifg Zone$B6$00AddrN
Read Fuse Byte$B6$01$00$01
Read Checksum$B6$02$00$02
Verify CryptoVerify 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 PasswordWrite 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)