Reply To: CLRC663 Authentication Failed – 0x0201

Forum MIFARE and NFC Reader IC`s CLRC663 Authentication Failed – 0x0201 Reply To: CLRC663 Authentication Failed – 0x0201

Re: CLRC663 Authentication Failed – 0x0201

22. January 2016 at 12:51
Hi NFCuser,

I cannot say anything to the NXP Reader Library, but you can program the CLRC663 directly via writing and reading the registers. To authenticate with a MIFARE key you have to do the following steps:

  1. 1. Write the key (the default key is FFFFFFFFFFFF) into the Fifo (register 05),
    command: FF into 05,

  2. command: FF into 05,
  3. command: FF into 05,
  4. command: FF into 05,
  5. command: FF into 05,
    command: FF into 05.
  6. 2. Send the LoadKey
    command: 02 into 00.

  7. 3. Maybe wait.

  8. 4. Write the value 60 into Fifo,
    command: 60 into 05,
    command: 00 into 05.

  9. 5. Write the first four bytes of UID into Fifo,
    command: UID0 into 05,
    command: UID1 into 05,
    command: UID2 into 05,
    command: UID3 into 05.

  10. 6. Start MIFARE Authenticate
    command: 03 into 00.

  11. 7. Maybe wait.

  12. 8. Read error register
    command read 0A.

  13. 9. Check length of reply
    command: read 04

  14. 10. Read reply bytes (length previously read)
    command: read 05 x times (x is the length)



I hope it helps.
Kind regards,
The MIFARE Team
+ 0  |  - 0