![Advanced Card Systems AET63 BioTRUSTKey Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/advanced-card-systems/aet63-biotrustkey/aet63-biotrustkey_reference-manual_2855857018.webp)
AET63 Reference Manual
version 1.8 September 2006
Advanced Card Systems Ltd.
Page 18 of 29
8.2 EEPROM Commands
8.2.1
EEPROM_READ_DATA
This command is used to read the specified number of bytes from the specified address of the EEPROM.
Command format
Instruction Code
Data length
Data
ADDR
LEN
9A
H
03
H
ADDR
Byte address of first byte to be read from the EEPROM. The high byte of the address is
specified as the first byte of ADDR.
LEN
Number N of data bytes to be read from the EEPROM
(0 < N
≤
MAX_R)
Response data format
BYTE 1
BYTE 2
BYTE 3
...
...
BYTE N
BYTE x
Data bytes read from the EEPROM memory
8.2.2
EEPROM_WRITE_DATA
This command is used to write the specified data bytes to the specified address of the EEPROM.
Note: The EEPROM used in AET63 is 24C512, with a page size of 64 bytes. The page write and page
alignment are not done in the firmware, and these should be done in the driver or application.
Command format
Instruction Code Data length
Data
LEN
ADDR
BYTE 1
...
...
BYTE N
9B
H
LEN
Number of data bytes to be written to the EEPROM, N, + 2
ADDR
Byte address in the EEPROM of the first byte to be written. The high byte of the address is
specified as the first byte of ADDR.
BYTE x
Byte values to be written to the EEPROM starting at address ADDR. BYTE 1 is written to
address ADDR; BYTE N is written to address ADDR+N-1.
Response data format
No response data