STM32G0 Unlock: Authorized Firmware Recovery for the G0 Series
STM32G0 unlock is the process of recovering firmware from STM32G0-series microcontrollers whose flash memory is protected by ST’s Readout Protection (RDP). Our engineers perform this recovery for clients who own the original IP — typically for legacy maintenance, prototype reconstruction, or production continuity when source code has been lost. The STM32G0 family uses an Arm Cortex-M0+ core with up to 512 KB flash across more than 100 part numbers, and the feasibility of any unlock depends heavily on the specific RDP level configured during original programming.
What Protection Does the STM32G0 Use?

ST Microelectronics implements a tiered Readout Protection scheme across the STM32G0 family. Understanding the configured level is the single most important factor in determining whether an STM32G0 unlock is feasible for your device.
RDP Level Breakdown
| Protection Level | Designation | Flash Read via SWD/JTAG | Regression to Level 0 | Unlock Feasibility |
|---|---|---|---|---|
| RDP Level 0 | No protection | Open — full read/write | N/A | Trivial (no unlock needed) |
| RDP Level 1 | Memory protection | Blocked while RDP active | Yes — triggers mass erase | High — advanced techniques apply |
| RDP Level 2 | Permanent protection | Permanently disabled | No — irreversible via OB | Low — requires invasive methods |
RDP Level 1 is the most common configuration we encounter on STM32G0 devices. The debug interface is locked, but the silicon itself has not been permanently fused. Our lab applies a combination of voltage-glitching, timing-based fault injection, and proprietary probe sequences tuned to the G0’s power management unit. Success rates on RDP Level 1 parts — including STM32G030, STM32G031, STM32G070, STM32G071, and STM32G0B1 — are consistently above 85%.
RDP Level 2 is a different situation entirely. ST burns internal fuses that permanently disable the debug port. Recovery at this level requires decapsulation and physical probing of the die — an invasive, destructive process with lower success probability and significantly higher cost. We evaluate RDP Level 2 cases individually and provide an honest assessment before any work begins.
Additional Security Features on STM32G0
Beyond RDP, certain STM32G0 variants implement Proprietary Code Readout Protection (PCROP) zones and write-protection on specific flash sectors. The STM32G0B1 and STM32G0C1 sub-families also feature secure boot with hardware root of trust. These additional layers can complicate extraction even when RDP Level 1 is the baseline. Our engineers assess every protection mechanism present on the specific part number before committing to a timeline.
Which STM32G0 Part Numbers Can We Unlock?
The STM32G0 family spans several sub-lines. Here is a realistic feasibility overview based on our lab’s track record:
| Sub-Family | Example Parts | Flash Size | Core | RDP L1 Success | RDP L2 Success |
|---|---|---|---|---|---|
| STM32G030 | G030C6, G030F6, G030K8 | 32–64 KB | Cortex-M0+ @ 64 MHz | ~90% | Case-by-case |
| STM32G031 | G031C6, G031G8, G031K8 | 32–64 KB | Cortex-M0+ @ 64 MHz | ~90% | Case-by-case |
| STM32G041 | G041C8, G041G8, G041K8 | 64 KB | Cortex-M0+ @ 64 MHz + AES | ~85% | Low |
| STM32G070 | G070CB, G070KB, G070RB | 128 KB | Cortex-M0+ @ 64 MHz | ~90% | Case-by-case |
| STM32G071 | G071CB, G071RB | 128 KB | Cortex-M0+ @ 64 MHz | ~88% | Case-by-case |
| STM32G0B1 | G0B1CE, G0B1RE | 256–512 KB | Cortex-M0+ @ 64 MHz | ~80% | Low |
| STM32G0C1 | G0C1RE, G0C1CE | 256–512 KB | Cortex-M0+ @ 64 MHz + AES | ~75% | Low |
Parts with hardware AES engines (G041, G0C1) add an encryption layer to stored firmware. Even after flash extraction, the binary may require decryption keys that reside in OTP or option bytes. We recover those bytes as part of the extraction when physically accessible.
How the STM32G0 Unlock Process Works
- Initial assessment: You send us the part number, package type, and any known protection details. We confirm feasibility within 1–2 business days.
- Device shipment: Ship the target MCU (on-board or desoldered) to our lab under NDA. We require proof of IP ownership or authorized-agent documentation.
- Protection-level identification: Our equipment reads the option bytes (when accessible) or uses side-channel analysis to determine the exact RDP level and any PCROP/WRP zones.
- Extraction: For RDP Level 1, we apply non-invasive fault injection calibrated to the G0’s 64 MHz clock domain. For RDP Level 2, we proceed with decapsulation and micro-probing if the client approves the additional cost.
- Verification: Extracted firmware is verified against known CRC values (if available) and basic disassembly sanity checks. We deliver the binary in Intel HEX, Motorola S-record, or raw BIN format.
- Delivery: Files are transferred via encrypted channel. The original device is returned unless destroyed during invasive extraction.
This workflow is similar to what we follow for other STM32 families. If you also need to recover firmware from a higher-performance STM32 part, see our STM32G4 unlock service for the G4 series specifics.
Cost and Lead Time for STM32G0 Unlock
| Scenario | Typical Cost (USD) | Turnaround |
|---|---|---|
| RDP Level 1, common part (G030/G031/G070/G071) | $400 – $800 | 5–8 working days |
| RDP Level 1, AES-equipped part (G041/G0C1) | $600 – $1,200 | 7–10 working days |
| RDP Level 2, invasive extraction | $2,000 – $5,000+ | 15–25 working days |
| Rush service (RDP L1 only) | +50% surcharge | 3–5 working days |
Pricing varies with package type (TSSOP20 is simpler to handle than UFQFPN32), flash size, and whether PCROP zones are active. We provide a firm quote after the initial assessment — no surprise charges.
When STM32G0 Unlock Fails: Honest Limitations

