Bao'An Shenzhen China

STM32 IC Unlock | Which Families We Can Read

Oct 7, 2026  /  PCB COPY

stm32 ic unlock: STM32F103 microcontroller on a PCB with SWD debug wires connected for firmware recovery

STM32 IC Unlock — Authorized Firmware Recovery Across Every Major Family

STM32 IC unlock is the process of recovering firmware from STMicroelectronics’ Arm Cortex-M microcontrollers whose flash memory is protected by Read-out Protection (RDP). Our engineers can read back code from most STM32F0, F1, F2, F3, F4, F7, H7, L0, L1, L4, L5, G0, G4, WB, and WL devices at RDP Level 1 — and from a growing subset at RDP Level 2 — provided the requester proves ownership or authorization. Turnaround ranges from 3 to 15 working days depending on the family and protection level.

How STM32 Read-out Protection Works

stm32 ic unlock: STM32F103 microcontroller on a PCB with SWD debug wires connected for firmware recovery

Every STM32 ships with three RDP states stored in the option bytes at address 0x1FFF F800 (or the family-specific equivalent). Understanding these states is the first step in evaluating whether an STM32 IC unlock is feasible for your device.

RDP Level Option-Byte Value Debug Access Flash Readback Unlock Complexity
Level 0 0xAA Full SWD/JTAG Unrestricted None — already open
Level 1 Any value ≠ 0xAA, ≠ 0xCC Limited (no flash read via debugger) Blocked from external tools Moderate — multiple proven vectors
Level 2 0xCC Permanently disabled Blocked; JTAG fuses blown High — requires silicon-level techniques

RDP Level 1 is by far the most common configuration we encounter. At this level the Cortex-M core can still execute code internally, but any attempt to attach a debugger and read flash triggers a bus fault or returns zeros. Level 2 goes further: it permanently disables the debug port at the hardware level, and on newer families it also locks the option bytes themselves.

Which STM32 Families Can We Unlock?

Not all STM32 parts are equal. Flash cell geometry, boot-ROM version, and TrustZone implementation all affect the attack surface. Below is our current coverage matrix, updated quarterly as we validate new part numbers.

Family Core RDP L1 Success RDP L2 Feasibility Typical Turnaround
STM32F0 (F030, F042, F072…) Cortex-M0 High Case-by-case 3–5 days
STM32F1 (F100, F103, F105, F107) Cortex-M3 High Good on older die revs 3–7 days
STM32F2 (F205, F207, F215, F217) Cortex-M3 High Limited 5–8 days
STM32F3 (F301–F398) Cortex-M4F High Case-by-case 3–7 days
STM32F4 (F401–F479) Cortex-M4F High Limited on F4x9 5–10 days
STM32F7 (F722–F769) Cortex-M7 Moderate-High Low 7–12 days
STM32H7 (H723–H757, dual-core) Cortex-M7/M4 Moderate Very Low 10–15 days
STM32L0 (L010–L083) Cortex-M0+ High Case-by-case 3–5 days
STM32L1 (L100–L162) Cortex-M3 High Good on older revs 3–7 days
STM32L4 / L4+ (L412–L4R9) Cortex-M4F Moderate-High Low 7–10 days
STM32L5 (L552, L562) Cortex-M33 + TrustZone Low-Moderate Very Low 10–15 days
STM32G0 (G030–G0C1) Cortex-M0+ High Case-by-case 3–5 days
STM32G4 (G431–G4A1) Cortex-M4F Moderate-High Low 5–10 days
STM32WB (WB55, WB15) Cortex-M4 + M0+ radio Moderate Low 7–12 days
STM32WL (WL55, WLE5) Cortex-M4 + sub-GHz Moderate Low 7–12 days

“High” means our lab has a repeatable, validated technique with >90 % first-pass yield. “Moderate” means the technique works but may require multiple samples or extended analysis. “Low / Very Low” means we assess each request individually — newer TrustZone-enabled silicon with hardened secure-boot chains is significantly harder, and we will tell you upfront if we cannot proceed.

Why STM32F1 and STM32F0 Are the Easiest to Unlock

The STM32F103C8T6 alone probably accounts for 30–40 % of every STM32 IC unlock request we receive. These older 90 nm and 180 nm die processes have well-documented glitch vectors: voltage fault injection on VDDA during the RDP check window, or timing manipulation of the system bootloader’s authentication handshake. Our bench setup uses a sub-nanosecond glitch generator synchronized to the chip’s internal RC oscillator startup, giving us a repeatable window of roughly 50–200 ns to bypass the protection latch.

For the F0 family the story is similar. The Cortex-M0 boot-ROM is compact and its RDP validation is a single compare-and-branch instruction, making it susceptible to a single well-timed voltage spike. This is why turnaround on F0 and F1 parts is typically 3–5 working days even for first-time submissions.

What Makes STM32H7 and L5 Harder?

Newer STM32 families introduce multiple countermeasures that complicate firmware readout:

  • Hardware Secure Boot (RSS): H7 and L5 parts can enforce a root-of-trust chain that validates code signatures before any user flash is mapped into the bus matrix.
  • TrustZone for Armv8-M: The L5 family partitions memory into Secure and Non-Secure worlds at the SAU/IDAU level. Even if you bypass RDP, Secure-world flash may remain inaccessible.
  • Dual-bank and ECC flash: H7 dual-core variants use ECC-protected flash banks with independent RDP settings per bank, doubling the attack surface that must be defeated.
  • Anti-tamper pins and TAMP registers: Active tamper detection can erase backup SRAM or trigger a full flash wipe if physical probing is detected.

