STM32F103 Unlock: What Is Realistically Possible?
The STM32F103 can be unlocked when its flash is protected at RDP Level 1, allowing authorized firmware recovery for legacy maintenance, prototype reconstruction, or IP you own. Our engineers routinely extract full flash contents — including code and EEPROM-emulated data — from STM32F103 variants (C8T6, RBT6, RCT6, VET6, ZET6) with a typical turnaround of 5–8 working days and costs starting around $400. RDP Level 2 devices are permanently locked by silicon design and cannot be recovered by any lab.
How Does STM32F103 Read Protection Work?

STMicroelectronics implements a tiered Read-out Protection (RDP) scheme across the STM32F1 series. Understanding which level is active on your specific chip determines whether an STM32F103 unlock is feasible before any work begins.
| Protection Level | Option Byte Value | Flash Access | Debug (SWD/JTAG) | Unlock Feasibility |
|---|---|---|---|---|
| Level 0 (unprotected) | 0xA5 | Full read/write | Enabled | No unlock needed — direct readout |
| Level 1 (read-protected) | Any value ≠ 0xA5, ≠ 0xCC | Blocked via debug | Halted on attach | Recoverable — high success rate |
| Level 2 (permanent) | 0xCC | Permanently disabled | Permanently disabled | Not recoverable — fused in silicon |
Level 1 is by far the most common configuration we encounter. STMicroelectronics designed Level 1 as a deterrent against casual readout, not as a cryptographic lock. The option bytes controlling RDP sit in a separate flash information block, and the protection logic has known architectural characteristics that our lab exploits through non-invasive and semi-invasive techniques.
Why Level 2 Cannot Be Bypassed
At Level 2, the JTAG/SWD debug port is permanently disabled by blowing internal fuses. No voltage glitching, no decapping, and no software trick can reverse this — the silicon pathways are physically destroyed. We verify the RDP level during our free feasibility assessment before quoting, so you never pay for an impossible job.
Our STM32F103 Unlock Process — Step by Step
- Feasibility check (free): You ship the device or a programmed board. We probe the SWD port, read the option bytes (where accessible), and determine the RDP level within 1–2 working days.
- Technique selection: For Level 1 STM32F103 parts, our engineers select from voltage-glitch injection on the VDDA/VDD rail, laser fault injection on the flash controller logic, or proprietary non-invasive protocol-level exploits — depending on the specific die revision (Rev Y, Rev Z, Rev V, etc.).
- Flash extraction: The full flash contents — 64 KB, 128 KB, 256 KB, or 512 KB depending on the variant — are dumped as a raw binary (.bin) and Intel HEX (.hex) file.
- Verification: We perform a CRC-32 integrity check against a second independent readout to confirm bit-perfect extraction. Option bytes and user data bytes are included in the deliverable package.
- Delivery: Files are transferred via encrypted channel under NDA. The original chip is returned to you.
Authorization documentation — proof of ownership, a purchase order, or a signed declaration — is required before we begin any work. We detail our compliance framework on our authorization and NDA policy page.
STM32F103 Variants and Flash Sizes
The STM32F103 family spans multiple density grades. Flash size affects extraction time and, to a minor degree, cost.
| Variant | Flash Size | RAM | Package Examples | Typical Unlock Time |
|---|---|---|---|---|
| STM32F103C8T6 (medium density) | 64 KB | 20 KB | LQFP-48 | 5–6 working days |
| STM32F103CBT6 (medium density) | 128 KB | 20 KB | LQFP-48 | 5–6 working days |
| STM32F103RBT6 (medium density) | 128 KB | 20 KB | LQFP-64 | 5–7 working days |
| STM32F103RCT6 (high density) | 256 KB | 48 KB | LQFP-64 | 6–8 working days |
| STM32F103VET6 (high density) | 512 KB | 64 KB | LQFP-100 | 6–8 working days |
| STM32F103ZET6 (high density) | 512 KB | 64 KB | LQFP-144 | 6–8 working days |
The STM32F103C8T6 — the chip at the heart of the ubiquitous “Blue Pill” board — is our single most requested STM32 unlock target. High-density parts (RC, VE, ZE) use a dual-bank flash architecture that requires adjusted glitch timing, adding roughly one day to the process.
What Can Go Wrong?
Transparency matters. Here are the real failure modes and constraints we encounter:
- RDP Level 2 confirmed on arrival. Roughly 8–12% of chips sent to us turn out to be Level 2. We report this at no charge.
- Damaged SWD pads or corroded pins. If the board was reworked poorly or exposed to moisture, the debug interface may be physically unusable. We can sometimes recover by decapping and micro-probing, but this adds $200–$500 and 3–5 extra days.
- Counterfeit or remarked parts. Cloned STM32F103 chips (GD32F103, CKS32F103, APM32F103 rebrands) have different flash controllers. We can usually still extract firmware, but the technique differs and must be identified during feasibility.
- Encrypted application-layer data. Even after a successful flash readout, if the firmware itself encrypts configuration or calibration data using an application-level key, the raw binary is valid but the encrypted sections require further reverse engineering to interpret.
STM32F103 Unlock Cost and Turnaround

