APM32 IC Unlock — Recovering Firmware from Geehy’s ARM Cortex-M MCUs
APM32 IC unlock is the process of reading protected firmware from Geehy’s APM32 microcontrollers — ARM Cortex-M0, M3, M4, and M0+ parts that share pin and register compatibility with STM32 but use a different flash-protection implementation. Our lab recovers code from most APM32F0xx, APM32F1xx, APM32F4xx, and APM32E1xx devices at Read-Protection Level 1, with typical turnaround of 3–8 working days and success rates above 90 % on Level-1 locked parts. Authorization and proof of IP ownership are required before we begin any job.
Why APM32 Chips Need a Dedicated Unlock Approach

Geehy markets the APM32 line as an STM32-compatible alternative, and many designers treat the two as interchangeable. At the register level they are close — but the flash controller, option-byte layout, and debug-port lockout behaviour differ enough that STM32-oriented tools and exploits do not transfer directly.
Key differences our engineers account for:
- Option-byte address offset. APM32 option bytes sit at 0x1FFF F800 on F1 parts, matching STM32, but the erase/write timing parameters differ by ~15 %. Incorrect timing can brick the option-byte area.
- SWD lockout vs. JTAG lockout. APM32F4 parts disable SWD and JTAG independently. A chip may still respond on one interface when the other is locked.
- Boot-ROM version. Geehy has shipped at least three boot-ROM revisions for the F103 alone. Each revision changes the system-memory entry conditions and the UART bootloader handshake timing.
- Flash ECC on newer silicon. APM32F407 and E103 revisions after 2022 add single-bit ECC to flash, which affects how we verify readback integrity.
Because of these nuances, a generic “STM32 unlock” workflow applied to an APM32 chip risks a full flash erase — destroying the firmware you need. We maintain APM32-specific toolchains and test fixtures to avoid that outcome.
Which APM32 Families Can We Read?
| Family | Core | Common Parts | RDP Level 1 | RDP Level 2 | Typical Turnaround |
|---|---|---|---|---|---|
| APM32F030 / F051 | Cortex-M0 | APM32F030C8, F051R8 | Supported — high success | Not recoverable (non-invasive) | 3–5 days |
| APM32F103 | Cortex-M3 | APM32F103C8, F103RB, F103ZE | Supported — high success | Requires invasive analysis; case-by-case | 3–5 days (L1) / 15–25 days (L2 attempt) |
| APM32F407 / F405 | Cortex-M4F | APM32F407VG, F405RG | Supported | Limited; depends on silicon revision | 5–8 days |
| APM32E103 | Cortex-M3 | APM32E103VE, E103ZE | Supported | Case-by-case | 5–8 days |
| APM32F003 / F072 | Cortex-M0+ | APM32F003x6, F072RB | Supported | Under evaluation | 5–7 days |
Level 2 reality check: RDP Level 2 on APM32 is a permanent fuse. Non-invasive recovery is impossible once Level 2 is set. We can attempt invasive (decap + micro-probing) methods on select packages (LQFP-48/64/100), but success is not guaranteed and cost increases significantly — typically 3–5× the Level 1 price. We will always tell you upfront if a job is Level 2.
How APM32 Read Protection Works
Level 0 — Unprotected
Debug access is open. Flash can be read freely via SWD/JTAG or the UART bootloader. No unlock service needed.
Level 1 — Debug-Read Disabled
The SWD port connects but cannot read flash. The UART bootloader responds but blocks the Read Memory command. A mass-erase command is still accepted, which is why careless attempts destroy the firmware. Our approach bypasses the read gate without triggering erase — the specific technique depends on the boot-ROM revision and silicon stepping.
Level 2 — Permanent Lock
Debug port is permanently disabled at the hardware level. UART bootloader is disabled. The only path is physical die-level analysis. We accept these jobs selectively and always quote after a feasibility review. For a deeper look at what each protection level changes on APM32, see our page on how APM32 protection levels affect recovery.
Our APM32 IC Unlock Process — Step by Step
- Feasibility request. You send us the full part number (e.g., APM32F103CBT6), package type, and a brief description of why you need the firmware recovered. We require a signed declaration of ownership or authorized access.
- Protection-level identification. Using a custom SWD probe sequence, we determine the exact RDP level and boot-ROM revision without risking flash content. This takes under one working day.
- Quote and timeline. Based on the protection level and part family, we send a fixed-price quote. Level 1 jobs on F0/F1 parts start around $350–$600; F4 and Level 2 attempts are quoted individually.
- Firmware extraction. We perform the readout in our shielded lab. For Level 1, the chip is not decapped — the process is non-invasive and the IC remains functional afterward.
- Verification. The extracted binary is verified against the chip’s flash size and CRC. We deliver a .bin and .hex file, plus a brief report noting any anomalies (blank regions, partial reads, ECC corrections).
- Delivery under NDA. Files are transferred via encrypted link. The chip is returned to you if requested.
For general feasibility, cost factors, and lead-time expectations across the APM32 line, our APM32 unlock feasibility and pricing page covers those details.
What Can Go Wrong — Honest Limitations

