STM32F3 Unlock — What Is Actually Possible?
STM32F3 unlock refers to recovering firmware from STMicroelectronics’ Cortex-M4-based STM32F3xx microcontrollers whose flash memory is guarded by Read-out Protection (RDP). Our engineers can recover the binary from most STM32F3 variants at RDP Level 1, with typical turnaround of 5–10 working days and costs starting near USD 500. RDP Level 2 parts require invasive techniques and carry higher risk and cost. Authorization and proof of ownership are required for every engagement.
How Does the STM32F3 Protect Its Firmware?

The STM32F3 family — spanning sub-lines STM32F301, F302, F303, F318, F328, F334, F358, F373, and F398 — uses ST’s standard two-tier Read-out Protection plus optional write-protection on individual flash sectors. Understanding each level is critical before committing time or budget to an unlock attempt.
RDP Level 0 — No Protection
Flash is fully readable via SWD/JTAG and the USART bootloader. No unlock service needed; you can dump the binary with an ST-Link probe in seconds.
RDP Level 1 — Debug Access Blocked
SWD and JTAG read access to flash and SRAM is disabled. The bootloader still runs but refuses flash read commands. Reverting to Level 0 through the option-byte interface triggers a full mass erase — the firmware is destroyed. This is the most common protection state we encounter, and the level where non-destructive extraction techniques have the highest success rate.
RDP Level 2 — Permanent Lock
Debug port is permanently disabled by blowing an OTP fuse. The bootloader’s flash-read path is also killed. Reverting is impossible through software. Recovery at this level requires decapping and physical fault injection or optical ROM readout — significantly more expensive, slower, and not guaranteed on all die revisions.
Write Protection (WRP) and Proprietary Code Readout Protection (PCROP)
Some STM32F3 variants support per-sector write protection and PCROP, which prevents even internal code execution from reading protected sectors. PCROP complicates extraction even after an RDP bypass because certain flash pages remain opaque to DMA-based readout methods.
| Protection Level | Debug Access | Bootloader Read | Software Revert | Unlock Feasibility |
|---|---|---|---|---|
| RDP 0 | Full | Full | N/A | No unlock needed |
| RDP 1 | Blocked | Blocked | Yes (erases flash) | High — non-invasive |
| RDP 2 | Permanently off | Permanently off | Impossible | Moderate — invasive only |
| PCROP active | Per-sector block | Per-sector block | Erase required | Case-by-case |
Which STM32F3 Variants Can Our Engineers Unlock?
Not every STM32F3 part number responds the same way. Die revisions, flash density, and package type all influence the attack surface. Below is a practical breakdown based on our lab records.
| Sub-Family | Core / Flash | RDP 1 Success | RDP 2 Success | Notes |
|---|---|---|---|---|
| STM32F301 / F302 | M4 / 32–256 KB | ~90% | ~40–55% | Older die revisions more accessible |
| STM32F303 | M4 / 64–512 KB | ~85% | ~35–50% | 512 KB parts need longer extraction windows |
| STM32F334 | M4 / 32–64 KB | ~90% | ~45% | HRPWM peripheral doesn’t affect unlock |
| STM32F373 / F378 | M4 / 64–256 KB | ~85% | ~35% | Sigma-delta ADC variant; standard flash layout |
| STM32F3x8 (value line) | M4 / 32–64 KB | ~90% | ~50% | Smaller flash = faster invasive read |
These figures represent our historical outcomes across several hundred engagements. They are not guarantees — every chip is assessed individually before we commit to a price or timeline.
STM32F3 Unlock Process — Step by Step
- Feasibility request: You submit the exact part number (e.g., STM32F303RCT6), the protection level if known, and proof of ownership or authorization documentation.
- Pre-assessment: Our engineers verify the part marking, confirm the die revision against our database, and provide a probability-of-success estimate within 1–2 working days.
- Quotation: We issue a fixed-price quote for RDP 1 jobs. RDP 2 jobs are quoted with a success-dependent fee structure — you pay a reduced fee if extraction fails.
- Chip receipt & inspection: We receive 1–3 sample chips (we recommend sending spares). Visual and electrical inspection confirms the device is functional.
- Extraction: For RDP 1, we use non-invasive glitching and debug-protocol exploitation techniques that do not damage the die. For RDP 2, the chip is decapped and subjected to laser fault injection or micro-probing.
- Verification: The extracted binary is verified against CRC values and, where possible, re-programmed into a blank STM32F3 for functional validation.
- Delivery: You receive the firmware as a .bin or .hex file via encrypted transfer, along with a brief extraction report.
Total turnaround for RDP 1 jobs is typically 5–10 working days from chip receipt. RDP 2 engagements can extend to 15–25 working days depending on die revision and queue depth.
Cost Ranges for STM32F3 Firmware Recovery
Pricing depends on the protection level, flash size, and number of units. The table below gives realistic starting points — your actual quote may differ after pre-assessment.
| Scenario | Typical Price Range (USD) | Turnaround |
|---|---|---|
| RDP 1, ≤128 KB flash | $500 – $900 | 5–8 working days |
| RDP 1, 256–512 KB flash | $800 – $1,400 | 7–10 working days |
| RDP 2, any flash size | $2,000 – $5,000+ | 15–25 working days |
| PCROP-protected sectors (add-on) | +$300 – $800 | +2–5 working days |
Rush service (3 working days for RDP 1) is available at a 50% surcharge when lab capacity permits.
When STM32F3 Unlock Fails — Honest Constraints

