NFC tag only lock every 2'nd block

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NFC tag only lock every 2'nd block

690 Views
moticohen
Contributor I

Hi,

We're using ICODE SLIX (SL2S2002) NFC tag.

We have a driver that is implementing the IEC15693 protocol.

after we are done writing we are trying to lock the NFC by doing a line-by-line lock, however - only the even blocks are locked successfully (block 0,2,4 ...). 

xml file with the tag content after the 1'st lock is attached.

this is the pseudo code we are following for locking:

 

for blockcount = 0 to 27 step 1 Do  //28 blocks

{

\* Issue a LOCK SINGLE BLOCK command *\

010B000304184222 && 2HexByteXX(blockcount) && 0000   

\* delay *\

Wait 15msec

}

 

When we're repeating the same process all over again, the odd lines are being locked as well.

Will appriciate it if you can help and point out what we're doing wrong..

 

Thanks in advance, 

Moti.

 

Original Attachment has been moved to: taginfo_scan.xml.zip

Tags (3)
0 Kudos
1 Reply

413 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Moti,

Would you please help to clarify if 2HexByteXX(blockcount) is a 8bit or 16bit data? and please also note, 0000 in the end should be a 16bit CRC value, please kindly refer to the following for details.

pastedImage_1.png


Hope that helps,
Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos