Bao'An Shenzhen China

APM32 Unlock | Feasibility, Cost & Lead Time

Published · About 8 min read · PCB-Copy

On this page
  1. APM32 Unlock: Recovering Firmware from Geehy Microcontrollers
  2. What Protection Does the APM32 Use?
  3. Which APM32 Series Can Be Unlocked?
  4. How the APM32 Unlock Process Works
  5. Cost and Lead Time for APM32 Unlock
  6. Authorization and Legal Requirements
  7. When APM32 Unlock May Not Be Possible
  8. APM32 vs. Comparable MCU Unlock Difficulty
  9. Deliverable Formats
  10. Frequently Asked Questions
  11. Related MCU Unlock Services

APM32 Unlock: Recovering Firmware from Geehy Microcontrollers

APM32 unlock is the process of reading protected flash contents from Geehy Semiconductor’s APM32 family of ARM Cortex-M microcontrollers. Geehy APM32 chips — pin-compatible alternatives to many STM32 parts — use read-out protection (RDP) levels and option-byte locks to prevent unauthorized access to on-chip firmware. Our engineers can recover flash data from most APM32F0, APM32F1, APM32F4, and APM32E1 series devices when the requester provides proof of IP ownership or authorized maintenance need, typically within 5–10 working days at costs starting around $400–$900 depending on the protection level and package.

What Protection Does the APM32 Use?

apm32 unlock: Geehy APM32F103 microcontroller on a PCB with SWD debug header

Geehy’s APM32 family borrows heavily from the STM32 protection architecture, which makes sense given its pin-and-register compatibility goal. However, there are silicon-level differences that matter for firmware recovery.

Read-Out Protection (RDP) Levels

Most APM32 devices implement two or three protection tiers:

  • Level 0 (no protection): Flash memory is fully readable via SWD/JTAG and the bootloader. No unlock needed.
  • Level 1: Flash read access is blocked through the debug interface and the system bootloader. However, the debug connection itself is not permanently disabled — SRAM can still be accessed, and certain side-channel or glitch-based techniques may allow flash extraction. This is the most common protection level we encounter on APM32 parts.
  • Level 2 (where implemented): Debug interface is permanently disabled at the hardware level. Recovery is significantly harder and may require invasive (decap) methods. Not all APM32 sub-families enforce a true Level 2; some only document it without full silicon implementation.

Option Bytes and Write Protection

Beyond RDP, APM32 option bytes can set per-page write protection and configure the watchdog, BOOT pins, and brownout levels. Write protection alone does not prevent reading — it protects against accidental erase. But incorrectly configured option bytes can complicate recovery by forcing unexpected boot modes.

How APM32 Differs from STM32 in Practice

Although Geehy markets APM32 as STM32-compatible, the flash controller, RDP implementation, and boot ROM are not identical silicon. We have observed differences in glitch-fault timing windows, voltage thresholds, and bootloader command responses across APM32F103, APM32F407, and APM32F030 compared to their ST equivalents. These differences mean that STM32-specific attack tooling does not always transfer directly — our lab maintains APM32-specific characterization data for the most common part numbers.

Which APM32 Series Can Be Unlocked?

Series Core RDP Levels Unlock Feasibility Typical Method
APM32F030 / F051 / F072 Cortex-M0 0, 1 High Voltage glitch / bootloader exploit
APM32F103 Cortex-M3 0, 1, 2 High (L1), Case-by-case (L2) Glitch / UV / semi-invasive
APM32F407 / F405 Cortex-M4 0, 1, 2 High (L1), Moderate (L2) Glitch / decap for L2
APM32E103 Cortex-M3 0, 1 High Voltage glitch
APM32S103 Cortex-M3 0, 1, 2 Moderate–High Glitch / semi-invasive

Important caveat: Geehy periodically updates mask revisions. A technique that works on an early-revision APM32F103 may fail on a later stepping. We always request the full part marking (including date code and lot number) before quoting feasibility.

How the APM32 Unlock Process Works

Step 1 — Feasibility Assessment

You send us the exact part number (e.g., APM32F103CBT6), the protection level if known, and proof of ownership or authorization. Our engineers cross-reference the device against our internal database of characterized APM32 silicon revisions. We respond within 1–2 business days with a go/no-go assessment and a firm quote.

Step 2 — Device Shipping

You ship the target device (or the entire PCB assembly if desoldering is risky). We recommend anti-static packaging and tracked international shipping. For urgent cases, we can work with your logistics provider for door-to-door express.

Step 3 — Firmware Extraction

For RDP Level 1 parts, our primary approach uses precision voltage-glitch injection on the power rail during the RDP check sequence. The APM32’s flash controller has a narrow timing window — typically 50–200 ns depending on the series — during which a controlled voltage drop can cause the protection flag check to fail, allowing a subsequent read command to succeed. This is non-destructive to the device in most cases.