We turn down or flag high-risk jobs upfront. Common failure scenarios include:
- Damaged bond wires or corroded pads: If the chip cannot be powered and clocked reliably, glitch-based methods won’t synchronize.
- Late-revision RDP 2 dies: ST has hardened newer silicon against voltage and EM fault injection. Some 2020+ die revisions of the STM32F303 show significantly reduced susceptibility.
- PCROP on critical sectors with RDP 2: Double-layered protection means even a successful RDP bypass may return incomplete firmware.
- Counterfeit or remarked parts: We occasionally receive chips marked as STM32F3 that contain different dies. These are identified during inspection and reported back before any work begins.
If extraction fails on an RDP 2 job, you pay only the reduced assessment fee agreed in the quote — not the full extraction price.
Authorization and Legal Requirements
Every STM32F3 unlock engagement requires documented proof that you own the intellectual property in the firmware or are authorized by the IP owner to recover it. Typical qualifying scenarios include recovering firmware from your own discontinued product, restoring a corrupted production programmer’s master binary, or supporting legacy field maintenance where the original developer is no longer available. We operate under NDA and can provide our standard mutual NDA before you ship any hardware. For full details on our compliance framework, see our STM32F7 unlock service page which shares the same authorization workflow across all STM32 families.
STM32F3 vs. Other STM32 Families — Key Differences
Engineers often ask how the F3 compares to other STM32 lines in terms of unlock difficulty. The F3 sits in a middle ground: easier than the newer STM32G4 (which adds TrustZone-like isolation on some variants) but slightly harder than the older STM32F1 series due to improved glitch detection circuitry.
If your project involves multiple STM families, our lab handles them under a single NDA and often offers volume pricing. We also support the STM32G4 series, the low-power STM32L0 line, and entry-level STM32G0 devices.
Frequently Asked Questions
Can I determine the RDP level of my STM32F3 without destroying the firmware?
Yes. Connecting via SWD with an ST-Link and attempting to read the option bytes will reveal whether RDP is at Level 0, 1, or 2. At Level 1, the debugger connects but flash reads return all zeros or trigger a bus fault. At Level 2, the SWD port does not respond at all. Neither test erases the flash — only writing the option bytes back to Level 0 triggers mass erase.
Do you need to decap the chip for an RDP Level 1 unlock?
No. RDP 1 extraction on STM32F3 parts is performed non-invasively using voltage glitching on the power rail or electromagnetic fault injection. The chip remains physically intact and can usually be reused afterward. Decapping is reserved for RDP Level 2 engagements only.
How many sample chips should I send?
We recommend 2–3 programmed samples. For RDP 1, one chip is usually sufficient, but spares protect against handling damage in transit. For RDP 2 (invasive), the decapping process is destructive, so at least 2 chips are strongly advised — ideally 3 if the firmware is irreplaceable.
Will the extracted .hex file work on a different STM32F3 variant?
The raw binary is a bit-for-bit copy of the original flash contents. It can be programmed into any STM32F3 with the same flash size and peripheral set. However, if the firmware reads the device’s unique 96-bit ID (at address 0x1FFFF7AC) for licensing or binding, it may not run on a chip with a different UID without modification.
What if my chip is soldered onto a PCB — do I need to desolder it?
For RDP 1 non-invasive extraction, we can sometimes work with the chip on-board if SWD pads and the power rail are accessible. For RDP 2 invasive work, the chip must be desoldered. We offer desoldering as part of the service if you ship the entire board.
Related IC Unlock Services
Beyond the STM32F3, our lab supports a wide range of microcontroller families. If your project spans multiple platforms, these pages detail feasibility for each:
- ATmega firmware recovery — Atmel AVR 8-bit MCUs
- PIC16 flash readout — Microchip mid-range 8-bit controllers
- STM8S unlock details — ST’s 8-bit family with ROP protection
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 reviewWhat do you need to recover?
Send the full marking or board photos, sample condition and required outcome. Ask for an NDA before sharing confidential files. Scope and sample handling are confirmed individually.
The article title is carried into the contact form. Add your own details and review the enquiry before sending.