Hallo,
I tried to learn about Keys A, B in Mifare mode. (using course: EB9328 ; exercise 7 )
Suddenly, if I use the property Key type = 0 (Key A) in macro ReadRFIDblock the macro looks to crash after compiling to chip (takes time of appr. 30 seconds , to exit without show data on the display)
I could not resolve that problem.
If I use Key type is 1 (Key B) then all data is showing proper on the display
I tested alse for several blocks (address)
I use a PIC 16F877A
What could be wrong ????
Thanks for answer.
RFID macro ReadRFIDBlock problem
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: RFID macro ReadRFIDBlock problem
Hello,
It could be that this is what it is meant to do.
Using the correct key B allows the data to be read but using the incorrect key A does not.
It could be that this is what it is meant to do.
Using the correct key B allows the data to be read but using the incorrect key A does not.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: RFID macro ReadRFIDBlock problem
Dear Benj,
Thanks for reply, I supposed that I changed key A in the RWD MiCode module only, not the RF cards itself .
These cards are to read with key_type parameter =1; the trailer block of all sectors are still the same as for new cards : 00 00 00 00 00 00 FF 07 80 69 FF FF FF FF FF FF
Key A = 00 00 00 00 00 00 and key B = FF FF FF FF FF FF .
How can I reset the keys in the RWD module , for also read values with Key A (access bits C1=0 C2=0 C3=0) ? (I tried also to do with these default values using macro StoreRFIDkey )
By the way, how is property key 0-31 organized for key A an key B ?
Thans for answer,
Reinier
Thanks for reply, I supposed that I changed key A in the RWD MiCode module only, not the RF cards itself .
These cards are to read with key_type parameter =1; the trailer block of all sectors are still the same as for new cards : 00 00 00 00 00 00 FF 07 80 69 FF FF FF FF FF FF
Key A = 00 00 00 00 00 00 and key B = FF FF FF FF FF FF .
How can I reset the keys in the RWD module , for also read values with Key A (access bits C1=0 C2=0 C3=0) ? (I tried also to do with these default values using macro StoreRFIDkey )
By the way, how is property key 0-31 organized for key A an key B ?
Thans for answer,
Reinier
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: RFID macro ReadRFIDBlock problem
Hello Reiner,
I have sent you a PM with an attachment that should help.
I have sent you a PM with an attachment that should help.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel