Topic: MiFare Pegoda

Hi All,

I have borrowed a MiFare Pegoda evaluation kit from my University to learn more about the Classic authentication problems for a cryptography project I am doing.  I have installed the SDK that came with it, but have run into a problem when trying to send raw data back to the card  - I can select block 0 and receive a UID from the card but am unsure what format the {nr}{ar} should be in - with parity is it 9 bytes I would send back?  I have tried many different combinations with no success.

Anyway, I am wondering whether :
   a)  The Pegoda hardware (based on the MFRC500 IC) is compatible with libnfc; or
   b)  Does anyone have any experience using the MFRC500 SDK; and
   c)  Am I better off purchasing a newer reader and if so is eBay a good place to try or does anyone know of a reliable Australian reseller?

I know that's a lot of questions for a first timer to post at once, but I appreciate any insight you might have.

Kindest Regards,

Brett.

Re: MiFare Pegoda

Hey Brett,

A)
No, this is the old chip from philips (NXP), it is more than 10 years old and does not support the advanced firmware features that are used in libnfc to send raw frames
B)
No experience, but you probably have to do this in hardware (set registers, raise a certain pin to ignore ISO14443-A parity-errors).
C)
Make sure you buy a PN53x compatible reader. The New Zealand "Snapper Feeder" readers are compatible. Try to get your hands on one of those. Or...check out this page smile

Cheers,

  Roel

Re: MiFare Pegoda

Hi Roel,

Thank you very much for your reply.   I have played around a little with the registers for the MFRC500, and think I have gotten a solution (or at least I am regularly getting a 4-bit reply that I assume is {NACK}  -  I haven't tested any further yet).

In case anyone ever stumbles across this post - I am using the ExchangeByteStream() function, but needed to call WriteRIC(0x22, 0) first.  This turns off parity (presumably both on the send and recieve). 

Once again, thank you very much Roel - I appreciate you taking the time to help.  Presuming you are the same Roel who co-wrote the wirelessly pickpocketing a Mifare Classic Card - thank you for writing that as well.  It has been extremely useful in my project.

Cheers,
Brett.