Bao'An Shenzhen China

AT32F403 Unlock | Feasibility, Cost & Turnaround

Oct 2, 2026  /  PCB COPY

at32f403 unlock: Artery AT32F403 microcontroller in LQFP-100 package soldered onto a circuit board

AT32F403 Unlock — What You Need to Know First

The Artery AT32F403 is a Cortex-M4F MCU running up to 240 MHz with 256 KB–1024 KB of on-chip flash. When its read-protection (sLib or global RDP) is engaged, standard debug tools like J-Link or AT-Link cannot read back firmware. An AT32F403 unlock extracts that protected firmware so you can recover lost source code, maintain legacy products, or verify your own production binaries. Our engineers have handled dozens of AT32F4xx-family recoveries, and this page covers exactly what the process involves for the AT32F403 specifically.

How Does the AT32F403 Protect Its Firmware?

at32f403 unlock: Artery AT32F403 microcontroller in LQFP-100 package soldered onto a circuit board

Artery’s AT32F403 implements a two-tier protection model that differs in meaningful ways from the STM32 parts it is often compared to. Understanding these tiers is the first step in evaluating whether an unlock is realistic for your situation.

Global Read Protection (RDP)

RDP on the AT32F403 has two active levels. Level 1 blocks SWD/JTAG readback while still allowing flash erase-and-reprogram. Level 2 permanently disables the debug port — once set, the silicon cannot be reconnected to a debugger by any standard means. Most production boards ship at Level 1. Level 2 is rare in the field because it also prevents legitimate field updates.

sLib (Security Library) Protection

Artery’s proprietary sLib feature lets developers lock a defined region of flash (typically the first 4 KB–64 KB) as a callable library while leaving the rest of flash accessible. The sLib password is a 32-bit value stored in option bytes. If only sLib is active (no global RDP), the unprotected flash area can be read normally; recovery focuses on the locked library region.

Option-Byte Write Protection (WRP)

WRP prevents accidental erase of specific flash pages but does not block readback. It is not a security barrier for firmware extraction — it only guards against in-application overwrites.

Protection Layer Blocks Readback? Reversible? Typical Field Use
RDP Level 1 Yes — SWD/JTAG Yes (mass-erase clears it) ~85 % of locked AT32F403 boards
RDP Level 2 Yes — permanent No standard path Rare; high-security applications
sLib only Partial (library region) Password-dependent Bootloader / crypto-key storage
WRP No Yes OTA-safe sectors

Is AT32F403 Unlock Feasible?

For RDP Level 1 — which covers the vast majority of locked AT32F403 devices we receive — firmware recovery is feasible with a success rate our lab considers high. The approach combines fault-injection techniques on the voltage and clock domains with proprietary glitching parameters tuned to Artery’s 55 nm flash process. Because the AT32F403 shares die-level similarities with other AT32F4xx parts, experience on the AT32F413 unlock process directly informs parameter selection for the F403.

RDP Level 2 devices require invasive methods — decapsulation and micro-probing — which are more expensive, slower, and carry a lower success probability. We evaluate these on a case-by-case basis and will tell you upfront if the economics don’t make sense.

sLib-only recovery depends on whether the 32-bit password can be derived or the library region can be accessed through a glitch window. In roughly 70 % of sLib-only cases, extraction succeeds within the first attempt cycle.

Step-by-Step: How We Perform an AT32F403 Unlock

  1. Intake & verification — You ship the target board or bare chip. We confirm the exact part number (AT32F403AVCT7, AT32F403ARCT7, etc.), read option bytes to identify which protections are active, and photograph the package markings.
  2. Protection assessment — Our toolchain probes the SWD port, checks RDP level, and scans for sLib boundaries. This step takes under one working day.
  3. Non-invasive extraction attempt — Voltage-glitch and clock-glitch sequences are applied during the boot-ROM handshake. Parameters are swept automatically across a range calibrated for the AT32F403’s 2.6 V–3.6 V operating window and its internal 240 MHz PLL.
  4. Firmware dump & verification — Once readback succeeds, the binary is checksummed against the flash CRC register (if accessible) and disassembled to confirm valid Cortex-M4 vector tables and executable code.
  5. Delivery — You receive the raw .bin or .hex file, a brief technical report, and — if requested — a commented disassembly of the reset and interrupt vectors.

For invasive (Level 2) attempts, steps 3–4 are replaced with decapsulation, FIB (focused ion beam) circuit edit, and micro-probe readback — a process that adds 10–20 working days.

Cost and Turnaround for AT32F403 Firmware Recovery