We do not promise 100 % success on every APM32 IC unlock job. Here is what can complicate or prevent recovery:
- Damaged flash cells. If the chip has been exposed to overvoltage, ESD, or excessive heat, flash contents may already be corrupted before we begin. We can still attempt a read, but the output may not be a runnable binary.
- Counterfeit or remarked parts. Some “APM32” chips on the grey market are actually relabeled GD32 or STM32 dies. Our probe sequence identifies the actual silicon, but the unlock path changes — and may not be covered under the original quote.
- Level 2 on small packages. Decap and micro-probing on QFN-20 or TSSOP-20 packages is extremely difficult. We generally decline Level 2 jobs on packages smaller than LQFP-48.
- Encrypted application layer. Even after successful flash readout, some firmware includes application-level AES encryption of critical data sections. We deliver the raw binary; decrypting application-layer encryption is the owner’s responsibility.
APM32 vs. GD32 vs. STM32 — Unlock Comparison
| Factor | APM32 (Geehy) | GD32 (GigaDevice) | STM32 (ST) |
|---|---|---|---|
| RDP Levels | 0, 1, 2 | 0, 1, 2 | 0, 1, 2 |
| Level 1 Non-Invasive Recovery | High success (boot-ROM dependent) | High success (SWD glitch path) | Moderate–high (varies by series) |
| Level 2 Recovery | Invasive only; limited | Invasive only; limited | Invasive only; very difficult on newer dies |
| Boot-ROM Bootloader | UART, some parts add I2C | UART + USB DFU on select parts | UART + USB DFU + SPI/I2C |
| Typical L1 Turnaround | 3–8 days | 3–7 days | 5–12 days |
If your board uses a GigaDevice controller instead, our GD32 unlock guide explains where GD32 differs from STM32 in practice — and why the same distinction matters when comparing GD32 to APM32.
Authorization and Legal Requirements
Every APM32 IC unlock job requires documented proof that you own the IP or have written authorization from the IP holder. We verify this before starting work — no exceptions. Common acceptable documentation includes purchase orders for the original design, employment verification for in-house engineering recovery, or a letter of authorization from the rights holder.
We decline jobs where ownership cannot be established or where the intent is clearly to replicate a competitor’s proprietary design. For a full explanation of what we accept and what we turn away, read our page on whether IC unlock is legal and which jobs we decline.
Related Chip Families We Support
Engineers working with APM32 often also use other ARM Cortex-M or alternative-architecture MCUs on the same product line. Our lab handles firmware recovery across a wide range of vendors:
- WCH CH32 RISC-V MCU unlock — another popular low-cost alternative to STM32.
- Nordic nRF52 and nRF51 firmware extraction — common in BLE-enabled products that also carry an APM32 for application processing.
- Maxim Integrated secure-MCU recovery — for mixed-signal designs pairing APM32 with Maxim analog front-ends.
Can you unlock an APM32F103 without erasing the flash?
Yes, for Read-Protection Level 1. Our non-invasive method reads flash content without triggering the mass-erase sequence. The chip remains functional and can be returned to you. Level 2 parts require invasive analysis, which may damage the package but still preserves flash data on the die.
How do I know if my APM32 is Level 1 or Level 2?
Connect an SWD debugger (e.g., J-Link or ST-Link in SWD mode). If the debugger connects but cannot read flash, the chip is likely Level 1. If the debugger cannot connect at all and the UART bootloader does not respond, the chip is likely Level 2. We can confirm the exact level during our free feasibility assessment.
Is APM32 IC unlock the same as STM32 unlock?
No. While APM32 and STM32 share similar register maps and pin layouts, the flash controller timing, boot-ROM revisions, and option-byte behavior differ. Applying an STM32 unlock technique to an APM32 chip can trigger a full flash erase. We use APM32-specific toolchains to avoid this.
What file formats do you deliver after APM32 firmware extraction?
We deliver a raw .bin file and an Intel .hex file covering the full flash address range. A brief verification report is included noting flash size, CRC check results, and any blank or anomalous regions. If you need disassembly or source-level reconstruction, that is a separate service quoted individually.
How much does APM32 IC unlock cost?
Level 1 jobs on APM32F0 and F1 parts typically range from $350 to $600. APM32F4 parts and Level 2 invasive attempts are quoted after feasibility review, generally $800–$2,500+. We provide a fixed quote before starting — no surprise charges.
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 reviewWorking 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