Bao'An Shenzhen China

CH32 Unlock | Feasibility, Cost & Lead Time

Oct 25, 2026  /  PCB COPY

ch32 unlock: CH32V microcontroller on PCB connected to WCH-Link debug probe for firmware readout

CH32 Unlock: Authorized Firmware Recovery for WCH Microcontrollers

CH32 unlock is the process of reading protected firmware from WCH’s CH32 series microcontrollers when the original source code or binary is no longer available. WCH (Nanjing Qinheng Microelectronics) ships a growing family of RISC-V and ARM Cortex-M based MCUs—CH32V, CH32F, CH32X, and CH32L lines—that include configurable read-out protection (RDP/ROP). Our engineers perform authorized CH32 unlock for clients who own the IP but have lost access to their production firmware, need to support legacy hardware, or must recover code from a discontinued product line.

What Read Protection Does WCH Use on CH32 Chips?

ch32 unlock: CH32V microcontroller on PCB connected to WCH-Link debug probe for firmware readout

WCH implements a multi-level protection scheme across the CH32 family. The specifics vary by sub-family and silicon revision, but the general architecture follows a consistent pattern.

Protection Level Effect Recovery Feasibility
Level 0 (No Protection) Flash freely readable via SWD/JTAG or WCH-Link Trivial — standard readout
Level 1 (Read-Out Protection) Debug interface blocked for flash reads; SRAM debug may still work; mass-erase reverts to Level 0 High — recoverable on most CH32V/F variants via known techniques
Level 2 (Permanent Lock) Debug port permanently disabled; no revert possible via standard interface Low to moderate — requires invasive or semi-invasive approach; success depends on specific die revision

Most production CH32 boards we receive are set to Level 1. WCH’s Level 1 implementation on earlier CH32V003, CH32V103, CH32V203, and CH32F103 parts has known weaknesses that our lab exploits using voltage-glitch and timing-based fault injection on the boot ROM handshake. Level 2 parts require die-level analysis and are evaluated case by case.

Which CH32 Sub-Families Can We Unlock?

The CH32 family has expanded rapidly since 2020. Below is a snapshot of the sub-families we encounter most often, along with our current success assessment.

Sub-Family Core Flash Range Unlock Success (Level 1) Notes
CH32V003 RISC-V (QingKe V2A) 16 KB ~95% Single-wire debug; small flash dumps quickly
CH32V103 RISC-V (QingKe V3A) 64–128 KB ~90% Similar ROP to STM32F1; well-characterized
CH32V203 RISC-V (QingKe V4B) 64–256 KB ~85% USB variants common in consumer products
CH32V208 RISC-V (QingKe V4C) 128 KB ~80% BLE stack in ROM complicates extraction window
CH32V303/305/307 RISC-V (QingKe V4F) 128–480 KB ~80% Larger flash; longer extraction; FPU variants
CH32F103 ARM Cortex-M3 64–128 KB ~90% Pin-compatible STM32F103 clone; same RDP weaknesses
CH32F203/208 ARM Cortex-M3 128–256 KB ~85% Higher clock speeds; timing windows tighter
CH32X035 RISC-V (QingKe V4C) 62 KB ~75% Newer silicon; USB PD focus; still under active research
CH32L103 RISC-V (QingKe V4A) 64 KB ~80% Low-power variant; standby mode complicates glitch entry

Percentages reflect our lab’s historical success on Level 1 parts. Level 2 success rates are significantly lower (30–60%) and require a separate feasibility assessment. We do not charge for unsuccessful attempts on Level 2 devices.

How CH32 Unlock Works in Our Lab

Step 1: Identification and Protection-Level Check

We connect to the chip via WCH-Link or SWD/single-wire debug and query the option bytes to confirm the exact part number, silicon revision, and active protection level. On CH32V003 parts, the single-wire SWDIO protocol requires a custom adapter—standard ARM debuggers won’t enumerate the device.

Step 2: Technique Selection

For Level 1 CH32 parts, our primary approach uses voltage fault injection (VFI) targeting the boot ROM’s protection-check routine. We pulse the VCC rail with a sub-microsecond glitch during the ROP validation window. On CH32F103 parts—which share silicon heritage with STM32F1—we can often apply the same glitch parameters we use for STM32C0 firmware recovery with minor timing adjustments.

For Level 2 or newer silicon revisions where VFI fails, we escalate to semi-invasive techniques: UV exposure of the die to reset protection fuses (effective on older CH32V103 revisions) or focused-ion-beam (FIB) rerouting on the security logic. FIB work adds cost and time but has recovered firmware from parts that resist all non-invasive methods.

Step 3: Extraction and Verification

Once the protection check is bypassed, we dump the full flash contents—including the interrupt vector table, application code, and any data stored in the upper flash pages. We verify the dump against a CRC32 checksum and, where possible, cross-reference peripheral initialization sequences against the known CH32 SVD files to confirm the binary is coherent and complete.

Step 4: Delivery

