Bao'An Shenzhen China

CPLD Unlock | Reading Protected MAX, XC9500 & MachXO

Published · About 9 min read · PCB-Copy

On this page
  1. What Makes CPLD Unlock Different from MCU Unlock?
  2. Protection Mechanisms by CPLD Family
  3. How Our CPLD Unlock Process Works
  4. Turnaround & Pricing Ranges
  5. When CPLD Unlock Fails — Honest Constraints
  6. CPLD Unlock vs. Related IC Recovery Services
  7. Typical Use Cases for Authorized CPLD Bitstream Recovery
  8. Frequently Asked Questions
  9. Related IC Recovery Services

A CPLD unlock extracts the protected configuration bitstream from a Complex Programmable Logic Device so you can re-program replacement parts, maintain legacy equipment, or recover design IP you own but have lost source files for. Our lab handles Altera MAX II/V, Xilinx XC9500/XC9500XL, Lattice MachXO/MachXO2, and Cypress PSoC-based CPLDs—typically delivering verified JEDEC or SVF files within 5–15 working days, with authorization and NDA required for every job.

What Makes CPLD Unlock Different from MCU Unlock?

Microcontrollers store firmware in linear flash memory protected by read-out-protection (RDP/CRP) fuses. CPLDs are fundamentally different: they hold a configuration bitstream that defines logic connections, macrocell equations, and I/O routing inside a programmable fabric. The protection mechanisms vary by vendor and generation, and the extraction techniques are correspondingly distinct.

Where an MCU unlock often targets a single flash bank, CPLD unlock must reconstruct the entire macrocell map—including product-term allocations, global clock routing, and output-enable equations. A single misread bit can invert a critical logic path, so verification against the live device behavior is essential.

Protection Mechanisms by CPLD Family

cpld unlock: Technician probing a MachXO CPLD via JTAG for bitstream extraction
Family Vendor Process Node Protection Type Security Fuse Bits Unlock Feasibility
MAX II (EPM240/570/1270/2210) Altera (Intel) 180 nm CFM sector lock + ISP security bit 1 global + per-sector High (90%+)
MAX V (5M40/80/160/240/570/1270/2210) Altera (Intel) 180 nm Same as MAX II 1 global + per-sector High
MAX 10 (10M02–10M50) Intel 55 nm AES-128 bitstream encryption + JTAG lock Encrypted key in UFM Low–Medium
XC9500 / XC9500XL Xilinx (AMD) 350–180 nm Read-protect fuse (one-time) 1 global fuse High (85%+)
XC9500XV Xilinx 180 nm Read-protect + ISP-disable fuse 2 fuses Medium–High
CoolRunner-II (XC2C32–XC2C512) Xilinx 180 nm Security bit + JTAG disable 1–2 fuses Medium
MachXO (LCMXO256–LCMXO2280) Lattice 180 nm Security fuse + OTP lock 1 global High
MachXO2 (LCMXO2-256–LCMXO2-7000) Lattice 65 nm 128-bit Flash-lock + feature row lock Multi-bit key Medium
MachXO3 / MachXO3D Lattice 65–40 nm AES-128/256 + ECDSA Encrypted Low

Key takeaway: Older 180 nm and 350 nm CPLDs with single security-fuse protection are the most reliably recoverable. Newer families using AES bitstream encryption (MAX 10, MachXO3D) require the encryption key, which is often unrecoverable without the original key file. We provide a free feasibility assessment before any paid work begins.

How Our CPLD Unlock Process Works

Step 1 — Intake & Authorization

You ship the CPLD (desoldered or on-board) along with proof of ownership or a signed authorization letter. Every engagement operates under NDA. If you’re unsure about the legal framework, read our explanation of IC unlock legality and the jobs we decline.

Step 2 — Device Identification & Security Assessment

Our engineers read the JTAG IDCODE and boundary-scan register to confirm the exact silicon revision. For XC9500XL parts, for example, the IDCODE distinguishes an XC9572XL-10VQ64 (Rev 4) from an earlier revision—and the security fuse implementation can differ between revisions. We probe the security status bits via JTAG or SPI before attempting any invasive technique.

Step 3 — Bitstream Extraction

Depending on the protection level:

  • Fuse-level bypass (non-invasive): Protocol-level techniques that exploit timing or configuration-mode behavior. Used on most MAX II/V and XC9500 parts. No physical damage to the device.
  • Semi-invasive (optical/FIB): For devices with hardened fuse protection, we use focused-ion-beam (FIB) or UV exposure to reset or bypass the security fuse, then read the configuration memory normally. This is common for CoolRunner-II and some MachXO2 variants.
  • Decapsulation + microprobing: Reserved for high-value recoveries where other methods fail. The die is exposed and internal bus lines are probed directly. Success rate drops to roughly 60–70% and cost increases significantly.

Step 4 — Verification

Extracted bitstreams are programmed into a blank device of the same part number and tested against the original’s I/O behavior using boundary-scan vectors and, where available, functional test fixtures. We compare logic output on all configured pins across at least 50 input vectors.

Step 5 — Deliverables

You receive the bitstream in JEDEC (.jed), SVF, or vendor-native format (POF for Altera, BIT for Xilinx, JED for Lattice). If you need a reverse-engineered HDL netlist, that is a separate engagement priced based on macrocell count.

Turnaround & Pricing Ranges