We still accept H7 and L5 requests, but we require a free feasibility assessment first. Send us the full part number (including the package suffix and the date-code lot), and we will tell you within 48 hours whether recovery is viable.

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 review

Our STM32 IC Unlock Process — Step by Step

  1. Ownership verification: You provide proof that you designed or legally own the firmware. We execute an NDA before any work begins. See our STM8 IC unlock and authorization policy for a parallel example of how we handle ST parts.
  2. Device intake: Ship us 1–3 samples (we recommend at least two in case of destructive analysis for RDP L2). We photograph and catalog every chip under a microscope before touching it.
  3. RDP level identification: We connect via SWD and probe the option bytes. If the part responds with a debug-port lockout, we know we are at Level 2.
  4. Glitch / decap / side-channel attack: For Level 1 we typically use voltage fault injection. For Level 2 we may need focused-ion-beam (FIB) editing or UV/laser techniques on the decapped die — this is where turnaround extends to 10–15 days.
  5. Readback and verification: Firmware is dumped as a raw .bin and an Intel HEX file. We verify the CRC against the chip’s built-in flash checksum (when available) and run a disassembly sanity check to confirm the vector table and reset handler are intact.
  6. Delivery: You receive the firmware image, a brief technical report noting the RDP level, die revision, and any anomalies, plus the original chip returned (unless decapping was required).

Deliverable Formats

Decapped MCU die under microscope with probe needles for RDP Level 2 analysis
Deliverable Format Included
Firmware binary .bin (raw flash image) Always
Firmware hex .hex (Intel HEX) Always
Option bytes dump Text / .bin Always
Disassembly listing .asm / .lst On request
Technical report PDF Always

STM32 vs. GD32 and Other Cortex-M Clones

GigaDevice’s GD32 series is pin- and register-compatible with many STM32 parts, but its flash protection mechanism differs in subtle ways — different option-byte addresses, different boot-ROM versions, and different glitch windows. If your board uses a GD32F103 instead of an STM32F103, our GD32 unlock guide covers the practical differences. We also handle NXP LPC and Kinetis Cortex-M devices and Infineon XMC and Aurix families through similar techniques adapted to each vendor’s protection scheme.

Pricing Signals

We do not publish fixed prices because cost depends on the RDP level, die revision, and number of samples. As a rough guide:

  • RDP Level 1 (F0/F1/F3/L0/G0): starting from approximately $300–$600 per unique part number.
  • RDP Level 1 (F4/F7/L4/G4/WB/WL): starting from approximately $600–$1,200.
  • RDP Level 2 (any family): quoted individually after feasibility review; expect $1,500–$5,000+ depending on whether FIB or decap is needed.

Volume discounts apply when you need the same firmware read from multiple identical boards — the engineering effort is front-loaded on the first unit.

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 review

Authorization and Legal Requirements

STM32 IC unlock is a legitimate maintenance and IP-recovery service when performed for the rightful owner of the firmware. We require one of the following before starting work:

  • A signed declaration that you are the original developer or IP holder.
  • A purchase order or contract showing you commissioned the firmware development.
  • Written authorization from the IP holder permitting the readout.

We operate under NDA for every engagement and do not retain copies of recovered firmware after delivery. For full details on our compliance framework, see our Microchip PIC and SAM authorization workflow, which follows the same policy template we use for ST parts.

Can you unlock an STM32 that is at RDP Level 2?

In many cases, yes — but it depends on the specific family and die revision. RDP Level 2 permanently disables the debug port, so recovery requires silicon-level techniques such as FIB circuit editing or UV exposure of the flash protection fuse. Older F1 and F0 die revisions have the highest success rate. Newer H7 and L5 parts with TrustZone are significantly harder, and we may decline if our feasibility assessment shows the risk of flash corruption is too high.

Will the STM32 chip survive the unlock process?

For RDP Level 1 recovery via voltage glitching, the chip is almost always non-destructive — we return it in working condition. For RDP Level 2, decapping or FIB work is inherently destructive to the package. The die itself may remain functional on a probe station, but the chip cannot be resoldered onto a PCB. This is why we ask for at least two samples when Level 2 is suspected.

How do I know which RDP level my STM32 is set to?

Connect via SWD using an ST-Link and open STM32CubeProgrammer. Navigate to the Option Bytes tab. If the tool can connect and display the OB, you are at Level 0 or Level 1. If the tool reports “Cannot connect — debug port locked,” the chip is at Level 2. You can also read the FLASH_OBR register from user code if you have a running application.

Do you support STM32U5 or STM32N6 (newest families)?

The STM32U5 (Cortex-M33, 40 nm) and the upcoming STM32N6 use ST’s latest secure-boot and SESIP-certified protection. We are actively researching these families but do not yet offer a standard service for them. Submit a feasibility request and we will update you as soon as a validated technique is available.

What if I only need the option bytes or a partial flash region?

Our readout process dumps the entire flash array and option bytes in a single pass. We can deliver just the segment you need, but the cost is the same because the engineering effort to bypass RDP is identical regardless of how many bytes you ultimately use.

Related IC Unlock Services

If your project involves mixed-vendor boards, we handle many other MCU families through the same lab. Explore our coverage for Renesas RX and RL78 microcontrollers and Cypress PSoC protected devices to see how our process adapts to each vendor’s protection architecture.

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

Related reading

WhatsApp Send board details