Bao'An Shenzhen China

CH552 Unlock | Feasibility, Cost & Lead Time

Oct 25, 2026  /  PCB COPY

ch552 unlock: WCH CH552G microcontroller soldered on a green circuit board

What Is CH552 Unlock and When Do You Need It?

CH552 unlock is the process of recovering firmware from a WCH CH552 microcontroller whose code-read-protection bits have been set. Because the CH552 uses a relatively simple 8051 core with a limited security model, authorized recovery is feasible in the majority of cases. Typical scenarios include restoring firmware from a discontinued product you own, recovering source code lost in a development handover, or supporting legacy hardware where the original programmer file is no longer available.

CH552 Architecture and Protection Overview

ch552 unlock: WCH CH552G microcontroller soldered on a green circuit board

The CH552 belongs to WCH’s CH55x family — an 8-bit enhanced 8051 architecture running at up to 24 MHz with 16 KB of code flash and 1 KB of internal XRAM. It integrates a full-speed USB 2.0 device controller, making it popular in USB HID devices, dongles, LED controllers, and low-cost IoT peripherals.

Code Protection Mechanism

WCH implements code protection through configuration bits written during programming. When protection is enabled, the standard ISP/USB bootloader refuses read-back commands for the code flash region. However, the CH552 lacks several hardening features found in more advanced MCUs:

  • No hardware encryption engine — flash contents are stored as plaintext.
  • No secure boot chain — the bootloader itself is a fixed ROM with known behavior.
  • No anti-tamper mesh or voltage glitch detection on most production silicon revisions.
  • Single-level protection — unlike STM32 families with RDP Level 0/1/2, the CH552 offers a binary lock/unlock model.

These characteristics place the CH552 in a low-difficulty category for authorized firmware recovery compared to, for example, an STM32L5 with TrustZone-based protection or an nRF51 with its RBPCONF-hardened readback.

How CH552 Unlock Works in Practice

Our engineers evaluate every CH552 unlock request through a structured workflow. The exact technique depends on the silicon revision and the specific protection state.

Step 1 — Identification and Triage

We identify the exact part marking (CH552G, CH552T, CH552E, or CH552P package variants) and silicon revision. The bootloader version is probed via USB to determine which ISP protocol variant the chip uses. Some early revisions (pre-2020 masks) have known weaknesses that simplify recovery.

Step 2 — Non-Invasive Attempt

A protocol-level approach is attempted first. This involves interacting with the on-chip USB bootloader using modified command sequences. Because WCH’s ISP protocol has been extensively analyzed by the open-source community (e.g., the ch55xtool and wchisp projects), our tooling can probe for edge cases in the bootloader’s protection enforcement — timing windows, incomplete state checks, or undocumented commands present in specific ROM versions.

Step 3 — Semi-Invasive / Fault Injection

If the non-invasive path is blocked (typically on newer silicon revisions with patched bootloaders), we escalate to voltage-glitch injection during the bootloader’s protection-check routine. The CH552’s lack of glitch-detection circuitry makes this a reliable second path. A precisely timed supply voltage dip during the protection-bit evaluation can cause the check to pass, enabling a standard read-back.

Step 4 — Verification

Recovered firmware is verified by disassembly (8051 instruction set), checksum validation against any known CRC stored in the image, and — where possible — functional re-programming into a blank CH552 to confirm the binary boots correctly.

Feasibility, Cost, and Lead Time

Parameter Typical Value Notes
Overall feasibility 90–95% Lower on newest mask revisions (2023+)
Flash size recovered Up to 16 KB Full code flash; data flash (128 B) included
Turnaround — standard 5–7 working days Includes verification
Turnaround — expedited 3–4 working days Priority queue surcharge applies
Cost range $400 – $800 USD Depends on revision, quantity, and urgency
Sample chips required 2–3 units minimum One may be consumed during glitch attempts
Deliverable format .bin / .hex / .ihx Optional annotated 8051 disassembly available

