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

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
98-02-10
3.7.8 WritePage
Writes a page (4 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.
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 process 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_WritePage (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:
0x08
0x02
'p'
Status
0x00 ... Plain Mode
0x01 ... Crypto Mode
page number
-1 ...
-3 ...
-4 ...
-9 ...
0 ... no error
crypto
SERIAL ERROR
NOTAG
TIMEOUT
CRYPTOBLOCK NOT INIT
BCC
pagenr
data[0] ....... data[3] BCC
Page 23 (104)
Rev. 1.0
Communication Reader-Host
Htswp.doc/HS

Related parts for HT-CM400