I want to use the MAP430+TRF7970A to read a Mifare Classic 1K card.
As I finish ISO14443 SELECT command, I set command to TRF7970A to do three pass authentication. ( Direct Mode2 - Parallel )
As below:
0x8F, 0x90, 0x3D, 0x00, 0x04, 0x60, 0x00, CRCA, CRCA (use KEY A to authenticate block 0)
And I successful get the card nonce. (4 byte)
Then I initial the crypto function (Set Key = 0xFFFFFFFFFFFF) and get 8 byte reader response to transmit to card.
But I can't get the card response to finish the three pass authentication.
Thanks.
you should write here some tagNonces and the relative answers to check if they are correct.
Kun -
are you using the Mifare example code(s) we have? i sent you the activation ID to: cyclon0221 email address...is this correct? i did not see that you activated it yet, though.
anyway - you must use DM0 to perform the 3 round auth. Please have a look at the code and the attached set of slides - note slide 7 shows special step for the TRF7970A when going into DM0.
5736.TRF79xx_Mifare_Direct_Mode.pdf
BR-
Josh
---------------------------------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
Thanks, Josh.
Now I know I must use DM0 to do that.
Thanks!
Hi Josh
I have a similar problem . It means , I am using the DM0 with mifare cards ; but I do not get the answer from the card . I sent the key FF FF FF FF FF FF
But I do not get the answer from the card. I check the timing and it match with the 5736.TRF79xx_Mifare_Direct_Mode . The time are 9.6uS and 2,8uS for t1
the auth1_command is num byte to send is 460 01 00 01 F5 01 7B 01
14:50:35.368 --> 0109000304A001000014:50:35.499 <-- 0109000304A001000014443A REQA.[7E6BB22582](67)14:50:35.520 --> 010A000304185000000014:50:35.659 <-- 010A0003041850000000Request mode.[]14:50:35.708 --> 010D000304A27E6BB22582000014:50:35.841 <-- 010D000304A27E6BB22582000014443A Select.(0400)[08]14:50:41.342 --> 010E000304C0FFFFFFFFFFFF000014:50:41.494 <-- 010E000304C0FFFFFFFFFFFF0000Crypto1 set key.Initialization ok14:50:41.556 --> 010F000304C160007E6BB22582000014:50:41.703 <-- 010F000304C160007E6BB225820000Crypto1 authentication step 1.!! 00 bytes and 00 bits received, expected 4 bytes and 0 bits. Abort
I am using the code getted from you for 7960 , there are available code for 7970
just sent you the -70A code - to you regular email
The question is answered ; but I did not see the button on the post
Many thanks
Hi Josh:
I have a project use M4 + TRF7970A.But I don't know how to do read and write mifare classic cards.Can you send the Mifare example code(s) to me.
Best Regards,
Ken
Hello Josh,
I'm working on MSP430+TRF7970A and I would like to read/write MiFare cards.
Please, How can I get the MiFare sample code for MSP430+TRF7970 ?
Regards,
Joan.
Ken -
please sign up for the LM3S code here and then we can send you the LM4F version separately.
http://www.ti.com/tool/sw-dk-lm3s9b96-em2-trf7960-14443a
Joan -
are you working directly with TI salesperson/rep? if so, then they can contact me directly and get you set up on the TI Extranet for this code project.
if not, then we need to figure out a way for you to fill out some infomation we need from you, then we can set it up.
also, you will need my.ti.com account (this is free), maybe you have one already since you are E2E member, so then you can get into the Extranet.
Thank you so much !
We are just working with our salesperson in order to get acces.
Thanks,
no problem - maybe this is Marcos Lopez? if so, i just sent him the internal link to register you.
Yes, is Marcos Lopez.
I'm from DRACO SYSTEMS, we are TI Design House.
Best,
i just approved the request that Marcos put in for you - so now you will get an email from TI Extranet admin when it is all set up - should not be too long - maybe today sometime most likely.
Josh,
Thank you very much !