Lattice IC Unlock — Authorized Bitstream and Firmware Recovery
Lattice IC unlock is the process of reading the configuration bitstream or embedded firmware from a protected Lattice Semiconductor FPGA or CPLD. Our engineers recover bitstreams from iCE40, MachXO, MachXO2, MachXO3, ECP5, and selected legacy ispMACH and ispLSI families. Success depends on the specific device revision, security-fuse state, and whether AES-128/AES-256 encryption was enabled at programming time. Typical turnaround runs 5–10 working days for non-encrypted parts, and all work requires proof of design ownership or written authorization.
Why Lattice Devices Need Specialized Unlock Techniques

Lattice parts differ from standard microcontrollers because the “firmware” is actually a bitstream that configures look-up tables, routing, and I/O. Protection features vary widely across families:
- Security bit (OTP fuse): Once blown, the JTAG read-back command is disabled. Present on MachXO, MachXO2, MachXO3, and iCE40 Ultra/UltraPlus.
- AES encryption: MachXO2/MachXO3 and ECP5 support AES-128 or AES-256 encrypted bitstreams. If the key was programmed into non-volatile storage, the raw bitstream on the SPI flash is ciphertext.
- Password lock: Some MachXO2/MachXO3 devices use a 64-bit password that gates JTAG access without full encryption.
- One-time-programmable (OTP) vs. flash: iCE40LP/HX store configuration in NVCM (one-time) or external SPI flash; MachXO series use internal flash. Each storage type demands a different extraction path.
Generic JTAG readers simply return all zeros or an error when the security bit is set. Our lab uses a combination of voltage-glitch injection, side-channel probing, and proprietary JTAG sequences tuned per silicon revision to bypass or circumvent these protections — where technically possible.
Which Lattice Families Can We Read?
| Family | Common Parts | Protection Level | Recovery Feasibility | Notes |
|---|---|---|---|---|
| iCE40LP / iCE40HX | iCE40LP1K, iCE40HX8K | NVCM lock bit | High (≥ 85 %) | External SPI flash variants are straightforward; NVCM-only requires die-level work |
| iCE40 Ultra / UltraPlus | iCE40UP5K | Security bit + optional SPI encryption | Medium–High | Non-encrypted SPI flash read is routine; encrypted needs key recovery |
| MachXO | LCMXO256, LCMXO2280 | Security fuse | High | Legacy 130 nm process; well-characterized glitch vectors |
| MachXO2 | LCMXO2-1200, LCMXO2-7000 | Security bit, 64-bit password, AES-128 | Medium (password) / Low (AES-128) | Password-only locks recoverable in most cases; AES-encrypted parts case-by-case |
| MachXO3 | LCMXO3L-6900, LCMXO3D-9400 | AES-256, security bit | Low–Medium | Newer 65 nm node; AES-256 significantly harder |
| ECP5 / ECP5-5G | LFE5U-25F, LFE5UM5G-85F | AES-256, secure boot | Low | High-end fabric; encrypted bitstream is the norm in field deployments |
| ispMACH 4000 | LC4032V, LC4256V | Security fuse | High (≥ 90 %) | Mature CPLD; fuse bypass well understood |
| ispLSI 1000 / 2000 | ispLSI1016, ispLSI2064 | Security fuse | High | 5 V legacy parts; often found in industrial controllers from the 1990s |
Key takeaway: Non-encrypted, security-fuse-only parts (iCE40, MachXO, ispMACH, ispLSI) have the highest recovery rates. Once AES encryption is active and the key is stored in OTP, recovery depends on silicon-level vulnerabilities that may or may not exist for a given revision.
How Our Lattice IC Unlock Process Works
Step 1 — Feasibility Assessment (Free)
Send us the exact part number (e.g., LCMXO2-4000HC-4TG144C) and, if known, whether encryption was enabled. We cross-reference our internal database of tested revisions and provide a feasibility rating within one business day. No charge, no obligation.
Step 2 — Device Preparation
You ship the programmed IC (or the complete PCB). For BGA packages like the ECP5, we desolder using IR reflow at 245 °C peak with a controlled 3 °C/s ramp to avoid pad damage. QFP and QFN parts are removed with hot-air at 320–350 °C.
Step 3 — Security Bypass
Depending on the protection tier:
- Security-fuse-only: Voltage-glitch on VCCint during the JTAG initialization handshake, timed to a 10–50 ns window, forces the device into an unsecured state long enough to clock out the bitstream.
- Password lock: Brute-force of the 64-bit password space is infeasible, but certain MachXO2 revisions expose the password hash through a side-channel on the DONE pin during specific command sequences.
- AES-encrypted: If the key is stored in volatile SRAM (powered by battery), we attempt key extraction from the SRAM cells. If the key is in OTP fuses, microprobing at die level may be required — this adds 15–25 working days and is quoted separately.
Step 4 — Verification and Delivery
The extracted bitstream is loaded onto an identical blank Lattice device and functionally compared against the original. We deliver the raw .bit file, a .jed file (for CPLDs), or the SPI flash image, depending on the family. All files are encrypted in transit and covered by our NDA.
Turnaround and Pricing Signals