For Level 2 or hardened parts, we may use UV exposure (on older process nodes) or chemical decap followed by microprobing. These are invasive and may consume the device.

Step 4 — Verification and Delivery

Extracted firmware is delivered as a raw binary (.bin) or Intel HEX file. We verify the dump by comparing CRC values, checking vector tables, and (where possible) re-flashing to a blank APM32 to confirm functional execution. You receive the file via encrypted transfer under NDA.

Cost and Lead Time for APM32 Unlock

Scenario Typical Cost (USD) Lead Time (working days)
APM32F0xx, RDP Level 1 $400 – $600 5 – 7
APM32F103, RDP Level 1 $500 – $800 5 – 8
APM32F407, RDP Level 1 $600 – $900 7 – 10
Any APM32, RDP Level 2 (invasive) $1,200 – $2,500+ 10 – 20
Rush surcharge (≤3 days) +40–60% 2 – 3

Pricing depends on package type (QFP vs. BGA affects decap difficulty), quantity of devices, and whether we have prior characterization data for that specific stepping. No fee is charged if we cannot extract the firmware.

Authorization and Legal Requirements

We perform APM32 unlock only for requesters who demonstrate legitimate need: recovering firmware you originally developed, maintaining legacy equipment where the original developer is unavailable, or producing authorized replacement boards for your own product line. Every project requires a signed NDA and a declaration of ownership or authorization. We decline requests that appear aimed at copying a competitor’s proprietary firmware. For full details on our compliance framework, see our authorization and trust policy.

When APM32 Unlock May Not Be Possible

Voltage-glitch injection lab setup for microcontroller firmware recovery

Honest assessment matters more than promising everything. Here are realistic failure scenarios:

  • RDP Level 2 on late-revision silicon: Geehy has tightened Level 2 enforcement on newer APM32F4 steppings. If the debug fuse is truly blown and the process node is 40 nm or below, non-invasive methods will fail, and invasive methods carry roughly a 70–80% success rate.
  • Damaged or erased flash: If the device experienced latch-up, overvoltage, or an incomplete erase cycle, the flash contents may be corrupted regardless of protection level.
  • Encrypted payloads: Some APM32 designs store firmware in an application-level encrypted format. We can extract the raw flash image, but decryption of application-layer encryption is outside our standard scope.

APM32 vs. Comparable MCU Unlock Difficulty

If you are evaluating which MCU families are easier or harder to recover firmware from, context helps. The APM32F1 series is broadly comparable in difficulty to the STM32F1 — both use similar Cortex-M3 cores with analogous RDP implementations, though the glitch parameters differ. Compared to Nordic nRF51 unlock (which has well-documented APPROTECT bypass), APM32 is moderately harder. Relative to STM32L5 unlock with its TrustZone-based protection, APM32 is considerably easier.

For engineers working across multiple platforms, we also handle PIC12 firmware recovery and ESP8266 flash readout, among dozens of other families.

Deliverable Formats

  • Raw binary (.bin): Exact flash image starting at 0x08000000, suitable for direct re-programming.
  • Intel HEX (.hex): Address-tagged format compatible with most flash programmers (J-Link, ST-Link, OpenOCD).
  • Option byte dump: Separate file documenting all option byte settings so you can replicate the original configuration.
  • Verification report: CRC32, SHA-256 hash, vector table analysis, and re-flash test result where applicable.

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

Is APM32 unlock the same as STM32 unlock?

Not exactly. While Geehy’s APM32 mirrors STM32 register maps and pin assignments, the underlying flash controller silicon differs. Glitch timing, voltage thresholds, and bootloader behavior vary between APM32 and STM32 parts with the same model suffix. Our lab maintains separate characterization profiles for each family, and a technique proven on an STM32F103 may require recalibration for an APM32F103.

Can you unlock APM32 chips still soldered to a PCB?

Yes, for non-invasive (Level 1) recovery we can work with the chip in-circuit, provided the SWD pins are accessible and the board’s power supply is stable. For invasive Level 2 work requiring decap, the chip must be desoldered first — we handle this in-house if you ship the complete board.

What if my APM32 device has a custom bootloader?

A custom bootloader does not change the RDP protection mechanism — it resides in the same user flash. We extract the entire flash image including the bootloader region. If you need only the application section, we can provide a trimmed binary based on the vector table and linker map analysis.

Do you charge if the unlock attempt fails?

No. If we cannot extract valid firmware, you pay only return shipping. We assess feasibility before starting, so outright failures are rare — but they can occur with damaged devices or unusually hardened silicon revisions.

How do I know the extracted firmware is complete and correct?

We verify every dump against multiple criteria: the Cortex-M vector table must contain valid stack pointer and reset handler addresses, CRC checks must match across repeated reads, and where a second device is available, we compare dumps for consistency. On request, we re-flash the binary to a blank APM32 and confirm basic execution.

Related MCU Unlock Services

TURN THE GUIDE INTO A PROJECT QUESTION

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.

WhatsApp Send board details