Summary
Authorized firmware extraction when you own the hardware: contracts, anti-circumvention rules, documents a lab needs, and the red flags that end projects.
Extracting firmware from hardware you own is often lawful engineering work, but the answer is never automatic. It depends on three questions: do you actually own the devices, does any contract you signed forbid reverse engineering, and does the chip use a protection scheme covered by anti-circumvention law. If you bought the boards outright, hold clear title, and never signed away the right to inspect them, reading your own STM32 flash is normally treated as servicing your own property. If the part is locked with read-out protection, an encrypted bootloader, or a disabled debug port, a careful lab will still ask for written authorization before touching it. The practical path is documentation first: proof of ownership, a signed authorization letter, and a confidentiality agreement in place before any readout work starts.
What “Authorized” Means in Practice
In this industry, “authorized” is not a mood or a promise. It is a paper trail tying a named company and a list of serial numbers to a stated permission to read the memory inside a chip. Labs usually want two elements.
Owning the Hardware
Physical ownership is the starting point. When you buy equipment, spare boards, or a production batch and keep invoices and asset records, the hardware is yours to inspect, repair, and maintain. Reading firmware from a device you own to keep it running is the same category as opening a panel to replace a failed capacitor.
Board ownership and code ownership are separate. Copyright in the firmware generally belongs to whoever wrote it, which may be the OEM, a design house, or a contract manufacturer. Owning the board gives you the right to use the product. It does not automatically give you the right to redistribute the extracted code or build competing units from it.
Having Written Permission
Written permission closes that gap. A short authorization letter, signed by someone with authority, stating that the named lab may extract and analyze firmware from listed devices for a described purpose, is usually enough. If the OEM is gone, permission can come from whoever holds the rights, from your own company if it commissioned the development, or from the customer who owns the units.
Where Contracts and Anti-Circumvention Rules Come In
Two other layers sit on top of ownership: the contracts you signed, and the law that protects technical protection measures. Both shape what a lab can accept.
Contract Terms That Follow the Product
Purchase agreements, statements of work, and end-user licenses often contain clauses restricting reverse engineering, disassembly, or decompilation. Those clauses can outlive the OEM because they bind the buyer. If your company commissioned the firmware from a design house, check whether the development agreement assigned the code to you or left it with the developer, since that clause decides who can authorize the work. A source code escrow or buy-out clause may already give you a route to the code without chip-level work. Read those documents before spending money, and have counsel read them when the stakes are high. This article is engineering guidance, not legal advice.
Anti-Circumvention Rules and the Copyright Office Process
Separately from copyright ownership, many countries prohibit circumventing technical protection measures, the locks that control access to software inside a chip. In the United States this falls under Section 1201 of the Digital Millennium Copyright Act, and it can apply even where no copying takes place. US law includes a narrow provision for reverse engineering to achieve interoperability, but its conditions rarely match a routine readout request, and other jurisdictions set their own exceptions. The US Copyright Office maintains a page documenting the Section 1201 rulemaking, the three-year cycle in which temporary exemptions are considered and the exemptions in force. It will not tell you whether your project is covered, but it shows how the boundary has moved and which categories of use have been recognized. When a locked chip is involved, treat authorization as the practical answer rather than leaning on an exception.
The Documentation Pack to Prepare Before Contacting a Lab
A lab that takes compliance seriously will ask for roughly the same documents every time. Preparing them early shortens quoting and signals that the project is legitimate.

