MFRC522 component

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
tarmar
Posts: 3
Joined: Sun Sep 03, 2017 10:07 am
Contact:

MFRC522 component

Post by tarmar »

Hi,

There are a bugs with with the MFRC522 component. It gives a wrong card ID for MIFARE 1K cards. The first and third number are always the same. I have tried more than 20 cards.

Flowcode card ID read result is 14:152:14:26:92 but it should be 208:152:14:26:92
Flowcode card ID read result is 216:239:216:26:205 but it should be 224:239:216:26:205
Flowcode card ID read result is 152:117:152:26:23 but it should be 224:117:152:26:23

Because of this wrong card ID it is not possible to select a card and make an authentication to the card for a read/write operation.

There is also a mistake in the authentication command. To make an authentication to the MIFARE card, the cards ID must be used which is 5 Byte long. However, the AUTH command of the MFRC522 component has only 4 Bytes for the card ID.

Are these only being trial version limitation or bugs?
Attachments
TM_MFRC522_RW.fcfx
(23.23 KiB) Downloaded 199 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: MFRC522 component

Post by LeighM »

Hi,
Thanks for the post.
Looks like this will need some time to look into.

johnsondav
Posts: 188
Joined: Thu Jun 28, 2012 7:29 pm
Location: Durham
Has thanked: 86 times
Been thanked: 186 times
Contact:

Re: MFRC522 component

Post by johnsondav »

Hi

I can confirm that I have tested this module and I too have the same problem - the first data byte is over written by the third data byte.

Regards
Dave

Post Reply