HT-CM400 NXP Semiconductors, HT-CM400 Datasheet - Page 24

no-image

HT-CM400

Manufacturer Part Number
HT-CM400
Description
Ht Cm400; Ht Rm440 Family; Ht Rm800 Family Interface Protocol Reader - Host
Manufacturer
NXP Semiconductors
Datasheet
Communication Reader-Host
3.7.9 WriteBlock
Writes a block (16 bytes) to the selected HITAG 1 transponder.
If no transponder is selected, a NOTAG message will be generated even if there is a transponder
in the communication field of the antenna.
The start address is specified by -pagenr-. Data is written from the start address until the end of
the corresponding block. Thus a data length of 4, 8, 12 or 16 bytes is possible.
Use byte -crypto- to define whether you want to work in Plain or in Crypto Mode.
Access to the secret area is only possible in Crypto Mode after a mutual authentication.
If -crypto- equals 1 (Crypto Mode) and you did not run an authentication procedure before,
Status will be set to -9.
ATTENTION: To substantially increase the data reliability we strictly recommend to read
the previously written data (read after write).
C-Function: void proloc_WriteBlock (BYTE_T crypto, BYTE_T pagenr, char *data);
Header-File: PROLIB6.H
Serial protocol:
HOST - READ/WRITE DEVICE
crypto:
pagenr:
READ/WRITE DEVICE - HOST
Status:
Htswp.doc/HS
n+4
0x02
'b'
Status
0x00 ... Plain Mode
0x01 ... Crypto Mode
page number (for start address)
-1 ...
-3 ...
-4 ...
-9 ...
0 ... no error
crypto
SERIAL ERROR
NOTAG
TIMEOUT
CRYPTOBLOCK NOT INIT
BCC
pagenr data[0]
Page 24 (104)
.......
Rev. 1.0
data[n-1] BCC
98-02-10

Related parts for HT-CM400