Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTH ERROR with NFC NTAG213 #65

Open
Jacques-Olivier-Farcy opened this issue Sep 23, 2024 · 0 comments
Open

AUTH ERROR with NFC NTAG213 #65

Jacques-Olivier-Farcy opened this issue Sep 23, 2024 · 0 comments

Comments

@Jacques-Olivier-Farcy
Copy link

Jacques-Olivier-Farcy commented Sep 23, 2024

Hi,
I am using a PI400 with the JOY-It reader (https://joy-it.net/en/products/SBC-RFID-RC522)
When i read the card with this code i have some errors even if the ID is read:

#!/usr/bin/env python

import RPi.GPIO as GPIO

from mfrc522 import SimpleMFRC522

reader = SimpleMFRC522()

try:

        id, text = reader.read()

        print(id)

        print(text)

finally:
 GPIO.cleanup()

AUTH ERROR!!
AUTH ERROR!!
AUTH ERROR(status2reg & 0x08) != 0
AUTH ERROR(status2reg & 0x08) != 0
584190898496

And when i use this code to write:

#!/usr/bin/env python

import RPi.GPIO as GPIO

from mfrc522 import SimpleMFRC522

reader = SimpleMFRC522()

try:

        text = input('New data:')

        print("Now place your tag to write")

        reader.write(text)

        print("Written")

finally:
 GPIO.cleanup()

I have this message:
New data:0123456
Now place your tag to write
AUTH ERROR!!
AUTH ERROR!!
AUTH ERROR(status2reg & 0x08) != 0
AUTH ERROR(status2reg & 0x08) != 0
Error while reading!
Error while reading!
Written

Any ideas ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant