FormatPICC error

  • 2. February 2020 at 1:12
    Dear Colleagues,

    We are working on a project which enables office staff to "encode" DesFire cards with certain information to be used with on-site security and vending machines. It is based off a Freescale hardware and RC522 chip.

    Everything has been running smoothly thus far with final tests, except for one thing: FormatPICC.

    It appears that every time the format command is used, there seems to be a strange response from the card which results in an error.

    The following is a typical Format PICC transaction:


    PICC : 44 03
    PCD : 93 20 IRQ
    PICC : 88 04 94 43 5B
    PCD : 93 70 88 04 94 43 5B 45 11 IRQ
    PICC : 24 D8 36
    PCD : 95 20 IRQ
    PICC : A2 13 35 80 04
    PCD : 95 70 A2 13 35 80 04 8A EE IRQ
    PICC : 20 FC 70
    PCD : E0 50 BC A5 IRQ
    PICC : 06 75 77 81 02 80 02 F0
    PCD : D0 11 05 FF F1 IRQ
    PICC : D0 73 87
    ---
    Authentication OK - attempting to format card...
    PCD : 0A 00 FC IRQ
    PICC : FA 00 01
    PCD : AB 00 Result
    *Timeout in communication.



    The result code FA is not in any of the documentation.

    After this point, the card's ATS changes to: 06 75 77 81 02 8F F5 08 (Note historical byte 0x8F) and stops responding to further commands, but it does get formatted.

    The historical byte does reset back to 0x80 once the card is scanned using the NXP TagInfo app and works fine again.

    Has anyone encountered similar any issues with using the FormatPICC command?
    + 0  |  - 0
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.