Summary
Firmware is the half of the design a schematic cannot show, and disassembly recovers how the code drives the board. Dump the image, read the registers, and verify the read against the copper.
Firmware is the part of a board that a schematic cannot show, because the code inside the memory decides how the hardware behaves, and reverse engineering that stops at the copper misses the design’s whole other half. Disassembling the firmware means recovering the image from the memory, turning the machine code back into instructions, and reading how it drives the registers, so the software and the board explain each other. The read is what turns a recovered board from a static copy into one whose behaviour is understood.
Disassembling and analysing the firmware below dumps the image, disassembles the code, and reads the hardware registers it touches. Firmware analysis runs alongside the netlist and probing work in the [PCB reverse engineering guide](https://www.pcbdesignlab.com/pcb-reverse-engineering-guide/), and it has its own checklist because the code often reveals what the copper hides, from a pin’s purpose to the sequence the board follows when it powers up. The image, the code, and the register map together become the design’s missing half.

Why the Code Explains the Board
Code explains the board because every register the firmware writes is a pin, a bus, or a function the schematic only hints at, and reading those writes names what each part is for. A chip’s datasheet says what a register does, but only the firmware shows which registers the design uses and in what order, so the code fills in the intent the netlist cannot carry. Reverse engineering the code is therefore a map of the design’s behaviour, not just its wiring.
Legacy and locked-down boards make the code essential, because the parts may be obsolete, undocumented, or stripped of markings, and the firmware is often the only record of how they were meant to work. Reading how the software initialises a part, sets its modes, and reads its status recovers that part’s role without a datasheet. For a board whose value is in what it does, the code is where the recovery happens.
Dump the Firmware Image
Dump the firmware image by reading the memory out of the device, because the code lives in a flash chip, a microcontroller’s internal storage, or an external memory, and the first task is to get it into a file. Identify the memory part and its interface, then read it through a programmer, a debug port, or an on-board bootloader, since a chip that still runs can often hand over its own contents. A clean dump is the foundation every later step reads from.
Locked parts need another route, because a device with read protection or blown fuses refuses to hand over the flash, and the image then has to be read through the debug port, a side channel, or a fault that leaks the memory. Our [firmware extraction guide](https://www.pcbdesignlab.com/firmware-extraction-pcb-reverse-engineering/) covers the costs and the risks of getting that image out, and it is the honest map of when a dump is worth it. Verify the dump by reading it twice and comparing, since a corrupted image disassembles into nonsense.

Disassemble the Code
Disassemble the image into the instructions the processor runs, because the raw bytes are unreadable until they are translated back into the opcodes and operands the CPU executes. Pick the right architecture for the part, load the image at the address it was built for, and let a disassembler turn the machine code into assembly, since the wrong architecture turns good bytes into garbage. The disassembly is the first readable form of the firmware.
Disassembly is only the start, because a flat listing of instructions is a wall of detail that still has to be shaped into functions, strings, and data. Resolve the entry point, separate the code from the tables, and name the routines that appear, since the strings and the jumps are the landmarks the analysis follows. The disassembly is where the reading begins, and the analysis that follows turns it into meaning.
Read the Hardware Registers
Read the hardware registers to connect the code to the board, because the firmware drives the parts by writing to memory-mapped addresses, and each write names a pin, a clock, or a mode. Match the addresses against the part’s datasheet and the board’s memory map, and log which register the code sets, clears, and polls, since that list is the software’s view of the hardware. The register reads are what turn instructions into a schematic-level story.
Registers also reveal the pins, because a write that toggles a port bit is a signal on a real trace, and the register map plus the pin assignment recovers which net each signal lands on. Our [boundary scan guide](https://www.pcbdesignlab.com/pcb-re-boundary-scan-jtag/) drives those same pins from the test port to confirm the wiring, and the two reads check each other. Recover the peripheral setup, the interrupt vectors, and the state the code waits on, since those are the connections the firmware makes between the parts.
Verify the Code Against the Board
Verify the code against the board by checking that every register the firmware writes maps to a part the recovered schematic contains, because a disassembly that names a register the board does not have is a sign the image, the map, or the read is wrong. Cross-check the recovered pin assignments against the netlist, and reconcile any write that points at nothing, since the code and the copper have to tell the same story. Two views agreeing is the standard for a read you can trust.
Confirm the behaviour matches too, because the firmware’s intent shows up in the board’s signals, and a captured waveform that contradicts the code means one of the two is wrong. Run the recovered board, capture the pins the code drives, and compare the activity to what the disassembly says should happen. Our [logic analysis guide](https://www.pcbdesignlab.com/pcb-re-logic-analysis/) covers that capture, and a verified read is the difference between a code file and a design you understand.
Firmware on a Recovered Board
Carry the firmware into the rebuilt board, because the code is as much a part of the design as the copper, and a copy without the right image boots into nothing even when every trace matches. Extract, preserve, and re-flash the image onto the rebuilt board, then confirm the copy runs the same routines the original did. A rebuilt board that replays the same firmware is proven to work the same way, which is the whole point of the recovery.
Fold the code check into the wider verification, since a running board alone cannot catch every way a copy drifts from the source. Our [quality verification guide](https://www.pcbdesignlab.com/pcb-reverse-engineering-quality-verification/) covers the confirmation pass that compares the rebuilt board to the recovered record, and the disassembly adds the software detail that pass needs. Firmware analysis gives that pass its behavioural proof, catching a mismatched image a continuity test never sees.
Where Disassembly Goes Wrong
Disassembly goes wrong most often when the wrong architecture is assumed, because a disassembler pointed at the wrong instruction set turns perfectly good bytes into a nonsense listing that looks plausible but means nothing. Confirm the part’s family and the image’s load address before disassembling, since a misread here poisons every later step. Choosing the architecture first is the fix, not a more careful read of the garbage.
Stopping at the disassembly is the second failure, because a flat listing of instructions is not an analysis, and the design’s intent only appears once the registers are mapped to the board and the behaviour is checked against the signals. That is the kind of quiet error the [reverse engineering verification](https://www.pcbdesignlab.com/verify-reverse-engineered-pcb/) guide catches, and it is avoided by reading the registers and verifying the code against the copper. The firmware read is only complete when the image, the code, and the hardware all tell the same story, and anything short of that is a board half understood.
Get a Free Firmware Disassembly and Analysis Review
Send photographs of the board to our engineering team. We state the layers, materials, and measurements a reverse engineering read has to recover, on the 7-business-day standard for common boards.
ISO-Certified Lab · 7-Business-Day Standard on Common Boards · NDA Protected
Frequently Asked Questions
Why does the firmware matter in PCB reverse engineering?
Firmware is the part of a board that a schematic cannot show, because the code inside the memory decides how the hardware behaves, and reverse engineering that stops at the copper misses the design’s whole other half. Every register the firmware writes is a pin, a bus, or a function the schematic only hints at, and reading those writes names what each part is for. For legacy or undocumented parts, the code is often the only record of how they were meant to work. The code is where the recovery happens for a board whose value is in what it does.
How is a firmware image dumped from a board?
Read the memory out of the device, because the code lives in a flash chip, a microcontroller’s internal storage, or an external memory, and the first task is to get it into a file. Identify the memory part and its interface, then read it through a programmer, a debug port, or an on-board bootloader. Locked parts need another route, such as the debug port or a fault that leaks the memory, since a device with read protection refuses to hand over its flash. Verify the dump by reading it twice and comparing, because a corrupted image disassembles into nonsense.
How does disassembly turn firmware into something readable?
Disassembly translates the raw bytes back into the opcodes and operands the processor executes, so the unreadable image becomes assembly. Pick the right architecture for the part and load the image at the address it was built for, since the wrong architecture turns good bytes into garbage. Then resolve the entry point, separate the code from the tables, and name the routines that appear, using the strings and the jumps as landmarks. The disassembly is the first readable form of the firmware, but it is only the start of the analysis.
How is the disassembled code verified against the board?
Check that every register the firmware writes maps to a part the recovered schematic contains, because a disassembly that names a register the board does not have is a sign the image, the map, or the read is wrong. Cross-check the recovered pin assignments against the netlist and reconcile any write that points at nothing, since the code and the copper have to tell the same story. Run the recovered board, capture the pins the code drives, and compare the activity to what the disassembly says should happen. A verified read is the difference between a code file and a design you understand.
Related Reading
References
- IPC — Association Connecting Electronics Industries, PCB fabrication and reverse engineering criteria. https://www.ipc.org/
- ISO — International Organization for Standardization, process documentation. https://www.iso.org/
- JEDEC — Standards for component and assembly test, moisture and materials handling. https://www.jedec.org/
- IEEE — Institute of Electrical and Electronics Engineers, standards and reference material. https://www.ieee.org/
- IEC — International Electrotechnical Commission, standards and reference material. https://www.iec.ch/
Conclusion
Firmware disassembly and analysis recovers the half of a reverse-engineered board that the copper cannot show, because the code inside the memory decides how the hardware behaves and reading it names what each part is for. Dump the image by reading the memory out of the device, then disassemble it under the right architecture and load address, since a wrong assumption there turns good bytes into a nonsense listing. Read the hardware registers the firmware writes and match them to the parts, because each write is a pin, a clock, or a mode the schematic only hints at. Verify the code against the board by cross-checking the register map against the netlist and capturing the pins the code drives, so the software and the copper tell the same story. Recovered boards carry the firmware into the rebuild, because a copy without the right image boots into nothing even when every trace matches. The read is only complete when the image, the code, and the hardware all agree, and anything short of that is a board half understood.
- Dump the firmware image and verify it by reading twice, since corruption disassembles into nonsense.
- Disassemble under the right architecture and load address before reading anything.
- Read the hardware registers the code writes and map each to a pin or a mode.
- Verify the code against the netlist and the captured signals so both tell the same story.
If a board has to be reverse engineered, send photographs to the engineering team for a free assessment. You will receive a quote covering the read, the reconstruction, and the verification behind it.


