cancel
Showing results for 
Search instead for 
Did you mean: 

How to write only one byte in memory of ST25DV04K using the CR95HF Development Software?

JOliv
Associate

Hello!

I am starting my activities with the Demonstration Board MB1054A CR95HF and according to what I understand it is only possible to write in a block of 4 bytes, I wonder if there is how to write in only 1 byte?

Detail: mine NFC tag is ST25DV04K.

Regards,

João Pedro, Engineering Student from Brazil.

1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

Hi João Pedro

the physical memory of an ISO/IEC 15693 tag is organized in blocks (or pages) of fixed size (see ISO/IEC 15693-3 §5 VICC memory organization). Therefore, the various read or write commands follow this memory organization (e.g. Write Single Block command)

If you want to modify only one byte:

  1. read the block containing the byte (e.g. Read Single Block command)
  2. modify the value of the byte in your local buffer
  3. write the modified block into the tag (e.g. Write Single Block command)

Also I would suggest you use the STSW-ST25PC001 Windows® PC software. It supports the CR95HF demo board and provides menu to read and write tag memory. It supports as well features of the ST25DV04K.

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Brian TIDAL
ST Employee

Hi João Pedro

the physical memory of an ISO/IEC 15693 tag is organized in blocks (or pages) of fixed size (see ISO/IEC 15693-3 §5 VICC memory organization). Therefore, the various read or write commands follow this memory organization (e.g. Write Single Block command)

If you want to modify only one byte:

  1. read the block containing the byte (e.g. Read Single Block command)
  2. modify the value of the byte in your local buffer
  3. write the modified block into the tag (e.g. Write Single Block command)

Also I would suggest you use the STSW-ST25PC001 Windows® PC software. It supports the CR95HF demo board and provides menu to read and write tag memory. It supports as well features of the ST25DV04K.

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
JOliv
Associate

Hi BT.

Thanks for your response. All right here... Thanks for the tip, i'm downloading the software. 

Regards,

João Pedro.