Pricing sits at the lower end of our IC unlock range because the CH552’s protection is straightforward relative to ARM Cortex-based parts. By comparison, unlocking a STM32U5 series chip with its multi-level RDP and secure area features typically costs 2–3× more.

What Can Go Wrong?

No recovery process is guaranteed. Here are the realistic failure modes specific to CH552 unlock:

  • Newer mask revisions with patched bootloaders — WCH periodically updates the boot ROM. A 2023-or-later revision may close previously exploitable timing windows, reducing non-invasive success rates.
  • Damaged flash cells — if the chip has been subjected to excessive heat (e.g., desoldering damage above 280 °C peak), flash contents may be partially corrupted. We can still extract, but the binary may not be fully functional.
  • Custom bootloader overwrite — some designs replace the stock WCH bootloader with a custom one. This changes the attack surface entirely and requires additional reverse-engineering effort (quoted separately).
  • Insufficient sample quantity — voltage glitching is a statistical process. With only one chip, there is a risk of permanent lockout before a successful read. We recommend shipping at least 3 units.

CH552 vs. Other Low-Cost MCUs — Protection Comparison

Voltage glitch injection workstation used for MCU firmware recovery
MCU Family Core Protection Model Unlock Difficulty
WCH CH552 8051 Single config-bit lock Low
Holtek HT series Proprietary RISC OTP + code option bits Low–Medium
Microchip PIC12 PIC baseline CP bit per block Low–Medium
Espressif ESP8266 Xtensa LX106 External SPI flash + optional encrypt Medium (encrypted: High)
STM32WB Cortex-M4 + M0+ RDP L1/L2 + secure area High

The CH552’s single-level, software-only protection without hardware countermeasures keeps it firmly in the “low difficulty” bracket — good news for authorized recovery projects.

Authorization and Legal Requirements

We perform CH552 unlock exclusively for authorized parties. Before work begins, you must provide:

  • Proof of ownership or a written authorization letter from the IP holder.
  • A signed NDA (we provide a template, or we can work under yours).
  • A brief description of the recovery purpose (legacy support, lost source, production continuity).

We decline requests that lack clear authorization or that appear intended to copy third-party proprietary firmware. All projects are logged and conducted under our standard confidentiality framework.

How to Get Started

Send us 2–3 sample CH552 chips (or the complete PCB assembly if desoldering is impractical — our team handles rework in-house). Include the part number, any known firmware version strings, and your authorization documentation. We return a feasibility assessment within 1–2 working days of receiving samples, at no charge.

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

Frequently Asked Questions

Can the CH552 be unlocked without destroying the chip?

In most cases, yes. Our primary non-invasive and voltage-glitch techniques do not require decapsulation or physical modification of the die. Approximately 85% of successful CH552 recoveries leave the original chip fully functional and re-programmable afterward. The remaining cases involve chips that enter a permanent lockout state during glitch attempts, which is why we request 2–3 sample units.

Does CH552 unlock also recover the data flash (128 bytes)?

Yes. The 128-byte data flash region at the end of the address map is extracted alongside the 16 KB code flash. This area often holds calibration constants, serial numbers, or configuration parameters that are critical for a complete firmware restoration.

Is the CH552G different from the CH552T for unlock purposes?

The G (SOP-16) and T (TSSOP-20) packages share the same die and boot ROM, so the unlock process is identical. The CH552E (MSOP-10) omits some GPIO pins but uses the same flash protection mechanism. The only variable that matters is the silicon mask revision date, not the package suffix.

What if I only have one CH552 chip available?

We can attempt recovery with a single unit, but the risk of consuming the chip during fault injection rises to roughly 15–20%. If the chip is soldered onto an irreplaceable board, we apply more conservative glitch parameters, which extends turnaround by 1–2 days but reduces the chance of permanent lockout.

Can you also reverse-engineer the PCB the CH552 sits on?

Absolutely. If you need a complete board clone — schematic, Gerber files, and BOM — alongside the firmware recovery, we handle both under a single project. This is common for legacy USB accessories and LED controller boards built around the CH55x family.

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