You receive the raw binary (.bin), Intel HEX (.hex), and a brief extraction report documenting the chip revision, protection level encountered, and verification results. If you need the firmware reflashed onto blank CH32 parts, we can program them in-house before shipping.

Cost and Lead Time for CH32 Unlock

Voltage fault injection workstation with oscilloscope and probe fixture for MCU unlock
Scenario Typical Cost (USD) Lead Time (Working Days)
CH32V003 / CH32F103, Level 1 $350 – $600 5 – 7
CH32V203 / CH32V303, Level 1 $500 – $900 7 – 10
CH32V208 / CH32X035, Level 1 $600 – $1,200 7 – 12
Any CH32, Level 2 (invasive) $1,500 – $4,000+ 15 – 25
Batch unlock (10+ identical parts) 30–50% discount per unit after first +2–5 days over single-unit time

Pricing depends on flash size, protection level, and silicon revision. Newer CH32X and CH32L parts with updated boot ROMs may require additional research time, which we quote after a free initial assessment. We accept chips shipped loose, on-board, or as complete assembled PCBAs.

Authorization and Legal Requirements

We perform CH32 unlock only for authorized parties. Before starting work, we require a signed declaration confirming you are the IP owner, the original equipment designer, or have written authorization from the rights holder. Typical qualifying scenarios include:

  • You designed the product but lost the source code or build environment.
  • Your contract manufacturer went out of business and you need to move production.
  • You’re maintaining legacy equipment and need to duplicate or patch the firmware on replacement parts.
  • A development team member left and the repository is inaccessible.

All work is performed under NDA. We never retain copies of extracted firmware after delivery. For details on our IP-protection policies, see our trust and authorization page.

CH32 vs. Other Budget MCU Families: Unlock Comparison

WCH’s CH32 line competes with several low-cost MCU families. If you’re unsure which chip is on your board, or if you have mixed-vendor designs, these sibling pages cover related unlock services:

  • CH552 unlock — WCH’s 8051-core USB MCU, different protection architecture from CH32.
  • ESP8266 firmware recovery — Espressif’s Wi-Fi SoC with flash-encryption and secure-boot considerations.
  • PIC12 unlock — Microchip’s 8-bit baseline parts with code-protect fuse bits.
  • nRF51 unlock — Nordic’s BLE SoC with APPROTECT, another common low-cost wireless MCU.

CH32 parts are generally easier to unlock than STM32L5 or STM32U5 devices with TrustZone, but harder than legacy PIC12/PIC14 parts with simple code-protect fuses. The RISC-V core on CH32V variants means standard ARM exploit chains don’t apply directly—custom tooling is required.

What Can Go Wrong

Transparency matters. Here are the real failure modes we encounter during CH32 unlock:

  • Newer silicon revisions with patched boot ROM: WCH occasionally updates the boot ROM mask to close known VFI windows. A CH32V203 from 2022 may unlock easily while a 2024-dated part of the same model may resist the same glitch parameters.
  • Level 2 with blown debug fuse: If the JTAG/SWD fuse is permanently blown (not just software-disabled), non-invasive access is impossible. We must decap and work at the die level.
  • Damaged flash cells: ESD damage or excessive erase cycles can corrupt flash contents. We can still dump what’s there, but the binary may be partially corrupted.
  • Custom bootloader overlap: Some CH32 designs use a custom bootloader in the first 4–8 KB of flash. If the protection check is interleaved with bootloader code, the glitch window shrinks and success rates drop ~10–15%.

We provide a free feasibility assessment before quoting. If we determine the part is unlikely to yield a clean dump, we’ll tell you upfront.

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
Is CH32 unlock the same as cracking the chip?

No. CH32 unlock as we perform it is authorized firmware recovery for IP owners or their designees. We require proof of ownership or written authorization before beginning work. The techniques bypass the read-out protection to recover your own code—not to pirate someone else’s design.

Can I send the entire PCBA instead of desoldering the CH32 chip?

Yes. We accept complete assembled boards. Our technicians will identify the CH32 part, connect to it on-board if possible, or desolder it for bench work if needed. Sending the full PCBA also lets us verify the dump by cross-referencing peripheral connections.

Will the CH32 chip still work after the unlock process?

For Level 1 non-invasive extraction, the chip remains fully functional in over 95% of cases. The voltage-glitch technique does not alter flash contents or option bytes. For Level 2 invasive work involving decapping, the specific chip is consumed, but the firmware is extracted and can be programmed onto a fresh CH32 part.

How do I know which CH32 variant and protection level I have?

The part number is printed on the package (e.g., CH32V203C8T6). You can check the protection level by connecting a WCH-Link and attempting a read via WCH’s ISP tool—if it returns “protected,” Level 1 or 2 is active. Send us a photo of the chip marking and we’ll confirm the variant and estimate feasibility at no cost.

Do you offer volume pricing for production-line firmware recovery?

Yes. After the first CH32 chip in a batch is unlocked and the technique is characterized, subsequent identical parts take significantly less time. We offer 30–50% per-unit discounts on batches of 10 or more. Contact us with your quantity and part number for a batch quote.

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