Search code examples
smartcardapdu

smartcard select mf return 69 86 command not allowed (no current ef)


When I try to select MF using apdu's below:

00 A4 00 00 or 00 A4 00 00 02 3F 00

I get 69 89, command not allowed (no current ef) error.

I am new to smartcards, is there anyone can help me?

Thanks in advance

enter image description here

enter image description here


Solution

  • Your smartcard is probably an ACOS5 card.

    The 6986 response to the SELECT command means "No MF found in card" (see section 5.2).

    You need to create MF first using the "Create File" command (see section 5.1).

    Good luck!