🛡️ Secure your IP with 100% Air-Gapped Labs & Signed NDAs
WhatsApp: +86 18928482768 | sales@pcbdesignlab.com

Summary

Five realistic paths when an MCU on a legacy board is secured: authorized readout, vendor firmware, re-creation, subsystem swap, or redesign, with trade-offs.

If the microcontroller on your legacy board is secured, you have five realistic paths before committing to a full redesign: an authorized readout of hardware you own, firmware obtained from the original vendor or contract manufacturer, re-creation of the behavior on a modern MCU, a board-level workaround that replaces only the secured subsystem, and a clean redesign. No single path is right for every case. The decision usually turns on four questions: how many units you must sustain, what your certification or quality system demands, how much schedule pressure you are under, and whether you can document ownership of the hardware. The sections below map each option against those criteria, including the inputs it needs and the failure modes that most often derail it.

What secured actually means on a legacy board

When a supplier says an MCU is secured, it can mean three things. A readout protection bit in internal flash blocks the debug port but can be cleared by a mass erase. Permanent protection is one-way and disables the debug interface for good. A broader secure architecture adds encrypted external memory, a signed boot chain, and a device-unique identifier that binds code to one part.

That distinction decides whether a readout can return the original firmware. On many modern parts, clearing readout protection erases the flash, so the silicon vendor offers no non-destructive readback. Where the code matters, the work shifts to physical methods, and the sample often does not survive.

Look beyond the MCU as well. Legacy boards often keep calibration tables, configuration, or licensing data in an external EEPROM or serial flash beside the processor. Those memories follow industry device standards maintained by JEDEC, whose documents define much of what general-purpose tooling can read and verify. Recovering the external memory plus a partial behavioral map is sometimes enough to rebuild a working product without touching the secured core.

Option 1: Authorized readout of hardware you own

This is the most direct route when it applies. Our IC unlock service accepts only boards whose owner can prove ownership and give written authorization, the same constraint any reputable lab should apply.

When it fits. You own the equipment and can document it. You need a few units sustained, not a production line. The protected content is the original firmware, including calibration constants or keys you cannot reproduce another way. Behavior must match exactly, for example because the board speaks an undocumented protocol to equipment still in service.

What it needs. An evidence pack: purchase orders, asset register entries, serial numbers, service history, and a written statement that you own the hardware and authorize the work. An NDA and controlled data flow are standard, and an air-gapped lab keeps client binaries off any network. Expect a bench setup that can boot and observe the board, rework to reach test points or the programming interface, and, for hard targets, decapsulation with microprobing or fault injection.

Main risks. Decapsulation is destructive, so the unit you send may not come back alive. Where the silicon only offers an erase-based unlock, readout returns a blank device rather than your code, and the project must move to another option. Effort scales with the protection level and metal layer count, and a failed attempt can consume your only spare. Send a single unit only after the lab states which path it will attempt and the outcome if it fails.

Option 2: Obtain firmware from the vendor or contract manufacturer

Before funding a recovery effort, spend a week on paperwork. The firmware may already be reachable through a contract, and that route is cheaper, faster, and easier to defend than bench extraction.

When it fits. The original manufacturer or contract manufacturer still exists, or you bought the product line with its design rights. Source code escrow clauses appear in more older OEM agreements than people expect, and checking costs little.

What to ask for. Not just a binary. Request the full source archive, the exact build environment and toolchain version, linker or scatter files, peripheral initialization code, calibration and provisioning records, checksums for each revision, and the change history. Ask who holds the intellectual property, because the manufacturer may hold the tooling while the IP sits elsewhere.

Main risks. The source may be lost, the toolchain obsolete, or the licenses tied to a company you cannot reach. Firmware compiled for one silicon revision may not run on a substitute part. Negotiation can drag if the vendor treats the request as a low-priority ticket.

Axis 2100 PCB with a secured microcontroller and surrounding support circuitry seen from above

Option 3: Re-create the behavior on a modern MCU

Here you stop chasing the original code and rebuild the function. The output is new firmware for a current part with long-term availability, and the source belongs to you.

When it fits. The board performs a bounded, well-understood job: a control loop, a data logger, a converter between two interfaces. Unit counts are modest, the product has no safety-critical certification, and you value maintainable code more than bit-level fidelity.

What it needs. Black-box characterization. Instrument the board and capture bus traffic and I/O behavior across complete operating cycles, including startup, fault states, and power transitions, then write down the state machine you observe. You also need a working reference unit, an agreed functional specification, and acceptance tests written against observable behavior. Operators and old service records are useful sources for expected behavior.

Main risks. Undocumented corner cases, timing margins, clock or temperature dependence, and analog trim values inside the old part with no equivalent on the new one. Rebuilt firmware also changes your verification story: you own the evidence that the product behaves correctly, which matters in a regulated class.

Option 4: Replace the secured subsystem at board level

Sometimes the secured MCU handles only part of the product. It might drive a display, scan a keypad, bridge two buses, or front-end a sensor, while the rest of the board stays available. You can leave the surrounding circuitry alone and replace the subsystem.

When it fits. The rest of the board is functional and documented, the interface to the secured part can be characterized, and the enclosure has room for an adapter or daughterboard.

What it needs. Reverse engineering of the interface: bus protocol, timing, power sequencing, and the edges the surrounding circuit expects. Then a modern module or small MCU running your own code, plus schematic and layout edits to tie it in. The deliverable is usually a drop-in assembly that keeps the original connectors and mounting.