Scenario Typical Cost (USD) Turnaround (working days) Notes
RDP Level 1 — standard $400 – $800 5 – 8 Most common; non-invasive glitch
sLib region only $500 – $900 5 – 10 Password-dependent complexity
RDP Level 2 — invasive $2,000 – $5,000+ 15 – 30 Decap + micro-probe; quote required
Rush (Level 1) +40 % surcharge 2 – 3 Subject to lab queue

Pricing depends on flash size (256 KB vs. 1024 KB variants affect dump time), package type (LQFP-100 vs. LQFP-48 changes fixturing), and batch quantity. We charge a flat evaluation fee of $0 for standard cases — you pay only on successful extraction.

AT32F403 vs. Related MCUs: How Protection Compares

Firmware extraction test fixture with glitch-injection hardware in an electronics lab

Engineers often ask how the AT32F403 stacks up against other domestic-alternative and mainstream MCUs they might also need unlocked. Here is a quick comparison based on our lab experience:

MCU Core Flash Protection Relative Unlock Difficulty
AT32F403 Cortex-M4F @ 240 MHz RDP L1/L2 + sLib Moderate
AT32F421 Cortex-M4F @ 120 MHz RDP L1/L2 + sLib Moderate
MM32F103 Cortex-M3 @ 96 MHz RDP L1/L2 Low–Moderate
APM32F072 Cortex-M0+ @ 48 MHz RDP L1/L2 Low
STM32H750 Cortex-M7 @ 480 MHz RDP + PCROP + TrustZone High

The AT32F403’s sLib adds a layer that pure-RDP parts like the MM32F103 lack, but its 55 nm flash process is more susceptible to voltage glitching than the 40 nm nodes used in newer STM32H7 devices.

Authorization and Legal Requirements

We perform AT32F403 unlock only for authorized parties: original firmware owners, licensed manufacturers recovering lost build artifacts, or maintenance engineers supporting end-of-life equipment. Before work begins, you must provide proof of ownership or a signed authorization letter. All projects are covered by a mutual NDA. If you need details on our compliance framework, review our trust and authorization policy.

Common Failure Modes and Honest Limitations

  • Damaged flash cells — If the target chip has been exposed to ESD or overvoltage, some flash sectors may return corrupt data. We verify each sector’s ECC status and flag any unrecoverable pages.
  • Remarked or counterfeit parts — We occasionally receive chips marked AT32F403 that are actually rebadged STM32F4 or GD32F4 parts. Die inspection catches this early, but it changes the unlock approach entirely.
  • Encrypted application payloads — Even after a successful flash dump, some firmware encrypts its application data using keys stored in OTP or sLib. The raw binary is recoverable, but decrypting the payload requires the key — which may or may not reside on-chip.
  • Batch variation — Artery has revised the AT32F403 silicon at least twice (identified by date codes). Newer revisions may tighten glitch windows. We maintain parameter databases for known revisions.

Deliverable Formats

Deliverable Format Included by Default?
Raw firmware image .bin Yes
Intel HEX .hex Yes
Option-byte dump .txt / .csv Yes
Disassembly (vector table + init) .asm / .lst On request
Full IDA Pro project .idb Add-on ($150–$300)

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
Can the AT32F403 be unlocked without destroying the chip?

Yes, for RDP Level 1 and sLib-only protection. Non-invasive voltage/clock glitching does not damage the silicon. The chip can be reprogrammed and reused after extraction. RDP Level 2 recovery, however, requires decapsulation, which destroys the package — the die itself usually survives for one readback session.

How do I know which protection level my AT32F403 has?

Connect the chip via SWD using Artery’s AT-Link utility or OpenOCD with the AT32 target config. If the tool reports “read protection active” but can still erase, you are at Level 1. If the debug port is completely unresponsive and cannot be re-enabled, Level 2 is likely. We perform this assessment free of charge during intake.

Is AT32F403 unlock legal?

Firmware recovery is legal when performed on your own intellectual property or with the rights-holder’s written authorization. Common legitimate scenarios include recovering lost source code, verifying contract-manufacturer output, and maintaining legacy products. We require proof of ownership before starting any project. See our authorization and compliance page for full details.

What if my AT32F403 chip is soldered onto a board?

We can work with the chip in-circuit in most cases. For LQFP-48 and LQFP-100 packages, our fixtures clip directly to exposed pins. If the board layout blocks physical access, we desolder the chip, perform the extraction, and resolder or provide a replacement. Board-level handling adds roughly one working day.

Do you also offer AT32F403 PCB cloning alongside firmware recovery?

Yes. If you need the complete board replicated — Gerber files, BOM, schematic, and firmware — we can bundle IC unlock with full PCB cloning services at a reduced combined rate. This is common for end-of-life product continuation.

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