I just purchased the NFC/RFID shield along with some other components.
When I set up the NFC shield today, I tried to test it using the card that came with it.
Unfortunately I have been getting some errors.
I firstly formatted the card using the default formatndef Sketch, with the default adafruit.com URL
This seemed to work fine.
Code: Select all
Looking for PN532...
Found chip PN532
Firmware ver. 1.6
PLEASE NOTE: Formatting your card for NDEF records will change the
authentication keys. To reformat your NDEF tag as a clean Mifare
Classic tag, use the mifareclassic_ndeftoclassic example!
Place your Mifare Classic card on the reader to format with NDEF
and press any key to continue ...
Found an ISO14443A card
UID Length: 4 bytes
UID Value: 0x50 0x6B 0x56 0x0B
Seems to be a Mifare Classic card (4 byte UID)
Card has been formatted for NDEF data using MAD1
Writing URI to sector 1 as an NDEF Message
NDEF URI Record written to sector 1
Done!
PLEASE NOTE: Formatting your card for NDEF records will change the
authentication keys. To reformat your NDEF tag as a clean Mifare
Classic tag, use the mifareclassic_ndeftoclassic example!
Place your Mifare Classic card on the reader to format with NDEF
and press any key to continue ...
using the stock memdump sketch i get the following errors:
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: 0x50 0x6B 0x56 0x0B
Seems to be a Mifare Classic card (4 byte UID)
------------------------Sector 0-------------------------
Block 0 50 6B 56 0B 66 88 04 00 00 00 00 00 00 00 00 00 BANNED.f..........
Block 1 14 01 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 ...á.á.á.á.á.á.á
Block 2 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 03 E1 .á.á.á.á.á.á.á.á
Block 3 00 00 00 00 00 00 78 77 88 C1 00 00 00 00 00 00 ......xwÁ......
------------------------Sector 1-------------------------
Block 4 00 00 03 11 D1 01 0D 55 01 61 64 61 66 72 75 69 ....Ñ..U.adafrui
Block 5 74 2E 63 6F 6D FE 00 00 00 00 00 00 00 00 00 00 t.comþ..........
Block 6 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Block 7 00 00 00 00 00 00 7F 07 88 40 00 00 00 00 00 00 .......@......
------------------------Sector 2-------------------------
Block 8 unable to read this block
Block 9 unable to read this block
Block 10 unable to read this block
Block 11 unable to read this block
------------------------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!
Code: Select all
Found chip PN532
Firmware ver. 1.6
Waiting for an ISO14443A Card ...
Found an ISO14443A card
UID Length: 4 bytes
UID Value: 0x50 0x6B 0x56 0x0B
Seems to be a Mifare Classic card (4 byte UID)
Trying to authenticate block 4 with default KEYA value
Ooops ... authentication failed: Try another key?
Found an ISO14443A card
UID Length: 4 bytes
UID Value: 0x50 0x6B 0x56 0x0B
Seems to be a Mifare Classic card (4 byte UID)
Trying to authenticate block 4 with default KEYA value
Ooops ... authentication failed: Try another key?
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: 0x50 0x6B 0x56 0x0B
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 ...
It is equally if not more likely however that I am making a mistake somewhere along the line so please point me in the right direction if that is the case.
Thanks for your help,
Cathal.