Free PC/SC NFC Reader APDU Command Builder

Generate exact PC/SC Part 3 storage-card APDUs (FF CA, FF 82, FF 86, FF B0, FF D6, FF C2) and compare ACS ACR122U, ACR1252U & ACR1552U SCardControl escape commands (E0 00 00 18, E0 00 00 21) side by side — with MIFARE Classic sector-trailer safeguards and ISO 15693 compatibility checks built in.

Updated

e.g. 4, 04h or 0x04 (0..255).

Key placeholder safety

Generated command & cross-reader migration check

FF CA 00 00 00 via SCardTransmit (ACS ACR1252U (Reader III)).

Primary APDU / Escape command hex

FF CA 00 00 00

PC/SC WinSCard API call

SCardTransmit

PICC interface string

ACS ACR1252 1S CL Reader PICC 0

Address context: Sector 1 (trailer at Block 07h) · ACS ACR1252U (Reader III) · USB Type-A (ACR1252U-M1) or Type-C (ACR1252U-MF) · Supported configuration.

Execution sequence & expected SW1 SW2 response

Step & API Command hex Expected response Notes
Loading PC/SC command sequence…

ACR122U vs ACR1252U vs ACR1552U command comparison

Reader API channel Equivalent command Driver / OS note
Loading ACS reader comparison…

Sourcing desktop USB NFC readers alongside your RFID cards or tags?

Proud Tek manufactures MIFARE Classic cards, NTAG NFC stickers, ICODE SLIX2 laundry buttons and dual interface smart cards in Shenzhen, and supplies ACS USB NFC readers (ACR122U, ACR1252U & ACR1552U) and desktop SDK reader-writers so you can test cards and readers from one shipment.

Never paste production MIFARE, NTAG or DESFire keys into an inquiry form. Standard blank card/tag samples are free; readers and custom-encoded samples are quoted before dispatch.

ACS ACR122U vs ACR1252U vs ACR1552U hardware & PC/SC matrix

Standard card-memory APDUs (FF CA, FF 82, FF 86, FF B0, FF D6) carry across all three ACS generations unchanged, while protocol coverage, extended APDU length and reader-control escape codes differ (ACS ACR122U Application Programming Interface V2.04; ACS ACR1252U Application Programming Interface V1.17; ACS ACR1552U Series Reference Manual V1.09):

Model USB options ISO 15693 Extended APDU & SAM ACR122 FF 00 compatibility
ACS ACR122U USB Type-A (fixed 1 m cable) No (14443 & FeliCa only) Not listed (CCID list notes no extended APDU); SAM: Not listed Native FF 00 40 / 48 / 50 / 51 / 52 pseudo-APDUs
ACS ACR1252U (Reader III) USB Type-A (ACR1252U-M1) or Type-C (ACR1252U-MF) No (14443 & FeliCa only) Up to 64 KB; SAM: 1 × ISO 7816 Class A SIM-size SAM slot Keeps FF 00 40 / 48 / 50 / 51; buzzer moves to E0 00 00 21
ACS ACR1552U (Reader IV) USB Type-A (ACR1552U-M1) or Type-C (ACR1552U-MF) Yes (ICODE SLIX / SLIX2) Up to 64 KB; SAM: 1 × ISO 7816 Class A SIM-size SAM slot None — all reader commands use E0 00 via SCardControl

Windows, Linux & macOS PC/SC integration checklist

  • Windows WinSCard: Card commands go to SCardTransmit with an active card; E0 00 ... escape commands go to SCardControl(hCard, SCARD_CTL_CODE(3500), ...) using SCARD_SHARE_DIRECT (or SCARD_SHARE_SHARED) after enabling EscapeCommandEnable = 1 or installing the ACS CCID driver.
  • Linux pcsclite: Install pcscd and acsccid (or recent libccid). On ACR122U systems, blacklist pn533_usb, pn533 and nfc in /etc/modprobe.d/ so the kernel NFC subsystem does not lock USB ID 072F:2200.
  • macOS CryptoTokenKit / PCSC.framework: Standard CCID works inbox; connect to the PICC reader slot (rather than the contact SAM slot on ACR1252U / ACR1552U) when polling contactless cards.

Questions about PC/SC NFC APDUs & ACS USB readers

Why do FF 00 48 and FF 00 52 stop working when migrating from ACR122U to ACR1252U or ACR1552U?

On the PN532-based ACR122U, firmware version (FF 00 48 00 00) and buzzer-on-card-detection control (FF 00 52 00 00) were pseudo-APDUs sent over SCardTransmit. On newer ACS readers, reader-peripherals move to SCardControl escape commands starting with E0 00 (using SCARD_CTL_CODE(3500) on Windows or CM_IOCTL_GET_FEATURE_REQUEST / IOCTL_CCID_ESCAPE on pcsclite). ACR1252U kept FF 00 48 for firmware but moved buzzer control to E0 00 00 21; ACR1552U removed the entire FF 00 compatibility table so both firmware (E0 00 00 18 00) and LED/buzzer (E0 00 00 21) require SCardControl.

Do FF CA, FF 82, FF 86, FF B0 and FF D6 change between ACR122U, ACR1252U and ACR1552U?

No. Those five commands are standard PC/SC Workgroup Part 3 storage-card instructions handled by the reader firmware over SCardTransmit when a card is present on the PICC interface: FF CA 00 00 00 reads the anticollision UID, FF 82 loads volatile authentication keys into slots 00h–01h, FF 86 authenticates a MIFARE Classic sector, FF B0 reads binary blocks/pages, and FF D6 updates binary blocks/pages.

Why does SCardControl return ERROR_INVALID_PARAMETER or fail on Windows when sending E0 00 escape commands?

Microsoft’s built-in Windows USB CCID driver (WUDFUsbccidDriver) blocks vendor escape commands by default. Either install the official ACS PC/SC driver or set EscapeCommandEnable (REG_DWORD = 1) under HKLM\SYSTEM\CurrentControlSet\Enum\USB\VID_072F&PID_<pid>\<instance>\Device Parameters and replug the reader.

Why is my ACR122U invisible to pcsc_scan on Linux?

Linux kernels ship the pn533 / pn533_usb and nfc Netlink modules, which claim USB ID 072F:2200 before pcscd’s libccid driver can open it. Blacklist pn533, pn533_usb and nfc in /etc/modprobe.d/blacklist-libnfc.conf (and unload them or reboot), then install acsccid or libccid and restart pcscd.

Which ACS desktop reader do I need for ISO/IEC 15693 (ICODE SLIX / SLIX2) tags or extended APDUs?

Specify the ACS ACR1552U (USB NFC Reader IV). Neither the ACR122U nor the ACR1252U supports ISO/IEC 15693 vicinity tags, whereas the ACR1552U supports ISO/IEC 14443 Type A/B, MIFARE, FeliCa, NFC Forum tags AND ISO/IEC 15693 (including ICODE SLIX / SLIX2) plus extended APDUs up to 64 KB. For ISO 14443-only extended APDUs without ISO 15693, ACR1252U also supports up to 64 KB.

WhatsApp