Mifare 13.56MHz Band #921 - unable to authenticate

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
j-culp
 
Posts: 10
Joined: Tue Jan 01, 2013 1:42 pm

Mifare 13.56MHz Band #921 - unable to authenticate

Post by j-culp »

I tried all of the suggested keys for authentication of this mifare device found here - https://learn.adafruit.com/adafruit-pn5 ... nfc/mifare - Trying the mifareclassic_memdump example and I get authentication errors for all sectors. I tried reformatting it to NDEF then back using the examples and the mifareclassic_ndeftoclassic sketch also fails to authenticate sector 16.

The other 3 cards I have (3 different ones) all work fine this one is just giving me issues. I'm open to any suggestions.

Thanks,
James

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Mifare 13.56MHz Band #921 - unable to authenticate

Post by adafruit_support_mike »

Let's try a new card.

Send a note to [email protected] with a link to this thread and the folks there will get you a replacement.

User avatar
j-culp
 
Posts: 10
Joined: Tue Jan 01, 2013 1:42 pm

Re: Mifare 13.56MHz Band #921 - unable to authenticate

Post by j-culp »

Ok, got the new bracelet today, same results. I didn't think to copy the output from the original run of mifareclassic_memdump but it's almost identical to the post mifareclassic_formatndef and attempted reformat to mifareclassic.

Step 1: Tried reading the bracelet with mifareclassic_memdump
results: unable to authenticate for all blocks
Step 2: Tried formatting to ndef with mifareclassic_formatndef
results: appeared to be successful
Step 3: Tried to format back to mifare
results:

Code: Select all

Looking for PN532...
Found chip PN532
Firmware ver. 1.6
Place your NDEF formatted Mifare Classic 1K card on the reader
and press any key to continue ...
Found an ISO14443A card/tag
  UID Length: 4 bytes
  UID Value: 0x72 0xB6 0x25 0xCE

Seems to be a Mifare Classic card (4 byte UID)

Reformatting card for Mifare Classic (please don't touch it!) ... 
Authentication failed for sector 16
Place your NDEF formatted Mifare Classic 1K card on the reader
and press any key to continue ...
Found an ISO14443A card/tag
  UID Length: 4 bytes
  UID Value: 0xA3 0x60 0x37 0x86

Seems to be a Mifare Classic card (4 byte UID)

Reformatting card for Mifare Classic (please don't touch it!) ... 
Authentication failed for sector 16
Place your NDEF formatted Mifare Classic 1K card on the reader
and press any key to continue ...

Step 4: Tried reading again with mifareclassic_memdump just in case it actually worked
results:

Code: Select all

Looking for PN532...
Found chip PN532
Firmware ver. 1.6
Waiting for an ISO14443A Card ...
Found an ISO14443A card
  UID Length: 4 bytes
  UID Value: 0x72 0xB6 0x25 0xCE

Seems to be a Mifare Classic card (4 byte UID)
------------------------Sector 0-------------------------
Block 0 unable to read this block
Block 1 unable to read this block
Block 2 unable to read this block
Block 3 unable to read this block
------------------------Sector 1-------------------------
Authentication error
Block 4 unable to authenticate
------------------------Sector 1-------------------------
Authentication error
Block 5 unable to authenticate
------------------------Sector 1-------------------------
Authentication error
Block 6 unable to authenticate
------------------------Sector 1-------------------------
Authentication error
Block 7 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 8 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 9 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 10 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 11 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 12 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 13 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 14 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 15 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 16 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 17 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 18 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 19 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 20 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 21 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 22 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 23 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 24 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 25 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 26 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 27 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 28 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 29 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 30 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 31 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 32 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 33 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 34 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 35 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 36 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 37 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 38 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 39 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 40 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 41 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 42 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 43 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 44 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 45 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 46 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 47 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 48 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 49 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 50 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 51 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 52 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 53 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 54 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 55 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 56 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 57 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 58 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 59 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 60 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 61 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 62 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 63 unable to authenticate


Send a character to run the mem dumper again!
Found an ISO14443A card
  UID Length: 4 bytes
  UID Value: 0xA3 0x60 0x37 0x86

Seems to be a Mifare Classic card (4 byte UID)
------------------------Sector 0-------------------------
Block 0 unable to read this block
Block 1 unable to read this block
Block 2 unable to read this block
Block 3 unable to read this block
------------------------Sector 1-------------------------
Authentication error
Block 4 unable to authenticate
------------------------Sector 1-------------------------
Authentication error
Block 5 unable to authenticate
------------------------Sector 1-------------------------
Authentication error
Block 6 unable to authenticate
------------------------Sector 1-------------------------
Authentication error
Block 7 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 8 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 9 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 10 unable to authenticate
------------------------Sector 2-------------------------
Authentication error
Block 11 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 12 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 13 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 14 unable to authenticate
------------------------Sector 3-------------------------
Authentication error
Block 15 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 16 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 17 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 18 unable to authenticate
------------------------Sector 4-------------------------
Authentication error
Block 19 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 20 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 21 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 22 unable to authenticate
------------------------Sector 5-------------------------
Authentication error
Block 23 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 24 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 25 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 26 unable to authenticate
------------------------Sector 6-------------------------
Authentication error
Block 27 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 28 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 29 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 30 unable to authenticate
------------------------Sector 7-------------------------
Authentication error
Block 31 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 32 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 33 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 34 unable to authenticate
------------------------Sector 8-------------------------
Authentication error
Block 35 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 36 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 37 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 38 unable to authenticate
------------------------Sector 9-------------------------
Authentication error
Block 39 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 40 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 41 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 42 unable to authenticate
------------------------Sector 10-------------------------
Authentication error
Block 43 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 44 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 45 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 46 unable to authenticate
------------------------Sector 11-------------------------
Authentication error
Block 47 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 48 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 49 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 50 unable to authenticate
------------------------Sector 12-------------------------
Authentication error
Block 51 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 52 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 53 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 54 unable to authenticate
------------------------Sector 13-------------------------
Authentication error
Block 55 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 56 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 57 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 58 unable to authenticate
------------------------Sector 14-------------------------
Authentication error
Block 59 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 60 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 61 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 62 unable to authenticate
------------------------Sector 15-------------------------
Authentication error
Block 63 unable to authenticate


Send a character to run the mem dumper again!
Please note results are duplicated as I tried the same things with both bracelets (got them mixed up and wasn't sure which was the replacement).

I must be missing something but I have no idea what it doesn't make sense that two would be faulty in a row. I also have one of the small keychain types, the credit card sized one that came with the RFID/NFC Shield and a small tag on a lanyard. All of the others work fine.

Please advise,
James

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: Mifare 13.56MHz Band #921 - unable to authenticate

Post by adafruit_support_mike »

Hmm.. I've asked for help from our NFC expert, who says there may be something complicated going on.

He's working on another project right now, but has offered to pull some hardware and dig into the problem when he's done with that. It may take a couple of days though.

User avatar
j-culp
 
Posts: 10
Joined: Tue Jan 01, 2013 1:42 pm

Re: Mifare 13.56MHz Band #921 - unable to authenticate

Post by j-culp »

No problem I have other cards to work with in the mean time I await any results they come up with.

Thanks,
James

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”