Bao'An Shenzhen China

nRF52840 Unlock | Feasibility, Cost & Turnaround

Sep 30, 2026  /  PCB COPY

nrf52840 unlock: Fault-injection probe attached to an nRF52840 chip during firmware recovery

nRF52840 Unlock: What Is Actually Possible?

The nRF52840 is Nordic Semiconductor’s flagship Bluetooth 5 / Thread / Zigbee SoC, built on an Arm Cortex-M4F core with 1 MB flash and 256 KB RAM. When its readback protection is engaged, the debug port is disabled and flash contents cannot be read through standard SWD tools. An nRF52840 unlock recovers the firmware binary from a protected device — typically for authorized purposes such as restoring a lost build, supporting legacy hardware, or migrating code to a new revision. Success depends on the specific silicon revision, the protection variant enabled, and the physical condition of the chip.

How Does Nordic’s APPROTECT Work on the nRF52840?

nrf52840 unlock: Fault-injection probe attached to an nRF52840 chip during firmware recovery

Nordic introduced two generations of access-port protection across the nRF52 family. Understanding which one your device uses is the single most important factor in any nRF52840 unlock assessment.

Legacy APPROTECT (Pre-2020 Silicon, Build Codes “Cx” and Earlier)

Early nRF52840 revisions (engineering samples through production build codes ending in “C0” or similar) implement APPROTECT through a register in the UICR (User Information Configuration Registers). When the APPROTECT field at address 0x10001208 is set to 0x00, the debug access port is locked at boot. On these revisions, the protection is enforced in software/firmware flow before the DAP is fully gated, which introduces a narrow timing window during the boot sequence. Our engineers exploit this window using voltage-glitch or electromagnetic fault-injection techniques to prevent the protection register from latching, re-enabling SWD access before the CPU reaches the main application.

Typical success rate on legacy-APPROTECT revisions: high. Most devices yield a complete flash dump on the first or second glitch attempt once the fault parameters (voltage, pulse width 5–50 ns, trigger offset) are characterized for the specific board’s power-delivery network.

Secure APPROTECT (Post-2020 Silicon, Build Codes “Dx” and Later)

Starting with the “D0” hardware revision, Nordic moved to a hardware-enforced secure APPROTECT. The debug access port is gated by a dedicated hardware block that requires a 128-bit unlock key stored in a one-time-programmable (OTP) region. Without this key, the only Nordic-sanctioned way to re-enable debug access is an ERASEALL command — which wipes flash and RAM entirely, destroying the firmware you want to recover.

Fault-injection attacks against secure APPROTECT are significantly harder. Published academic research (e.g., LimitedResults, 2020) demonstrated glitching on early “D0” samples, but Nordic has since tightened glitch-detection countermeasures in subsequent steppings. Our lab evaluates each device individually; we do not guarantee success on secure-APPROTECT parts and will advise you honestly after a physical inspection.

Quick Reference: APPROTECT Variants

Attribute Legacy APPROTECT Secure APPROTECT
Silicon revisions Rev A–C (build codes ≤ Cx) Rev D+ (build codes Dx, Ex)
Protection mechanism UICR register, software-gated Hardware block + 128-bit OTP key
Glitch-injection window ~10–100 µs boot window Narrowed, glitch detectors present
Feasibility for firmware recovery High (≥85% in our experience) Case-by-case; moderate to low
Typical attempts needed 1–3 sessions 5+ sessions; may require decap
Risk of device damage Low Moderate (repeated glitching, potential decap)

Step-by-Step: Our nRF52840 Unlock Process

  1. Intake & silicon identification. You ship the target board or bare IC. We identify the exact build code (printed on the package marking, e.g., “N52840-QIAA-R7 B0”) and determine the APPROTECT variant.
  2. Feasibility report. Within 1–2 working days we issue a written assessment: protection type, estimated success probability, cost, and turnaround. No charge if we determine recovery is not viable.
  3. Fault-injection setup. For legacy parts, we connect our ChipWhisperer-Pro or custom glitch rig to the target’s VDD rail and SWD lines. We characterize the power-delivery impedance and sweep glitch parameters (voltage offset ±0.3–1.2 V, pulse width 5–80 ns, trigger delay relative to reset de-assertion).
  4. Flash readout. Once SWD access is restored, we dump the full 1 MB flash contents plus UICR and FICR regions via OpenOCD or a custom script. We verify the dump with a CRC-32 check against the on-chip CRC peripheral.
  5. Deliverable packaging. You receive the raw .bin / .hex image, a memory-map annotation, and — if requested — a disassembly listing with SoftDevice version identification (S140, S340, etc.).

For secure-APPROTECT devices, steps 3–4 may additionally involve die-level techniques (chemical or laser decapsulation, micro-probing) when surface-level fault injection fails. This adds cost and time; we always confirm before proceeding.

