2019-07-18 09:05 AM
I'm using the X-NUCLEO NFC03A1 board with the NUCLEO L476RG board. I'm testing the STM32L4xx-ST25R95-Polling software example to exchange datas between my PC and a NFC tag ( an ISO 15693 ICODE SLIX). my tag is a icode slix iso15693 so I use the demoPollNfcV part of the program. When i'm reading and writing on my tag, previous data are overwriting in the rxBuffer by new data. I would like to use wrData as an array of character and write characters after characters and write in the rxBuffer following without delete previous data.
Solved! Go to Solution.
2019-07-31 12:27 AM
Issue discussed in private. Customer has fixed a buffer index issue in his code and succeeded to update 1 single bye in a given block.
2019-07-19 12:54 AM
Hi,
see also https://community.st.com/s/question/0D50X0000AnrO9qSQE/how-to-write-only-one-byte-in-memory-of-st25dv04k-using-the-cr95hf-development-software for similar question
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:
Note: most of the ISO/IEC 15693 tags have 4 bytes block organization. Anyway, there are some existing tags with other block size (e.g. 16 bytes). You have to do a first Read Single Block using a 32 bytes Rx buffer to discover the block size of the tag (usually by reading block #0).
Rgds
BT
2019-07-19 03:00 AM
2019-07-19 04:08 AM
Hi,
All tags in the RF field receive the commands from reader/writer. In order to communicate with a given tag:
See ISO/IEC 15693 §7.2 Modes.
Rgds
BT
2019-07-22 07:05 AM
Hi,
Thanks for your answer
I have tried to write in one block only, several numbers but when I write in the block, it erases the previous number in the block, so I had to create 3 blocks and write a number in each block. I don't succeed to write in one block the 3 numbers following.
Louis Eeckeloot.
2019-07-22 07:34 AM
Hi,
can you share your code (in private if you prefer)?
Thanks
Rgds
BT
2019-07-22 08:13 AM
2019-07-22 08:13 AM
tell me if you succeed to open it ?!
2019-07-31 12:27 AM
Issue discussed in private. Customer has fixed a buffer index issue in his code and succeeded to update 1 single bye in a given block.
2019-07-31 01:53 AM
Yes, my issue is fixed, my problem is solved, I succeeded to update one single byte in a given block like I asked it at the beginning.
Thank you very much for your help !