MCU extraction is the work of pulling the embedded firmware out of a microcontroller that has been locked, and it covers two quite different problems. The first is the ordinary one: the array is read-protected and has to be read anyway. The second is subtler, and it is where most of the real difficulty sits — on parts that keep a key or a working state in volatile memory, the data can be gone within seconds of power being removed, long before any read can be completed.
The Volatile Memory Problem
A common design pattern places the security key inside SRAM rather than flash, paired with an anti-tamper sensor. The reasoning is sound: SRAM loses its contents when power drops, so a key that only ever exists in SRAM cannot be read out later with a programmer. If a tamper event is detected, the sensor shorts the supply to ground and the key is gone.
That protection rests on one assumption — that the data disappears faster than anyone can read it. If the contents survive longer than the time needed to power the part back up and read it out, the mechanism can be defeated without breaking the silicon at all.
Why Cold Extended The Window
Data remanence in SRAM is temperature-dependent. At room temperature a cell may hold its state for a few seconds; as the temperature falls, the leakage that erases that state slows down, and the window stretches from seconds to minutes. This was established in the 1980s, and the threshold that mattered then was around minus 20 °C: below it, the remaining data inside a part could be read before it decayed.
The relationship is not a step. Within limits, the colder the part is held, the longer the contents persist, which is why the technique became a standard step in the read-out of parts from that era.

Why It Stopped Working
Device designers responded directly. A temperature sensor was added to the die, and the anti-tamper logic was wired to it: once the part drops to around minus 20 °C, the zeroisation routine fires and the volatile contents are cleared before they can be read. The attack that relied on cold simply became an event that triggers the defence.
This is not universal, and the threshold and behaviour vary between families. Parts produced after 2000 differ widely in how they respond, which is why the same procedure has to be re-tested on each new family rather than assumed from an older result.
What Extraction Looks Like Now
On current parts the volatile route is normally one step inside a larger procedure rather than the whole job. A read-out usually starts by establishing which protection is actually active, since the marking on the package says nothing about the state of the lock bits. From there the route is chosen: an interface read where protection is partial, a timed voltage or clock glitch to step past a check, decapsulation and direct readout of the array where the fuse holds, or side-channel recording where the part resists all of the above.
On parts that keep a key in SRAM, the volatile step is combined with a controlled power sequence, and the timing has to be matched to the specific device. There is no generic setting that works across families.
Which Devices This Covers
The same approach applies across a wide range of families, but the details differ sharply between them. On 8-bit parts — 8051 derivatives, AVR, PIC, STM8 — the usual obstacle is a security fuse or a set of lock bits, and the routes are comparatively well understood. On 32-bit parts — ARM Cortex-M devices such as STM32, LPC and GD32, and Renesas RX — the obstacle is more often a readout-protection level combined with an encrypted image, and the work shifts toward recovering the key.
DSP and motor-control parts add a further wrinkle, because their program memory is often interleaved with calibration tables that must be read alongside the code if the image is to run on a replacement device. Each family is characterised on the bench before a quote is given, rather than assumed from a similar-looking part.
What The Service Returns
The deliverable is the program image as an Intel HEX file with its original addressing, a raw binary, checksums for both, and a memory map that states which regions were read and which could not be reached. Where a region is deliberately unreadable — a protected boot sector or an OTP area — the map says so rather than filling the gap with zeros. Correctness is confirmed by reading the device twice through independent paths and comparing the results.
Frequently Asked Questions
Is cold-temperature reading still used? Only on parts without a low-temperature tamper sensor. On most devices made this century the sensor fires before the contents can be captured, so other routes are used.
Does every MCU keep its key in SRAM? No. Many hold it in protected flash or derive it at boot. The volatile problem only applies to designs that deliberately keep secrets out of non-volatile memory.
Can the same procedure be reused on a similar part? It can be a starting point, but the timing thresholds and sensor behaviour differ between families and often between revisions, so each part is characterised again.
What happens if the part is destroyed? Destructive routes are agreed in advance. Where the die is opened the package is not reusable, and that is stated before work begins rather than after.
Related Reading
The part-level procedure is described under copying a microcontroller program. For the broader process, including how encrypted images are handled, see extracting MCU embedded firmware. Microchip 32-bit devices are indexed by part in the PIC32MX extraction pages. To describe a specific part, use the contact form.
Service scope and next steps
If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. The full scope of what we handle, how a project runs from electrical integrity test to delivered file, and the payment terms are described on our service capabilities page.
Ready to extract this firmware image?
Send us the part number and a short description of what you need. Free evaluation, fixed quotation, and a reply within one business day.
Request a quotation





Leave a Reply