estyno
Newbie level 2
Hi guys,
I'm using:
reader chip - CL RC 632
card - MIFARE 1K
problem is, that answer from the card after authentication and reading
the block is always one byte random number ( from 0 to 15). This is
NACK or what? Why the answer is not a 16 byte of data? When I'm
reading without authentication, it always return one byte "4".
Communication to the point of authentication is without problem. Here
is my technique:
- loading keyA = 0xFFFFFFFFFFFF in special form into keybuffer
- writing into FIFO 0x60, 0x00, SN1, SN2, SN3, SN4 //authentication
with keyA, block number 0, serial number
- calling AUTHENT1 command
- waiting for IDLE state
- calling AUTHENT2 command
- waiting for IDLE state
- reading flag CRYPTO1ON=true
with another keyA, or by changing the serial number, program friezed.
This means, that authentication is good, or not?
Now I want read from card, so :
- writing into FIFO 0x30, 0x00 // read command, block number 0
- calling TX-RX command
- reading data from FIFO
I'm thankful for everyone idea...
I'm using:
reader chip - CL RC 632
card - MIFARE 1K
problem is, that answer from the card after authentication and reading
the block is always one byte random number ( from 0 to 15). This is
NACK or what? Why the answer is not a 16 byte of data? When I'm
reading without authentication, it always return one byte "4".
Communication to the point of authentication is without problem. Here
is my technique:
- loading keyA = 0xFFFFFFFFFFFF in special form into keybuffer
- writing into FIFO 0x60, 0x00, SN1, SN2, SN3, SN4 //authentication
with keyA, block number 0, serial number
- calling AUTHENT1 command
- waiting for IDLE state
- calling AUTHENT2 command
- waiting for IDLE state
- reading flag CRYPTO1ON=true
with another keyA, or by changing the serial number, program friezed.
This means, that authentication is good, or not?
Now I want read from card, so :
- writing into FIFO 0x30, 0x00 // read command, block number 0
- calling TX-RX command
- reading data from FIFO
I'm thankful for everyone idea...