| Document | What it should contain | Why the lab asks |
|---|---|---|
| Proof of ownership | Invoices, purchase orders, or asset records matching the serial numbers | Confirms the devices are yours to authorize |
| Authorization letter | Letterhead, signer name and role, device list, and scope such as read and analyze memory only | Gives written permission for exactly these units |
| Statement of purpose | One or two sentences: legacy repair, sustainment, security review, or migration | Explains why the readout is needed and frames use |
| Service and development contracts | Clauses on reverse engineering, IP assignment, escrow, and confidentiality | Shows who holds rights and whether work is restricted |
| Mutual NDA | Signed before any board or file changes hands | Protects both sides from the first exchange |
| Technical summary | MCU part number and package, board revision, lock state, clear photos of both sides | Lets engineers choose a safe method |
| Compliance notes | On-device customer data, cryptographic functions, or shipment restrictions | Some projects need extra review before work begins |
Extra Care When the Boards Belong to a Customer
If you repair or sustain equipment for other companies, those customers must authorize the work, not only you. Ask for their letter on their letterhead covering the serial numbers they shipped to you, keep a chain-of-custody log for incoming and outgoing boards, and tell the lab whose product it is. A file that shows who owned the hardware at each step is the difference between a routine project and a rejected one.
Red Flags That Make Responsible Labs Decline
Engineering labs that serve overseas clients say no regularly, and the pattern is consistent. Any of the following usually ends the conversation:
- No proof of ownership and no written authorization, combined with pressure to proceed anyway.
- A request to copy a product for sale in competition with the company that made it.
- Attempts to extract payment credentials, license keys, or end-user data rather than to repair a product.
- Inconsistent stories about where the boards came from, removed serial labels, or units that appear stolen.
- Instructions to describe the work falsely on paperwork or misrepresent the purpose of the readout.
- Reluctance to sign a confidentiality agreement while handing over hardware.
None of this is caution for its own sake. Anti-circumvention exposure and copyright claims can attach to the lab as well as the client, and no team will risk its reputation for a project it cannot document. Labs with a published authorized-only rule, including ours, treat missing paperwork as a stop sign.
Protection Levels Change the Method, Not the Permission
The chip’s protection state decides which readout path is technically possible, but it never replaces the authorization that makes the work acceptable. Confusing the two is how projects go wrong.
Open debug port, read-out protection, and locked parts
An open debug interface is the simplest case: the lab reads memory through the port the manufacturer intended for programming and test. Read-out protection blocks that path while leaving the chip usable. Stronger protection can disable debug access permanently or require an erase, which may destroy the data and the device. The exact behavior belongs to the part’s datasheet, not a generic rule.
What the lock state means for your documentation
The lock state belongs in the technical summary because it changes method and risk. A protected part may need a destructive approach, a replacement device, or an attempt expected to fail. Tell the lab what you know and what you already tried, including failed unlock attempts. A truthful record protects you if the device is damaged and explains why a quote includes recovery work.
Where readout ends and analysis begins
A raw memory image is not a maintained product. Turning it into something supportable means identifying routines, tables, peripheral settings, and parts that must be patched or reimplemented. That analysis has its own scope, cost, and authorization language. Keep it separate from the readout, so a successful dump is not mistaken for a finished sustainment project.
What an Authorized Readout Looks Like at the Bench
Once paperwork is in order, the technical work follows a standard escalation. Engineers start with the least invasive path: the debug interface if open, a bootloader or in-system programming route if exposed, and only then in-circuit methods. Chip-off, removing and reading the flash or eMMC, is the last resort because it puts the board at risk, and it is used when the interface is fully locked.
Handling of files matters as much as handling of boards. A lab with a remote-client workflow keeps project data in an air-gapped environment, moves deliverables through encrypted channels, keeps a hash log for each memory image so a dump can be verified later, and deletes or returns project files on an agreed schedule. Confirmation that a dump is genuine usually means programming a blank part and checking that the device behaves as expected.
After a successful readout, the interesting work often starts: understanding what the binary does so it can be maintained. Firmware disassembly and analysis turns a raw image into readable structure: routines, tables, peripheral settings, and the parts you may need to patch or reimplement. If the goal is to keep a line running, analysis is what allows a modern replacement to be written or the original behavior preserved.
For a locked IC rather than a full firmware study, our IC unlock service covers authorized readout of your own hardware, and the IC unlock articles explain typical protection mechanisms such as JTAG and SWD locks and read-out protection settings. We take authorized projects only: a request without ownership documentation is declined, and an NDA is in place before any board or file moves.
Keeping the Project Defensible After Delivery
The paperwork does not stop mattering when files arrive. Store the authorization letter, ownership records, confidentiality agreement, and hash log with the delivered images, so years later you can show why each readout was permitted. Note the exact purpose covered: repair, sustainment, migration, or research. If you later want to use the code in a new product, revisit the rights question first, because the original letter may not cover reuse.
Board work should carry its own record. Rework performed to IPC-A-610 criteria, with photos before and after, protects the hardware’s value and gives evidence if a unit fails. A documented workflow matters as much as the result, which is where a team used to remote overseas clients and NDA workflows keeps the technical and administrative sides aligned.
Frequently Asked Questions
Does owning the hardware give me the right to extract the firmware?
It gives you a strong starting position, not an automatic right. Ownership supports inspection and repair, but the firmware copyright usually belongs to whoever wrote it. Contracts can add restrictions, and anti-circumvention law can apply to locked chips. Document ownership, state the purpose, and get written authorization before a lab begins readout work.
What if the original manufacturer no longer exists?
Permission can come from whoever holds the rights now, which may be a successor company, an assignee, or your own organization if it commissioned the development. Search the development agreement and any assignment records first. If the rights holder cannot be identified, a lab may still decline a protected readout, and that refusal is a legitimate risk decision rather than an obstacle to argue with.
Can a lab unlock a protected chip without damaging it?
Sometimes, depending on the protection level and the method the part supports. An open interface is non-destructive; stronger protection may require erasing the device, removing it, or accepting a risk of loss. No responsible lab promises a damage-free result before it knows the part number, board revision, and lock state. Ask for the method and the risk in writing.
What should I do with the extracted image after the project ends?
Store it with the authorization letter, hash log, and a note describing the permitted purpose. Restrict access to the people who need it for maintenance. Do not reuse the code in a new product or share it with a third party without revisiting the rights question, because the original authorization may cover repair or sustainment only.
Conclusion
- Treat authorization as a paper trail, not a verbal assurance, before any board or file changes hands.
- Separate board ownership from code ownership and confirm exactly which rights your contracts actually assign to you.
- Record the chip’s lock state and the readout method so technical risk and authorization stay visible.
- Keep the authorization letter, hash log, and delivered image together long after the project closes.



