How the 20-bit EPC Gen2v2 Lock payload is structured
In GS1 EPC UHF Gen2 Air Interface Protocol (EPC Gen2v2 / ISO/IEC 18000-63, §6.3.2.11 Lock), a reader locks or unlocks tag memory by sending a single 20-bit payload inside the Lock command (after transitioning the tag to the Secured state). Those 20 bits split cleanly into two 10-bit halves:
- Bits
19..10— 10-bitMask: five 2-bit pairs ([PWD_Mask, PERM_Mask]) ordered from MSB to LSB as Kill Password (19..18), Access Password (17..16), EPC Bank 01 (15..14), TID Bank 10 (13..12) and User Bank 11 (11..10). Setting a mask bit to1tells the tag to apply the corresponding action bit;0leaves that lock bit untouched. - Bits
9..0— 10-bitAction: five matching 2-bit pairs ([PWD_Action, PERM_Action]) in the identical order (9..8Kill,7..6Access,5..4EPC,3..2TID,1..0User). - Password slots vs data banks: Setting
10b(PWD=1, PERM=0) or11b(PWD=1, PERM=1) onEPCorUsermemory blocks unauthorised writes while keeping the bank readable during inventory. Setting10bor11bonKillorAccessinBank 00blocks both reads and writes so no third-party scanner can dump your passwords over RF.
Reference 20-bit Gen2 Lock payloads
| Preset | 20-bit Hex | Right 3B | LLRP (left 3B) | Use case |
|---|---|---|---|---|
| Password-lock EPC + Access + Kill (FC2A0h) | FC2A0 | 0F C2 A0 | FC 2A 00 | Standard reversible field deployment: locks EPC against Open overwrites and hides both Bank 00 passwords. |
| UCODE 9 / 9xe Permalock EPC only (0C030h) | 0C030 | 00 C0 30 | 0C 03 00 | Permanently freezes EPC on NXP UCODE 9 / 9xe where Access Password is hardwired to zero. |
| UCODE 9 / 9xe Permalock EPC + Kill (CC330h) | CC330 | 0C C3 30 | CC 33 00 | Permanently seals a non-zero Kill Password in Bank 00 and permalocks EPC read-only for life. |
| Password-lock EPC + User + Passwords (FC2A2h) | FCEA2 | 0F CE A2 | FC EA 20 | Locks Bank 01 EPC, Bank 11 User memory and both Bank 00 passwords under a non-zero Access Password. |
| Re-unlock EPC only in Secured state (0C000h) | 0C000 | 00 C0 00 | 0C 00 00 | Clears PWD lock on Bank 01 EPC (requires non-zero Access Password session and PERM = 0). |
Three UHF silicon rules to check before locking a batch
NXP UCODE 9&UCODE 9xefixed-zero Access Password: Both UCODE 9 (SL3S1206) and UCODE 9xe (SL3S1216) ship with a settable 32-bit Kill Password,0bits of User memory, and their Access Password permanently fixed at00000000h. Because Gen2 tags with a zero Access Password enterSecuredstate for every reader, password-lock (0C020h) does not protect their EPC — issue Permalock (0C030horCC330h) once the final EPC andPCword (sized in our UHF Memory & PC Word Calculator) are verified.Impinj M700 / M800shared password slot vs independent passwords: In the Impinj M700 product brief (and M830/M850), one shared 32-bit value serves both the Access and Kill passwords, whereas Alien Higgs-9, NXP UCODE Nxm and Impinj Monza 4QT store independent 32-bit Kill and Access passwords (see NXP UCODE 9 vs Impinj M730, M750 & M830/M850).- Write non-zero passwords before issuing
FC2A0horCC330h: PermalockingBank 00while a password word still holds00000000hfreezes it at zero permanently (making the Kill command permanently unusable per Gen2v2 §6.3.2.11.2.8, or leaving Access permanently open). Always write and verify Bank 00 Words00h–03hfirst, then apply the Lock mask.