User's Manual

SCL010/01X REFERENCE MANUAL 45
6.4.3.4. Write-Erase Byte (WRITE-E)
Description
This commands erases and then writes the value of an individual memory byte within the static
memory model area of blocks 0x0-0xE.
Format
CLA INS P1 P2 P3 Data
0xFF 0x56 0x00 Byte
Address
0x01 1 byte of data to be
written
Where P2 codes the address of the memory byte in the following way:
Bit numbers Description
b7 – b3 Block # (value between 0x0 and 0xE)
b2 – b0 Byte # within the block (value between 0 and 7)
Response
Data SW1 SW2
Byte value that has been written 0x90 0x00
Example
For an NFC forum tag type 1 which has the following memory dump
The following sequence does
A READ of the byte # 0x03 in block 0x07
A WRITE ERASE of the byte # 0x03 in the block =0x07 with
value 0x0A
A READ of the byte # 0x03 in block 0x07
A WRITE ERASE of the byte # 0x03 in the block =0x07 with
value 0x02
A READ of the byte # 0x03 in block 0x07