What Does an nRF52840 Unlock Cost?

Pricing depends on protection variant, quantity, and whether destructive techniques are needed. The ranges below reflect single-unit recovery; volume discounts apply for batches of 5+.

Scenario Estimated Cost (USD) Turnaround (Working Days)
Legacy APPROTECT, standard glitch $400 – $800 5 – 8
Secure APPROTECT, advanced fault injection $900 – $1,800 8 – 15
Secure APPROTECT with decap/micro-probing $1,500 – $2,500+ 12 – 20
Feasibility assessment only (no recovery) Free 1 – 2

We operate on a no-success-no-fee basis for the firmware readout itself. If we cannot recover valid firmware, you pay nothing beyond any agreed destructive-analysis consumable costs.

Authorization and Legal Requirements

We perform nRF52840 unlock exclusively for clients who can demonstrate lawful ownership or authorization over the target firmware. Before work begins, we require a signed declaration of ownership and a mutual NDA. This protects both parties and ensures compliance with intellectual-property laws in relevant jurisdictions. For details on our verification process, visit our authorization and trust policy.

Common Use Cases for nRF52840 Firmware Recovery

Nordic nRF52840 package markings used to identify silicon revision
  • Lost source code. A developer leaves a company, and the production firmware exists only on programmed devices. Recovery restores the binary for analysis and re-deployment.
  • Legacy product maintenance. An IoT gateway or wearable uses an nRF52840 that is no longer supported by the original firmware vendor. Extracting the binary enables patching or porting.
  • Prototype migration. Moving from nRF52840 to nRF5340 or another SoC requires understanding the existing firmware’s peripheral configuration, BLE stack version, and custom protocol layers.
  • Failure analysis. Comparing firmware from a failing unit against a known-good binary can pinpoint corruption, stack overflows, or flash-wear issues.

How the nRF52840 Compares to Other Protected MCUs

If you are evaluating unlock feasibility across a mixed-MCU product line, these sibling pages cover related parts in depth:

Each MCU family uses a different protection architecture; what works on an nRF52840 does not necessarily transfer to an STM32 or PIC device. We assess every chip on its own merits.

What Can Go Wrong

Transparency matters. Here are the realistic failure modes our engineers encounter during nRF52840 unlock attempts:

  • Glitch-detector trip on secure-APPROTECT parts. Newer steppings incorporate analog glitch detectors that trigger a hard reset or permanent fuse blow when anomalous voltage transients are sensed. Repeated attempts can brick the device.
  • Corrupted flash from prior erase attempts. If someone has already issued a partial ERASEALL or CTRL-AP erase, sectors may be zeroed. We can still dump what remains, but the binary may be incomplete.
  • SoftDevice version mismatch. The recovered binary includes Nordic’s proprietary BLE stack (SoftDevice). Without knowing the exact version (S132 v7.2.0 vs. v7.3.0, for example), re-linking application code can fail. We identify the SoftDevice version from known signatures in the dump.
  • Bonded BLE keys. Flash may contain bonding data in the FDS (Flash Data Storage) region. Recovery includes these sectors, but re-pairing with peripherals may still be required depending on your use case.

Frequently Asked Questions

Can you unlock an nRF52840 without destroying the chip?

On legacy-APPROTECT revisions, yes — voltage-glitch injection is non-destructive and the chip remains fully functional after firmware readout. On secure-APPROTECT revisions, non-destructive recovery is attempted first, but some cases require decapsulation, which renders the specific IC unusable while still yielding a valid firmware image.

How do I find out which APPROTECT version my nRF52840 uses?

Check the package marking on the IC. The build code (last two characters, e.g., “B0”, “C0”, “D0”) indicates the silicon revision. Revisions A–C use legacy APPROTECT; revision D and later use secure APPROTECT. If the marking is unreadable, send us a clear photo and we will identify it.

Is nRF52840 unlock legal?

Firmware recovery is legal when performed on devices you own or are authorized to service. We require proof of ownership and a signed NDA before starting any work. We do not assist with extracting third-party proprietary code for unauthorized reproduction. See our trust and authorization policy for full details.

What file formats do you deliver after nRF52840 firmware extraction?

Standard deliverables include Intel HEX (.hex), raw binary (.bin), and a memory-map document showing flash layout (MBR, SoftDevice, application, bootloader, UICR). Optional disassembly and SoftDevice identification are available on request at no extra charge.

Can you also clone the firmware onto new blank nRF52840 chips?

Yes. Once the firmware image is recovered and verified, we can program it onto new nRF52840 ICs using J-Link or our production programming fixtures. Quantities from 1 to 10,000+ are supported. Contact us for volume programming pricing.

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

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