Main risks. Mechanical fit and height, handshake quirks that appear only on cold start, and hidden shared data such as calibration tables the old MCU served to the board. Mixed old and new firmware also complicates service documentation, so label the assembly clearly.

Option 5: Full redesign

Redesign is not a failure. For many programs it is the honest answer, because the alternative is sustaining a single point of failure for a decade.

When it fits. You need volume, long-term supply, lower power, new features, or compliance with current EMC expectations. The old architecture is the bottleneck, not just the locked part.

What it needs. A design brief, documented ownership of the existing design, and a validation plan. Reverse engineering the current board is still the first step, because a verified schematic, netlist, and BOM gives the new design a proven baseline. That baseline work sits inside our PCB redesign and upgrade service, which is how most modernization projects begin.

Main risks. Cost and schedule, re-certification from scratch, and integration regressions when several changes land at once. Decide early how closely form, fit, and function must match the original, because enclosure, connectors, and mating harnesses define that boundary. A first article that behaves identically, followed by planned improvements, is safer than one large leap.

What Readout Cannot Recover

A successful readout is not the same as a maintainable product. Before destructive work, separate three outcomes: recovering a binary, recovering source, and recovering the ability to change behavior.

When the protection is one-way

Some parts are fuse-locked or use one-time-programmable configuration that permanently disables the debug interface. Others bind code to a device-unique identifier or verify a signature at boot. There is no non-destructive path, and physical attempts may return nothing or destroy the sample. Ask the lab to state the protection class before it quotes a readout.

When the code is not the whole product

Even a complete binary may not be enough. Calibration constants in OTP, factory analog trim values, provisioning keys, and external memory encrypted with a key inside the secured die all sit outside the recovered image. A rebuild may also need the original toolchain and linker layout to reproduce timing. If the goal is to change the product rather than duplicate it, plan for characterization and a new firmware baseline, not only a dump.

How to choose between the five options

Four criteria separate these paths faster than technical analysis. Score your project against them before you request quotes. The IC unlock category collects further reading on the authorization and recovery side.

Criterion Points toward the smaller fixes Points toward redesign
Quantity needed A handful of units, spares for one machine or fleet A production line, or supply guaranteed for years
Certification burden Unregulated industrial or laboratory equipment Devices in a regulated class that require re-qualification
Timeline pressure A hard repair deadline, with costly downtime A planning window measured in quarters
Ownership evidence Purchase records, asset tags, serials in hand Ownership unclear, which any responsible lab must decline

What to prepare before you contact a lab

A complete first message shortens the whole project. Assemble these items before you write it:

  • Proof of ownership or written authorization for the hardware you want recovered.
  • Clear photos of both board sides with legible part markings, plus an MCU close-up.
  • Quantity of units involved, and whether any must be returned in working condition.
  • A plain description of what the product does and what it must do after the work.
  • The interfaces it uses (serial, fieldbus, analog, radio) and the equipment it must still talk to.
  • Your deadline, certification context, and any documentation your quality system requires.
  • Your preferred NDA or a request for the lab’s, plus the data flow you expect.

Ask the lab to reply with a written plan naming the riskiest step, the fallback if it fails, and where recovered data will live. A lab that will not state those things is telling you something useful.

Start with the smallest path that satisfies your real constraint, and treat redesign as the planned endgame rather than a punishment for a locked chip. If unsure, send board photos, the part marking, quantity, and timeline first; a short technical exchange usually settles the direction before any unit ships.

Frequently Asked Questions

Can a secured MCU always be read without destroying it?

No. Some protection schemes allow a non-destructive readback once the unlock procedure is applied, while others erase the flash or are permanently one-way. On harder targets the lab may need decapsulation and probing, which can destroy the sample. Ask for the protection class and the expected outcome before you send the only working unit you have.

Is a firmware dump the same as source code?

No. A dump is a binary image. It does not include comments, build scripts, the original toolchain, or linker layout, and it may omit calibration values stored elsewhere. You can sometimes disassemble and analyze it, but rebuilding or changing behavior usually needs characterization, new code, or the original source from the vendor.

Which option is fastest for a single failed machine?

Usually an authorized readout when the part permits it, or a vendor firmware request if the original source can still be found. A subsystem replacement can be quicker when only one function is locked and the interface is simple. A full redesign is rarely the fastest route for one machine, because layout, validation, and re-certification take time.

What ownership evidence does a lab need?

Enough to show you own the hardware or are authorized to reproduce it: purchase orders, asset register entries, serial numbers, service history, and a signed authorization statement. A reputable lab will decline the project if that evidence is missing. Prepare the pack before you ask for a quote so the technical discussion can start immediately.

Conclusion

  • Identify the protection class first, because it decides whether readout can return code at all.
  • Exhaust vendor and contract records before you pay for expensive, destructive bench attempts on hardware.
  • Match the option to your unit count, certification burden, timeline pressure, and available ownership evidence.
  • Treat a binary dump as one input, not a maintainable design, and plan for characterization.

Get Weekly PCB Engineering Insights!

Practical insights on PCB design, PCB reverse engineering, IC unlocking and hardware development from PCBDesign Lab.

One email each week. Unsubscribe anytime. Read our privacy policy for more info.

Get Started

PCBDesign Lab Has Helped 100+ Customers Build Their Products

Free Consulting