| Service Tier | Typical Price Range | Turnaround | Includes |
|---|---|---|---|
| Standard (Level 1, clean chip) | $400 – $700 | 5–8 working days | Binary + HEX + option bytes |
| Rush | $600 – $1,000 | 3–4 working days | Same deliverables, priority queue |
| Complex (damaged pads, decap needed) | $800 – $1,500 | 8–15 working days | Binary + HEX + damage report |
Pricing depends on die revision, flash size, and board condition. We quote a fixed price after the free feasibility check — no surprises.
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 reviewRelated STM32 and ARM Cortex-M Unlock Services
If your design uses companion ICs alongside the STM32F103, we can often process multiple chips from the same board in a single engagement. Our lab handles a wide range of Cortex-M and memory devices:
- STM32WB55 unlock — dual-core BLE variant with additional security features
- GD32E230 firmware recovery — a common STM32F0 alternative from GigaDevice
- nRF52840 APPROTECT bypass — Nordic’s Cortex-M4F with hardware-level debug lock
- W25Q64 SPI flash readout — frequently paired with STM32F103 for external storage
Who Needs an STM32F103 Unlock?
The most common authorized scenarios we see:
- Legacy equipment maintenance: The original firmware developer is unavailable or the company no longer exists. You own the hardware and need the binary to program replacement boards.
- Prototype recovery: An engineer left the company without archiving the source. The only copy of the firmware lives on a single protected MCU.
- Quality audit or failure analysis: You need to verify what firmware revision is running on field-return units to trace a defect.
- Second-source validation: Confirming that a contract manufacturer programmed the correct binary onto production units.
In every case, we require proof of ownership or written authorization before extraction begins. Our process follows the same compliance framework used for EFM32PG unlock and other protected Cortex-M devices.
Frequently Asked Questions
Can the STM32F103 be unlocked without erasing the flash?
Yes — that is precisely what our service delivers. The standard STM32 “unprotect” command via the bootloader removes RDP Level 1 but simultaneously mass-erases all flash, destroying your firmware. Our techniques bypass this erase-on-unprotect mechanism, extracting the full flash contents non-destructively while the protection is still active.
How do I know if my STM32F103 is Level 1 or Level 2?
Connect an ST-Link debugger and attempt to read the option bytes at address 0x1FFFF800. If the tool returns an error but does not indicate a permanent lock, the chip is likely Level 1. If STM32CubeProgrammer reports “RDP Level 2” or the SWD port is completely unresponsive to any probe, the chip may be Level 2. Our free feasibility check provides a definitive answer using specialized equipment.
Is STM32F103 unlock legal?
Extracting firmware from a chip you own — for backup, maintenance, or interoperability — is lawful in most jurisdictions under right-to-repair and reverse-engineering exceptions. We require signed authorization confirming ownership and operate under NDA. Review our full legal and compliance framework for details.
Will the chip still function normally after unlock?
Yes. Our extraction process reads the flash contents without modifying them. The chip remains in its original RDP Level 1 state and continues to execute its firmware as before. We do not alter option bytes, write to flash, or change the protection configuration unless you explicitly request it.
Can you also extract the EEPROM emulation area?
The STM32F103 has no dedicated EEPROM — it uses reserved flash pages for EEPROM emulation (typically the last 2–4 pages). Our full-flash dump captures every byte from address 0x08000000 through the end of the flash region, so all emulated EEPROM data is included automatically.
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