Bao'An Shenzhen China

SAMD10 Unlock | Feasibility, Cost & Turnaround

Sep 30, 2026  /  PCB COPY

samd10 unlock: Microchip SAMD10 microcontroller on PCB with SWD debug probes attached

SAMD10 Unlock: Recovering Firmware from Microchip’s Compact Cortex-M0+

A SAMD10 unlock extracts protected firmware from Microchip’s ATSAMD10 series — a single-supply, 48 MHz ARM Cortex-M0+ microcontroller with 4–16 KB flash. Our engineers recover the flash contents through a combination of debug-interface techniques and, where necessary, semi-invasive fault injection, achieving successful readout on the majority of SAMD10 variants when the security bit (BOOTPROT + LOCK + Security Bit in NVM User Row) is the only protection layer in play.

What Protection Does the SAMD10 Use?

samd10 unlock: Microchip SAMD10 microcontroller on PCB with SWD debug probes attached

The ATSAMD10 relies on Microchip’s SAM D-series NVM security model, which is simpler than the TrustZone-backed schemes found in later SAM L or SAM E families. Understanding the specific mechanism matters because it determines both the attack surface and the realistic success rate.

Security Bit (NVM User Row, Bit 0)

When set, the Security Bit disables external read access via the SWD (Serial Wire Debug) interface. A debugger connecting to the DAP will see the device but cannot issue memory reads against flash or SRAM. This is the primary barrier in a SAMD10 unlock engagement.

BOOTPROT and Region Lock Bits

BOOTPROT reserves a configurable portion of flash (up to 8 KB on a 16 KB part) as a protected bootloader region. The LOCK bits further divide the remaining flash into individually lockable regions. These bits prevent inadvertent writes/erases but do not, on their own, block SWD readout — the Security Bit does that.

Chip Erase vs. Selective Erase

Microchip’s architecture allows a full chip erase even when the Security Bit is set — this is the intended “recovery” path that clears both flash and the security configuration. For firmware recovery, obviously, erasing is the opposite of what we need. Our task is to read the contents without triggering a chip erase.

Protection Feature Default State Effect on SWD Readout Bypass Complexity
Security Bit Cleared (0) Blocks all external flash/SRAM reads Medium
BOOTPROT[2:0] 0x7 (no protection) Write/erase protection only Low (not a read barrier)
LOCK[15:0] All unlocked Write/erase protection only Low
Chip Erase Always available Clears flash + security bit N/A (destructive)

Compared to the more advanced security on SAML21 devices with their TrustZone integration, the SAMD10’s protection is relatively straightforward, which is why feasibility rates trend higher for this family.

How Is a SAMD10 Unlock Performed?

We use a staged approach, escalating technique complexity only as needed. Every engagement begins with a non-destructive assessment.

Stage 1 — Debug Interface Probing

Our engineers connect to the SAMD10’s SWD port and query the Device Service Unit (DSU). We verify the exact part number (D10D14, D10C14, etc.), read the Device Identification register, and confirm whether the Security Bit is actually set. Roughly 10–15 % of parts we receive have the bit cleared — the original developer relied on BOOTPROT alone, and the firmware reads out directly.

Stage 2 — Glitch / Fault Injection

When the Security Bit is active, we apply voltage or clock glitching to the Cortex-M0+ core during the boot-time security-check window. The SAMD10’s single power domain (1.62 V – 3.63 V VDD) and lack of a separate analog regulator make it more susceptible to voltage glitching than parts with integrated LDOs. A precisely timed transient on VDD during the DSU security-flag evaluation can cause the core to skip the access-restriction branch, opening a brief SWD read window.

Stage 3 — Semi-Invasive (Rare)

On a small percentage of samples — typically parts with additional epoxy potting or where glitching repeatedly triggers brown-out resets — we decap the package and use focused light or EM fault injection. The SAMD10’s 65 nm process node is well-characterized for this approach, though it adds time and cost.

Feasibility by SAMD10 Variant

Not every SAMD10 part number responds identically. Flash size, package, and even silicon revision affect the glitch timing window.

Part Number Flash Package Estimated Feasibility Notes
ATSAMD10D14A 16 KB SOIC-20 85–90 % Most common; well-characterized glitch profile
ATSAMD10D13A 8 KB SOIC-20 85–90 % Same die, smaller flash allocation
ATSAMD10C14A 16 KB TQFP-32 80–85 % Slightly tighter VDD filtering on some boards
ATSAMD10C13A 8 KB TQFP-32 80–85 % Same as above

Parts in WLCSP packages or those potted in conformal coating may require desoldering and individual handling, which lowers feasibility slightly and adds to turnaround.

Cost and Turnaround for SAMD10 Unlock

Pricing depends on the technique required and the number of samples.

