This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

authentification TRF7960 problem

Other Parts Discussed in Thread: TRF7960, TRF7964A

Hi,

I'am new of forum. I develop a firmware for TRF7960. I've problem for authentification, in particular:

i sent  "0x8F 0x91 0x3D 0x00 0x20 0x60 0x00" to start authentification of block 0.

Tag response me with Nt, i calculate Ar by cipher of  Nt, Uid and Key.

I sent Ar "0x8F 0x90 0x3d 0x00 0x80 Ar[0] Ar[1]........Ar[7] "

But tag never respone me.

i am sure about calculation of At by cipher algoritm. So i think my error is for send Ar.

Can anyone help me please?

  • Carmelo - 

    you are referring to using Mifare Classic cards here with the 32bit MCU, as you accessed the codebase today. 

    I surmise that it is not clear to you that you cannot do crypto1 AUTH procedure in Direct Mode 2.

    The code example you have access to is for dropping the TRF79xx into Direct Mode 0, after activating and selecting the part using the reader in Direct Mode 2 and configured  for ISO14443A reader operations. The Mifare Classic tags deviate from the ISO standard at this point, so this is the reason for using the Direct Mode 0. 

    Please see attached and pay attention to slides 12 and 13 as steps in slide 12 are for TRF7960, -60A and slide 13 is for the TRF7964A, -70A, when going into Direct Mode 0. This walks you through the steps/procedures the code example is carrying out. 

    any questions or clarifications needed, please do ask.

    7824.Mifare Deep Dive Training.pdf