| Protection Tier | Typical Turnaround | Starting Price Range |
|---|---|---|
| Security fuse only (iCE40, MachXO, ispMACH) | 5–8 working days | USD 400–900 |
| Password lock (MachXO2) | 7–12 working days | USD 800–1,500 |
| AES-encrypted (MachXO3, ECP5) | 15–30 working days | USD 2,000+ (quoted per case) |
| Legacy CPLD (ispLSI 1000/2000) | 3–5 working days | USD 300–600 |
Pricing depends on package type (BGA desoldering costs more), the number of configuration bits (an ECP5-85F has ~4× the bitstream of an ECP5-25F), and whether die-level microprobing is needed. We charge nothing if recovery fails.
When Lattice IC Unlock Is — and Isn’t — the Right Path
Authorized recovery makes sense when:
- You designed the product but lost the source HDL and project files.
- An original equipment manufacturer needs to maintain or upgrade a legacy board whose FPGA vendor tools no longer support the device.
- A contract manufacturer programmed your design and you need to verify the production bitstream matches your golden reference.
It is not appropriate — and we will decline the project — when the goal is to duplicate a competitor’s proprietary design. Every Lattice IC unlock engagement requires a signed authorization form and proof of IP ownership or legal right. Details on our verification process are on our authorization and NDA policy page.
Related Programmable-Logic and IC Unlock Services
Lattice acquired Actel/Microsemi’s low-power FPGA line. If your board uses an older Actel ProASIC or IGLOO part, see our Actel / Microsemi FPGA recovery page. For boards combining a Lattice FPGA with a companion microcontroller, we also handle Maxim mixed-signal IC readout, ON Semiconductor MCU extraction, and QuickLogic eFPGA bitstream recovery. Multi-chip boards are quoted as a single project so you get one deliverable package.
What Can Go Wrong — Honest Limitations
No lab can guarantee 100 % success on every Lattice part. Here are the realistic failure modes our engineers encounter:
- Blown OTP key + AES-256: If the encryption key lives in OTP fuses and the silicon revision has no known side-channel, the bitstream is mathematically unrecoverable without the key.
- Die damage during decapsulation: BGA parts with copper pillars (ECP5-5G) are more fragile; roughly 5–8 % of decapsulations cause bond-wire or redistribution-layer damage.
- Revision mismatch: Lattice frequently respins silicon. A technique proven on rev. B may not work on rev. C. We maintain a revision database but cannot test every stepping in advance.
- Partial reads: Occasionally the glitch window yields 95–99 % of the bitstream. We can often reconstruct the missing frames from ECC data, but this adds 2–3 days and is not always successful.
We communicate these risks upfront during the feasibility check and do not charge if the extraction fails.
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 you recover a Lattice MachXO2 bitstream if AES-128 encryption was enabled?
It depends on how the key was stored. If the AES-128 key resides in volatile SRAM backed by a battery, extraction is possible by reading the SRAM cells directly. If the key was burned into OTP fuses, recovery is significantly harder and may require die-level microprobing. We assess each MachXO2 case individually during our free feasibility review.
Is Lattice IC unlock legal?
Yes, when performed on devices you own or have legal authorization to access. Common scenarios include recovering your own lost design files, maintaining legacy equipment, or verifying production programming. We require signed proof of ownership or authorization before starting any project. Read more on our trust and authorization page.
What file formats do you deliver after a Lattice FPGA readout?
For FPGAs (iCE40, MachXO, ECP5) we deliver the raw .bit bitstream and, where applicable, the SPI flash binary image. For CPLDs (ispMACH, ispLSI) we provide .jed JEDEC files compatible with Lattice Diamond or ispLEVER. All files are verified by programming a blank device and running a functional comparison.
How long does it take to unlock an iCE40 FPGA?
For iCE40 parts using external SPI flash without encryption, turnaround is typically 3–5 working days. NVCM-only iCE40 parts with the security bit set require a voltage-glitch procedure and take 5–8 working days. We confirm the timeline during the feasibility assessment.
Do you need the whole PCB or just the Lattice IC?
Either works. If you send the complete board, our technicians desolder the device using controlled IR or hot-air profiles appropriate for the package. If you can safely remove the IC yourself (especially for QFP or PLCC packages), shipping just the chip reduces transit risk and cost. For BGA packages we recommend sending the full board to avoid pad damage.
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