We do not guarantee 100% success, and any lab that does is misleading you. Here are the realistic failure modes:
- RDP Level 2 with intact fuses: If the permanent protection fuses are undamaged, non-invasive methods cannot bypass them. Invasive micro-probing may still fail if die-level countermeasures are triggered.
- Corrupted flash: If the MCU has been exposed to overvoltage, ESD damage, or excessive heat, the flash cells themselves may be degraded. We can sometimes recover partial images, but gaps are possible.
- PCROP-encrypted code sections: Proprietary Code Readout Protection locks specific flash pages even after RDP regression. If the entire application resides in PCROP zones, extraction yields encrypted data without the corresponding keys.
- Damaged bond wires or pads: Poor desoldering or physical abuse can make electrical contact impossible. We recommend shipping the MCU still soldered to the board whenever feasible.
If our assessment indicates low probability of success, we tell you upfront and charge only a nominal evaluation fee ($50–$100).
Authorization and Legal Requirements
STM32G0 unlock is performed exclusively for authorized parties. Before we begin work, we require a signed declaration confirming you are the IP owner, the original developer, or an authorized agent acting on behalf of the owner. This applies equally whether you need firmware for legacy product maintenance, a second-source production run, or disaster recovery after a code repository loss. All work is covered by mutual NDA.
For 8-bit MCU recovery needs from ST’s older product lines, we also handle STM8S readout protection bypass and STM8L low-power series unlock under the same authorization framework.
STM32G0 vs. Other MCU Families: Quick Comparison
Engineers sometimes ask how STM32G0 unlock difficulty compares to other popular microcontrollers. Here is a simplified comparison:
| MCU Family | Typical Protection | Non-Invasive Feasibility | Relative Cost |
|---|---|---|---|
| STM32G0 (RDP L1) | RDP + optional PCROP | High | Medium |
| STM32G4 (RDP L1) | RDP + TrustZone-ready | High | Medium-High |
| ATmega (lock bits) | Lock bits, no encryption | Very High | Low |
| PIC18 (code protect) | CP/CPD bits | High | Low-Medium |
| AT89C51 (lock bits) | Lock bits, older process | Very High | Low |
If you are managing a multi-MCU product and need firmware recovered from several chip families simultaneously, we handle mixed-vendor projects regularly. See our pages on ATmega unlock and PIC18 code-protect removal for those specifics.
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 reviewCan STM32G0 firmware be read if RDP Level 2 is set?
RDP Level 2 permanently disables the debug interface by burning internal fuses. Non-invasive readout is impossible. Invasive micro-probing after die decapsulation is the only option, with success rates significantly lower than RDP Level 1 and costs typically exceeding $2,000. We evaluate each RDP Level 2 case individually before committing.
Do I need to desolder the STM32G0 chip before sending it?
No — in most cases we prefer to receive the MCU still soldered to the PCB. This reduces the risk of pad or bond-wire damage during removal. If the board is too large or contains sensitive components, we can guide you through safe desoldering. TSSOP and LQFP packages are straightforward; UFQFPN and WLCSP require more care.
What file formats are delivered after STM32G0 unlock?
We deliver the extracted firmware in your choice of Intel HEX (.hex), Motorola S-record (.srec), or raw binary (.bin). Option bytes and PCROP configuration registers are provided as a separate data file. If you need the binary loaded onto replacement chips, we can program them for an additional per-unit fee.
Is STM32G0 unlock legal?
Firmware recovery is legal when performed for the IP owner or their authorized agent — for example, recovering your own production firmware after source-code loss, or maintaining legacy equipment you own. We require signed proof of ownership and operate under NDA. We do not assist with unauthorized copying of third-party intellectual property.
How long does a typical STM32G0 unlock take?
For RDP Level 1 parts (the majority of requests), turnaround is 5–10 working days from the day we receive the device. Rush service can compress this to 3–5 days for a 50% surcharge. RDP Level 2 invasive extraction takes 15–25 working days due to the decapsulation and micro-probing steps involved.
Related MCU Unlock Services
- STM32G4 series firmware recovery — higher-performance Cortex-M4 parts with mixed-signal peripherals
- STM8S flash readout protection bypass — ST’s mainstream 8-bit line
- STM8L ultra-low-power unlock — battery-powered and metering applications
- ATmega lock-bit removal — Microchip/Atmel AVR 8-bit family
- PIC18 code-protect recovery — Microchip mid-range 8-bit controllers
What 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.