Scenario Typical Cost (USD) Turnaround (Working Days)
Security Bit not set (direct read) $150 – $250 1 – 2
Standard glitch attack (single sample) $400 – $800 5 – 10
Semi-invasive (decap + FI) $1,200 – $2,000 10 – 18
Batch (5+ identical parts, glitch) $300 – $500 per unit 7 – 12 total

We provide a free feasibility assessment before any paid work begins. If we determine the part cannot be read, you pay nothing.

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

What You Receive After a Successful SAMD10 Unlock

Voltage glitch injection setup used for MCU firmware recovery
  • Binary firmware image (.bin or Intel HEX) — full flash contents, 4–16 KB depending on variant.
  • NVM User Row dump — includes fuse configuration, calibration data, and serial number bytes.
  • Verification report — CRC32 checksum, read-back comparison across two independent extractions to confirm data integrity.
  • Optional disassembly listing — ARM Thumb instruction set, annotated with vector table and peripheral register references (add-on service).

All deliverables are transferred via encrypted channel under NDA. We retain no copies after the agreed holding period (default: 30 days).

Authorization and Legal Requirements

We perform SAMD10 unlock only for authorized parties — original firmware owners, licensees with documented rights, or companies recovering their own legacy designs. Before work begins, we require proof of ownership or a signed authorization letter. This protects both parties and ensures compliance with IP law in your jurisdiction.

Common legitimate scenarios include recovering firmware from a discontinued product where the original source code was lost, duplicating your own design for a second manufacturing run, or analyzing a board you designed but whose developer is no longer available. If you need to understand how we handle IP protection and NDAs, review our SAML21 unlock page for a similar authorization workflow, or contact us directly.

SAMD10 vs. Related Microchip / ARM Families

Engineers sometimes ask whether the SAMD10 unlock process applies to other SAM or Cortex-M0+ parts. The short answer: the security architecture differs enough between families that each requires its own characterization.

  • The SAME54 series adds a more complex NVM controller with secure boot and larger flash (up to 1 MB), making glitch timing significantly harder.
  • RP2040 from Raspberry Pi uses a completely different OTP-based security model with no traditional debug lock bit.
  • For engineers working with TI’s low-power MCUs, our MSP430F2 unlock service covers a JTAG fuse-blow protection scheme unrelated to ARM SWD.
  • Chinese ARM alternatives like the AT32F403 use Artery’s own read-protection levels, which require different fault parameters.

Common Failure Modes and Honest Limitations

Transparency matters. Here is what can go wrong during a SAMD10 unlock attempt:

  • Brown-out reset loop: Aggressive VDD glitching can trigger the BOD (Brown-Out Detector), resetting the core before the read window opens. We mitigate this by tuning glitch amplitude in 10 mV increments, but some boards with tight decoupling resist this approach.
  • Damaged SWD pads: If the SWD clock or data lines are physically damaged or routed through an ESD protection IC that clamps our signals, we may need to micro-probe the die directly — adding cost.
  • Partial reads: Occasionally the glitch opens a window long enough to read only a portion of flash. We concatenate multiple partial reads and verify integrity, but this extends turnaround.
  • Newer silicon revisions: Microchip occasionally tightens glitch tolerance in new mask revisions without changing the part number. We maintain a revision log, but a previously successful technique may need re-characterization on a new revision.
Can the SAMD10 Security Bit be cleared without erasing flash?

No. Microchip’s architecture ties the Security Bit clear operation to a full chip erase. The only way to read protected flash non-destructively is to bypass the security check at runtime, which is what our glitch-based approach accomplishes.

Will the SAMD10 unlock process damage my chip?

Standard voltage glitching is non-destructive — the chip remains fully functional afterward. Semi-invasive decapping, however, exposes the die and the part cannot be reused in production. We always attempt non-destructive methods first and only escalate with your approval.

How many sample chips do I need to send?

One is sufficient for most SAMD10 engagements. We recommend sending two if the part is rare or out of production, so we have a backup if the first sample has a damaged debug interface.

Do you support SAMD11 as well?

Yes. The SAMD11 shares the same NVM security model as the SAMD10 (both are SAM D1x family). Feasibility and pricing are comparable. The main difference is the SAMD11’s USB interface, which does not affect the unlock process. Contact us with your specific part number for a quick assessment.

What if I only need the bootloader region, not the full flash?

Our extraction captures the entire flash image. You can use only the BOOTPROT region if that is all you need. Pricing is the same regardless of how much of the dump you ultimately use, because the extraction effort is identical.

Related IC Unlock Services

  • PIC16F18 unlock — Microchip 8-bit PIC with code-protect fuse
  • SAME54 unlock — higher-end SAM E5x Cortex-M4F family
  • AT32F403 unlock — Artery ARM Cortex-M4 alternative
  • RP2040 unlock — Raspberry Pi dual-core Cortex-M0+
  • MSP430F2 unlock — TI ultra-low-power 16-bit MCU

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