User's Manual

46 | P a g e www.eccel.co.uk
contains data read from the specified tag memory. The number of bytes of this data is ICODE block size (4)
multiplied by the number of blocks to be read.
Command description
Argument
Size
Value
Description
Command ID
1
0x93
ICODE_READ_BLOCK
Block number
1
X
Block count
1
N
Number of block to read
Response description
ACK
1
0x00
Command ID
1
0x93
ICODE_READ_BLOCK
Read data
4*N
XXX
Bytes read from the tag.
Example:
HOST=>READER: 0x93 – ICODE_READ_BLOCK
0x02 – block number 2
0x01 – 1 block to read
READER=>HOST: 0x00 – ACK byte
0x93 – related command code ICODE_READ_BLOCK
0x35 0x3a 0x30 0x33 – 4 bytes block data
3.6.5 Write block (0x94)
The write block command should be used to write data to the tag. It takes as arguments the block number
of the first block to write, the number of blocks to write, and the bytes to be written. The number of bytes
to be written must be exactly the number of blocks to write multiplied by 4.
Command description
Argument
Size
Value
Description
Command ID
1
0x94
ICODE_WRITE_BLOCK
Block number
1
X
Block count
1
N
Data to write
4*N
X
4
-
bytes data to write
Response description
ACK
1
0x00
Command ID
1
0x94
ICODE_WRITE_BLOCK
Example: