Skip to main content
swapnil champaneria
Associate III
October 3, 2018
Solved

Where can I find? #include "mcc.h" #include "mcc_raw_request.h" Headers and macros related that? How can I read write mifareUl card with st25 ? Can any one help me to resolve my problem ?

  • October 3, 2018
  • 9 replies
  • 1563 views

..

    This topic has been closed for replies.
    Best answer by Ulysses HERNIOSUS

    Hi Swapnil,

    unfortunately we cannot provide sources showing how to talk to Mifare Classic cards. However all needed frames can be sent and received by ST25R3911B. If you manage the crypto1 by using SW or some secure element (eg. ST33) the ST25R3911B can talk in a secure manner to MifareClassic cards.

    Regards, Ulysses

    9 replies

    Ulysses HERNIOSUS
    Technical Moderator
    October 3, 2018

    Hi Swapnil,

    mcc.* does not releate to Mifare Ultralight. Mifare Ultralight is handled in mifare_ul.c,h.

    Regards, Ulysses

    swapnil champaneria
    Associate III
    October 4, 2018

    thanks

    i have one more doubt, If I want to use mifaire classic card with key A and key B authentication feature then how can i use it ?

    Ulysses HERNIOSUS
    Technical Moderator
    October 8, 2018

    Hi Swapnil,

    unfortunately we cannot provide sources showing how to talk to Mifare Classic cards. However all needed frames can be sent and received by ST25R3911B. If you manage the crypto1 by using SW or some secure element (eg. ST33) the ST25R3911B can talk in a secure manner to MifareClassic cards.

    Regards, Ulysses

    swapnil champaneria
    Associate III
    October 17, 2018

    Hello @Ulysses HERNIOSUS_O​ 

    I want  to communicate with Mifare classic card without any encryption algorithm, Is it possible?

    I just want to store data on the card, who have a valid key, can read that data

    Thanks in advanced

    Ulysses HERNIOSUS
    Technical Moderator
    October 17, 2018

    AFAIK Mifare Classic always require its (buggy) crypto1 to access memory.

    Regards, Ulysses

    swapnil champaneria
    Associate III
    October 17, 2018

    Hello @Ulysses HERNIOSUS_O​ 

    After some R&D I found that NXP PN523X & MFRC522 have inbuilt crypto1 engine so is that any other way to bypass this,

    If I managed crypto1 it's work on st253911B disco board ?

    Ulysses HERNIOSUS
    Technical Moderator
    October 17, 2018

    Hi @swapnil champaneria 

    yes as I said before if you use as software implementation e.g. crapto1 (used by some other readers) or a secure element to manage the cryptography you can perform authentication and afterwards read/write to your like. ST25R3911B can send and receive all the necessary bit-frames (including non-fitting parity bits, non-fitting CRC, etc.).

    Regards, Ulysses

    swapnil champaneria
    Associate III
    October 22, 2018

    @Ulysses HERNIOSUS_O​ 

    As you said above, if I'm using ST33 then it's work in my case to read write Mifare classic ?

    Because in ST33 i am not see crypto1 mention specifically

    Ulysses HERNIOSUS
    Technical Moderator
    October 22, 2018

    Hi Swapnil,

    looking at https://www.st.com/en/secure-mcus/st33-arm-sc300.html?querycriteria=productId=SC1282 there are some devices mentioning "MIFAREClassic Accelerator".

    Still the actual commands for reading/writing/authenticating a card need to be managed in software. At the moment we cannot provide such a demo. In the end you will need to send payload frames to the ST33 using e.g. SPI and retrieve back the en-/decrypted frames for further RF processing/communication.

    Regards, Ulysses