MAX II CPLD Unlock: What Engineers Need to Know
MAX II CPLD unlock is the process of recovering the configuration bitstream from Altera (now Intel) MAX II series complex programmable logic devices when the original design files have been lost or are otherwise unavailable. The MAX II family—including EPM240, EPM570, EPM1270, and EPM2210 devices—stores its configuration in internal flash memory (CFM) rather than external EEPROM, and Altera provides a security bit that prevents JTAG readback. Our engineers use a combination of non-invasive JTAG-level techniques and, where necessary, invasive flash-layer analysis to recover bitstreams for authorized owners. Success depends on the specific device variant, package type, and whether the ISP lock or security fuse has been set.
How Does MAX II Protection Actually Work?

Unlike SRAM-based FPGAs that load from an external flash at power-up, the MAX II architecture integrates a user flash memory (UFM) block and a configuration flash memory (CFM) block on-die. Security relies on a one-time-programmable (OTP) security bit within the CFM. When this bit is programmed via Quartus, the JTAG readback path is disabled at the silicon level.
Key protection characteristics of MAX II devices:
- Security bit (ISP_CLAMP): Disables JTAG-based configuration readback. Once set, it cannot be cleared without erasing the entire device.
- JTAG lock: A separate 10-bit key that restricts ISP operations. This is less robust than the security bit and can sometimes be bypassed.
- No encryption: MAX II bitstreams are stored in plaintext within the CFM. There is no AES or DES encryption layer—protection is purely access-control based.
- UFM independence: The 8 Kbit user flash memory block can be read/written independently if the security bit only protects the CFM.
Because the bitstream is unencrypted, the primary barrier is physical access to the flash cells rather than cryptographic strength. This makes MAX II CPLD unlock fundamentally different from recovering firmware from AES-256-protected FPGAs like Xilinx 7-series or Intel Stratix 10 devices.
Which MAX II Variants Can Be Unlocked?
| Device | Logic Elements | CFM Size (bits) | Unlock Feasibility | Notes |
|---|---|---|---|---|
| EPM240 | 240 | ~42,000 | High | Smallest die; well-characterized flash layout |
| EPM570 | 570 | ~98,000 | High | Most common variant in legacy designs |
| EPM1270 | 1,270 | ~215,000 | Moderate–High | Larger die increases invasive complexity |
| EPM2210 | 2,210 | ~373,000 | Moderate | Highest LE count; longer extraction time |
| MAX IIG (EPM240G, EPM570G) | 240 / 570 | Same as base | High | Green/RoHS variant; identical flash architecture |
| MAX IIZ (EPM240Z) | 240 | ~42,000 | High | 1.8 V core variant; same CFM structure |
The EPM240 and EPM570 are the most frequently requested for unlock and have the highest documented success rates in our lab. The EPM2210, with its larger die area, requires more precise invasive work but remains recoverable in the majority of cases when the die is undamaged.
Our MAX II CPLD Unlock Process
Step 1: Feasibility Assessment
Every MAX II CPLD unlock project starts with a no-cost feasibility check. You ship us the device (or the entire PCB), and our engineers determine the exact part number, revision, package, and whether the security bit or JTAG lock is active. We use boundary-scan interrogation to read the JTAG IDCODE and probe the ISP state machine without risking the stored configuration. This step takes 1–2 working days.
Step 2: Non-Invasive Attempt
If only the JTAG lock is set (without the security bit), recovery can sometimes proceed through protocol-level techniques that reset the lock state while preserving CFM contents. This path is faster, lower-risk, and less expensive. Success rate for JTAG-lock-only devices exceeds 90%.
Step 3: Invasive Recovery
When the security bit is programmed, non-invasive methods are blocked. Our lab then decapsulates the device using fuming nitric acid or laser decap, exposes the flash array, and reads the CFM cells directly using microprobing or optical/SEM-based techniques. The MAX II 180 nm TSMC process node has well-understood cell geometry, which aids reliable readout. This step is destructive to the package but preserves the data.
Step 4: Bitstream Reconstruction and Verification
Raw flash data is reassembled into a standard .pof or .jam bitstream. We verify the output by programming it into a blank MAX II device of the same part number and confirming functional equivalence on a test bench. If you supply a known-good reference board, we can also perform in-circuit verification.
Deliverables
- .pof (Programmer Object File) compatible with Quartus Programmer
- .jam / .jbc (JTAG-based programming files) for production ISP
- Optional: reverse-engineered VHDL/Verilog netlist (additional cost; see below)
- Binary dump of UFM contents if applicable
Cost and Lead Time for MAX II CPLD Unlock
| Scenario | Typical Cost (USD) | Lead Time (Working Days) |
|---|---|---|
| JTAG lock only (no security bit) | $400–$600 | 5–7 |
| Security bit set — EPM240/EPM570 | $600–$900 | 8–12 |
| Security bit set — EPM1270/EPM2210 | $800–$1,200 | 10–15 |
| Netlist reverse-engineering add-on | +$500–$2,000 | +5–10 |
Pricing depends on die condition, package type (TQFP packages are simpler to decap than micro-BGA), and whether you need just the bitstream or a full editable netlist. We require a minimum of two sample devices for invasive work—one for process calibration and one for the actual extraction.
When MAX II CPLD Unlock Makes Sense

