read / write data to the memory block 14443 mifare rfid card

Discuss with MikroElektronika software developers about current library development.
Post Reply
Author
Message
jmalcaraz
Posts: 1
Joined: 01 Oct 2011 07:22

read / write data to the memory block 14443 mifare rfid card

#1 Post by jmalcaraz » 17 Jul 2014 02:04

hi,

Does anyone knows how to read and write to a block of memory card rfid 14443-3 Type A (mifare) using 'rfid click ". With the example of MIKROE- team, I get to read the Tag ID, no memory blocks.

Regards,

Kurios
Posts: 4
Joined: 05 Dec 2014 17:28

Re: read / write data to the memory block 14443 mifare rfid

#2 Post by Kurios » 05 Dec 2014 17:47

Same problem !

I bought RFiD Click with blue tag ... and it's impossible to read or write data on this tag.
Finally, I bought the DEMO-CR95HF-A demonstration kit ... and, I am always not able to read or write data !
I only got the UID / Anticol 1 / Select 1 as I shown below.
>>> HOST to CR95HF
<<< CR95HF to HOST
>>> ECHO
<<< 55
>>> 02000180
<<< 0000
>>> 0109043A005804
<<< 0000
>>> 010904680101D3
<<< 0000
>>> 2607 (REQA)
<<< 80050400280000
>>> 932008 (ANTICOL 1)
<<< 8008B5C4CDE35F280000
>>> 9370B5C4CDE35F28 (SELECT 1)
<<< 800608B6DD080000
Could someone please help me ...

Kurios
Posts: 4
Joined: 05 Dec 2014 17:28

Re: read / write data to the memory block 14443 mifare rfid

#3 Post by Kurios » 18 Dec 2014 16:01

Well, I found something interesting. The CR95HF does not support Mifare Classic TAG :?
But every time, I want read data from tag, i get a NACK.
To illustrated, this is my own log :
Every time, this is the answer from TAG.

Code: Select all

IDN : NFC FS2JAST2
Debug info : Calibration Start !
Debug info : DacDataH Calibration : 00FC
Debug info : DacDataH Calibration : 007C
Debug info : DacDataH Calibration : 003C
Debug info : DacDataH Calibration : 005C
Debug info : DacDataH Calibration : 006C
Debug info : DacDataH Calibration : 0074
Debug info : DacDataH Calibration : 0078
Debug info : DacDataH Calibration : 007A
Debug info : End Calibration with : 7383
Waiting Tag
Debug info : Index Modulation : 87
Debug info : REQA : 0400280000
Debug info : ANTICOLLISION CL1 : B5C4CDE35F280000
Debug info : TAG UID : B5C4CDE3
Debug info : SELECT CL1 : 800608B6DD08
Debug info : READ TRY : 90040024
The blue tag is FM11RF08 from FUDAN Microelectronics.

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: read / write data to the memory block 14443 mifare rfid

#4 Post by darko.minic » 19 Dec 2014 16:19

Hello,

Did you try example from following link:
http://www.libstock.com/projects/view/7 ... ck-example

Example is tested, and you should be able to read Tag ID.

Regards,
Darko

Kurios
Posts: 4
Joined: 05 Dec 2014 17:28

Re: read / write data to the memory block 14443 mifare rfid

#5 Post by Kurios » 27 Feb 2015 15:08

Thanks you for your answer and sorry for my late ( I missed to check "Notify me when a reply is posted" :mrgreen: )

Of course, it is possible to read Tag ID.
I show in my own example, I was able to read ID : B5C4CDE3
The problem is impossible to write or read into the Tag (1Ko EEPROM) as described "jmalcaraz" in this first post.

I supposed I am only able to read ID tag because CR95HF only support partially the Mifare Classic Tag.

edit : To conclude, the real problem is to read or write the memory block of the tag bought with RFID Click board.

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: read / write data to the memory block 14443 mifare rfid

#6 Post by darko.minic » 01 Mar 2015 13:32

Hi,

Using the RFiD click you can only read tags.

Regards,
Darko

Dominic75
Posts: 87
Joined: 05 Oct 2012 23:37
Location: Quebec, Canada

Re: read / write data to the memory block 14443 mifare rfid

#7 Post by Dominic75 » 01 Mar 2015 14:28

As I stated in another post, why are you saying that the RFID Click can only read tags? The CR95HF is a transceiver so it can write to tags also. Am i missing something?

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: read / write data to the memory block 14443 mifare rfid

#8 Post by darko.minic » 02 Mar 2015 16:46

Hello,

I believe my colleague have answered you here:
http://www.mikroe.com/forum/viewtopic.php?f=88&t=63619

Regards,
Darko

iolaso
Posts: 1
Joined: 26 Sep 2016 09:38

Re: read / write data to the memory block 14443 mifare rfid

#9 Post by iolaso » 26 Sep 2016 09:51

Hi,

Im trying to read mifare classic tag using CR95HF IC with CRYPTO1.C libraries but the alway response me with NAK byte.
I use this values for other post to test my firmware.

Initialization values
UID: c1 08 41 6a
KEY: 62 be a1 92 fa 37
Decrypted random nonces
Nt: ab cd 19 49
Nt': 6b 01 17 99
Nt'': b8 68 c4 dc
Nr: 16 05 49 0d
Mifare Classic trace, []=Encrypted
Auth(00): 60 00 f5 7b
Nt: ab cd 19 49
[Nr,Nt']: 59! d5 92 0f! 15 b9 d5! 53!
[Nt'']: a7! 9a 3f! ee!

Can someone tell me what means ! simbol in he parity bits.

Please if someone could answer my questions or konws something about crypto1 algorithm I appreciate that answer.

Post Reply

Return to “Library Development Discussion”