Device Class Typical Turnaround Starting Price (USD) Notes
MAX II / MAX V (EPM240–EPM2210) 5–8 working days $400 Non-invasive; highest success rate
XC9500 / XC9500XL 5–10 working days $350 Older process, well-characterized
CoolRunner-II 8–12 working days $500 May require semi-invasive step
MachXO (original) 5–8 working days $400 OTP lock adds 2–3 days
MachXO2 10–15 working days $600 Flash-lock key recovery needed
MAX 10 / MachXO3 (AES-encrypted) 15–25+ working days $1,200+ Feasibility not guaranteed; free assessment first

Pricing depends on package type (BGA decapsulation costs more than TQFP), macrocell count, and whether HDL reconstruction is requested. Rush service (3-day) is available for MAX II/V and XC9500 at 1.5× standard pricing.

When CPLD Unlock Fails — Honest Constraints

We turn down or flag high-risk jobs upfront rather than charge for unlikely outcomes:

  • AES-encrypted bitstreams without the key: MAX 10 and MachXO3D use real AES-128/256. Without recovering the key from a companion storage element (e.g., a serial EEPROM holding the key), brute force is computationally infeasible.
  • Severely damaged dice: If the CPLD has been subjected to latch-up, significant ESD damage, or corrosion that reaches the configuration flash cells, recovery probability drops below 50%.
  • One-time-programmable (OTP) parts programmed with anti-fuse technology: Actel/Microsemi ProASIC and older anti-fuse FPGAs are not CPLDs, but clients sometimes confuse them. These are architecturally unreadable.

CPLD Unlock vs. Related IC Recovery Services

Desoldered Altera MAX II and Xilinx XC9500XL CPLDs ready for unlock

CPLDs sit between simple serial EEPROMs and full FPGAs in complexity. If your board also contains protected microcontrollers or memory ICs, we handle those in parallel. For instance, many legacy industrial controllers pair an XC9572XL with a Cypress CY8C PSoC microcontroller or a Renesas R5F-series MCU. Bundling CPLD and MCU unlock for the same board reduces total turnaround by 3–5 days because device-level verification can share test infrastructure.

Boards with serial EEPROMs like the 24C64 alongside a CPLD are common in motor drives and PLC modules. The EEPROM often stores calibration or configuration data that the CPLD references at power-up, so both must be read to produce a complete clone.

Typical Use Cases for Authorized CPLD Bitstream Recovery

Legacy Equipment Maintenance

A European packaging-machine OEM needed to replace failing EPM570 CPLDs on a 2009-era servo controller. The original design house had closed, and source VHDL was lost. We extracted the JEDEC file in 6 working days, verified it against the machine’s I/O timing, and the client programmed 30 spare parts for field inventory.

Product Redesign & Component Obsolescence

Xilinx discontinued the XC9572XL in PLCC-44 package. A medical-device manufacturer needed to migrate to the XC9572XL in VQ44 (same die, different package) but had lost the original JEDEC file. After CPLD unlock and functional verification, we also provided a reverse-engineered Verilog netlist so their team could port the design to a Lattice MachXO2 for long-term supply security.

Failure Analysis & Quality Investigation

When a batch of MachXO CPLDs exhibited intermittent failures, reading the bitstream from both working and failing units revealed a single product-term allocation difference caused by a programming tool bug. The client’s QA team used the extracted data to identify and quarantine affected boards.

Check feasibility for your project

Send the chip marking or board details and tell us what you need to recover. Add clear photos if available.

Request a feasibility review

Frequently Asked Questions

Can you recover the original VHDL or Verilog source from a CPLD?

Not directly. CPLD unlock produces the fuse map or bitstream—a gate-level representation. We can reverse-engineer this into a structural netlist (AND-OR equations, macrocell assignments), but behavioral HDL with meaningful signal names requires additional manual reconstruction, priced separately based on macrocell count (typically $200–$800 on top of the unlock fee).

Is the original CPLD destroyed during the unlock process?

For non-invasive extractions (MAX II/V, XC9500, MachXO), the device is returned fully functional. Semi-invasive methods (FIB, UV) may leave the device usable but with a reset security fuse—meaning it can now be freely read. Decapsulation destroys the package but not necessarily the die; however, the part cannot be resoldered.

Do I need to desolder the CPLD before shipping?

Not required. We can desolder TQFP, QFP, and BGA packages in-house using IR reflow stations. If you prefer to send the entire PCB assembly, that works—just protect it in anti-static packaging. Sending the whole board also lets us verify the unlock result in-circuit.

What authorization do you require for CPLD unlock?

We require written proof that you own the design, the equipment containing the CPLD, or have a signed letter from the IP holder authorizing the extraction. We decline jobs where ownership cannot be established. Details on our policy are available on our IC unlock legal requirements page.

Can you unlock CPLDs from other vendors like Cypress or Microsemi?

Cypress PSoC-based programmable logic and older Microsemi flash-based CPLDs are evaluated case by case. Anti-fuse devices (Actel AX, SX-A) are generally not recoverable. Submit your part number for a free feasibility check—we respond within one business day.

Related IC Recovery Services

Check feasibility for your project

Send the chip marking or board details and tell us what you need to recover. Add clear photos if available.

Request a feasibility review
TURN THE GUIDE INTO A PROJECT QUESTION

What do you need to recover?

Send the full marking or board photos, sample condition and required outcome. Ask for an NDA before sharing confidential files. Scope and sample handling are confirmed individually.

The article title is carried into the contact form. Add your own details and review the enquiry before sending.

WhatsApp Send board details