Legitimate use cases we handle regularly:
- Legacy equipment maintenance: The original CPLD design files were lost when an engineering team disbanded or a company was acquired. The equipment is still in production use and needs spare boards.
- Obsolescence recovery: Altera discontinued several MAX II packages. Migrating to a MAX 10 or a Lattice MachXO device requires knowing the original logic design.
- Prototype IP recovery: You designed the logic yourself but lost the source after a drive failure or repository corruption.
- Failure analysis: Comparing the bitstream of a failed unit against a known-good reference to identify configuration corruption.
All projects require proof of ownership or written authorization. We operate under NDA and follow the guidelines outlined on our authorization and legal compliance page.
MAX II vs. Other CPLD Families: Unlock Comparison
Engineers often ask how MAX II compares to other CPLD families in terms of recoverability. The short answer: MAX II is among the more straightforward targets because it lacks bitstream encryption.
For comparison, Xilinx XC9500 CPLDs use a similar access-control-only protection model with no encryption, making them equally recoverable. Lattice MachXO devices, however, introduced optional AES-128 encryption in later revisions, which significantly increases recovery difficulty and cost. MCU-based designs like the PIC12 family use code-protect fuses with varying bypass difficulty depending on the specific die revision.
Risks and Limitations
No recovery service can guarantee 100% success. Specific failure modes for MAX II CPLD unlock include:
- Die damage during decap: Aggressive chemical exposure or thermal shock can destroy flash cells near the die edge. We mitigate this with laser-assisted decapsulation on BGA packages.
- Flash charge degradation: Devices stored unpowered for 15+ years may exhibit marginal cell charge levels. Altera specifies 20-year data retention at 85°C, but real-world results vary.
- Remarked or counterfeit parts: We occasionally receive devices that are not genuine MAX II silicon. JTAG IDCODE verification catches this early, but it does waste time.
- Partial reads: On EPM2210 devices, the larger CFM can occasionally yield a partial extraction. We re-run the process on the second sample in such cases.
Our current aggregate success rate across all MAX II variants is above 85% for devices with confirmed genuine silicon and intact die.
Getting Started: Submit Your MAX II Device for Evaluation
If you need a MAX II CPLD unlock, the fastest path is to send us the device or board for a free feasibility assessment. We will confirm the part revision, check protection status, and provide a firm quote within two working days.
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 reviewCan a MAX II CPLD be unlocked without destroying the chip?
If only the JTAG lock is set (not the security bit), yes—non-invasive JTAG-level techniques can recover the bitstream without damaging the device. However, if the security bit is programmed, invasive decapsulation is required, which destroys the package. The configuration data itself is preserved and programmed into a new blank device.
What files do I receive after a MAX II CPLD unlock?
Standard deliverables include a .pof file and .jam/.jbc programming files, all compatible with Intel Quartus Programmer. If you also need an editable HDL netlist (VHDL or Verilog), that is available as an add-on service at additional cost. We also extract UFM contents if your design uses the user flash block.
How many sample devices do you need?
For non-invasive recovery (JTAG lock only), one device is sufficient. For invasive recovery requiring decapsulation, we request a minimum of two devices—one for process calibration and one for the actual data extraction. If you have only one device available, contact us to discuss risk-adjusted options.
Is MAX II CPLD unlock legal?
Recovery of your own design IP or firmware you are authorized to access is legal in most jurisdictions. We require proof of ownership or written authorization from the IP holder before starting any project. All work is performed under NDA. See our trust and compliance page for details.
Can you convert the recovered bitstream to a different CPLD family?
Yes. If you are migrating from a discontinued MAX II device to a MAX 10, Lattice MachXO3, or similar CPLD, we can reverse-engineer the bitstream into an HDL netlist and re-target it to the new device. This is a separate service with its own timeline and cost, typically quoted after the initial bitstream recovery is complete.
Related IC Unlock Services
- Xilinx XC9500 CPLD unlock — similar access-control protection, high success rate
- Lattice MachXO CPLD recovery — covers both non-encrypted and AES-protected variants
- PIC12 microcontroller unlock — small-footprint MCU firmware extraction
Working on a board like this?
Send the chip marking or two photos. You get feasibility, lead time and price within 24 hours, and the check costs nothing.
Get a free quote