AT88SC0104CA_11 ATMEL [ATMEL Corporation], AT88SC0104CA_11 Datasheet - Page 46

no-image

AT88SC0104CA_11

Manufacturer Part Number
AT88SC0104CA_11
Description
Atmel CryptoMemory Specification Datasheet
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
10.3.2 Example: Write EEPROM command
These status words indicate the state of the device at the end of the command. In normal conditions, the device sends the INS
byte as the procedure byte, and $90 $00 as the final status word. In certain conditions described below, the device may
interrupt the command by returning a status word in place of INS as the procedure byte.
$67 $00 is returned as a procedure byte when the number of data bytes to be transferred is incorrect.
$69 $00 is returned after read/write commands as procedure bytes if the host is not allowed to read/write at the address
provided. It is also returned after password commands if the maximum number of attempts has been exceeded. The device
will return $69 $00 as a final status word in place of $90 $00, if the password presentation failed.
$6B $00 is returned as procedure bytes if the address is incorrect.
$6D $00 is returned as procedure bytes if the INS code received is not supported.
The following illustrates the data exchanges that occur during a write operation of four bytes: $04, $09, $19, and $97 to
addresses $02, $03, $04, and $05 in the current user zone.
Start
Finish
Host
CLA
INS
P1
P2
P3
Data
Data
Data
Data
Device
INS
Write Cycle
SW1
SW2
Val
**
$B0
**
$02
$04
$B0
$04
$09
$19
$97
90
$00
Atmel AT88SC0104CA/0204CA/0404CA/0808CA [Datasheet]
Note
Class (ignored by CryptoMemory)
Write instruction
Address byte A1 (ignored by 0104C - 1616C)
Address byte A2 = $02
Four data bytes
Device responds with INS code
Byte to be written at start address $02
Byte to be written at address $03
Byte to be written at address $04
Byte to be written at address $05
~5ms
Write operation successful
8664E−CRYPTO−12/11
46

Related parts for AT88SC0104CA_11