Skip to main content
Visitor II
December 20, 2017
Solved

ST25R3911B and mifare classic supporting

  • December 20, 2017
  • 7 replies
  • 2921 views
Posted on December 20, 2017 at 10:13

I've bought one X-NUCLEO-NFC05A1 board, all ST25R3911B_Discovery_GUI functions work fine.

But i cannot find the mifare classic function on the GUI. Is there any update for this?  Where can i find the mifare classic supporting firmware and its source code?

BTW. the 

X-NUCLEO-NFC05A1 have Arduino compatible pins, is there any official RFHal OO porting for mbed platform? If so, many MCUs can work with ST25R3911B easier, not only F4, L4 family.

#mbed #mifare #st25r3911b-disco
    This topic has been closed for replies.
    Best answer by Ulysses HERNIOSUS

    Hi,

    yes, mifare_ul.c,h relates to Mifare Ultralight/T2T (non-crypto) tags.

    ST25R3911B can send and receive all the frames required for Mifare Classic (with crypto1 cipher) based communication.

    Unfortunately we cannot provide you sources for doing this.

    Regards, Ulysses

    7 replies

    Visitor II
    March 1, 2018
    Posted on March 01, 2018 at 14:39

    Have you checked in DISCO project. I found mifare commands in mifare_ul...

    wan512Author
    Visitor II
    April 5, 2018
    Posted on April 05, 2018 at 03:03

    thanks,i'll check for that.

    Visitor II
    September 15, 2018

    commands in mifare_ul.c are probably related to mifare ultra light but not mifare classic.

    from the code (in file dispatcher.c)

    #ifdef HAS_MCC

    #include "mcc.h"

    #include "mcc_raw_request.h"

    #endif /* HAS_MCC */

    and then:

    #ifdef HAS_MCC

    static ReturnCode processMifare(const uint8_t *rxData, uint16_t rxSize, uint8_t *txData, uint16_t *txSize);

    #endif

    and again:

    #ifdef HAS_MCC

        else if ((protocol & 0xf0) == 0xe0)

        { /* mifare commands */

          err = mccDeinitialise(0);

        }

    #endif​ 

    and so on ...

    so basically what is needed to support mifare classic is finding these two files (mcc.h and mcc_raw_request.h) or implement your own.

    I hope someone from ST answers this question here.

    Visitor II
    September 15, 2018

    Above comment is related to SW dev package for ST25R3911B-DISCO board.

    Technical Moderator
    October 3, 2018

    Hi,

    yes, mifare_ul.c,h relates to Mifare Ultralight/T2T (non-crypto) tags.

    ST25R3911B can send and receive all the frames required for Mifare Classic (with crypto1 cipher) based communication.

    Unfortunately we cannot provide you sources for doing this.

    Regards, Ulysses

    Visitor II
    October 22, 2018

    Hi,

    So, let me put it this way, if there is an agreement between someone (like me) and NXP, that means I have access to the documents from NXP which are supposed to be enough for implementing the Mifare classic support. On the other hand ST has this SDK and apparently these missing files exist somewhere, but are removed from SDK for some reasons. So, is it not possible that customers who have signed NDA document with NXP get this files from ST?

    BR

    Kompetenmt IT

    Technical Moderator
    October 22, 2018

    Hi,

    I would like to support you here but I cannot do so at the moment due to legal reasons. Even if you prove that you have an NDA with NXP.

    I am sorry!

    Ulysses

    Visitor II
    October 22, 2018

    So many issues make this embedded programing world even more exciting :) Thank you for your reply.