ATSAM3 Unlock — Authorized Firmware Recovery for Microchip SAM3 MCUs
ATSAM3 unlock is the process of recovering firmware from Microchip (formerly Atmel) SAM3 series microcontrollers whose flash-security bit has been set. Our engineers perform this as an authorized service for clients who own the original IP — typically for legacy board repair, prototype recovery, or second-source manufacturing where the original development files have been lost. Success depends on the specific SAM3 sub-family, the silicon revision, and the protection configuration applied at production time.
What Is the ATSAM3 Family?

The SAM3 series is a broad lineup of ARM Cortex-M3 and Cortex-M4 microcontrollers built on Atmel’s SmartConnect and general-purpose platforms. They ship in flash densities from 64 KB up to 2 MB and are common in industrial control, metering, motor drive, and connectivity applications. Sub-families include:
| Sub-Family | Core | Flash Range | Typical Application |
|---|---|---|---|
| SAM3S | Cortex-M3 @ 64 MHz | 64–512 KB | General purpose, HMI |
| SAM3N | Cortex-M3 @ 48 MHz | 64–256 KB | Cost-sensitive metering |
| SAM3U | Cortex-M3 @ 96 MHz | 128–256 KB | USB full-speed host/device |
| SAM3X / SAM3A | Cortex-M3 @ 84 MHz | 256–512 KB | High-performance (Arduino Due) |
| SAM3SD8 | Cortex-M3 @ 64 MHz | 512 KB dual-bank | Dual-bank OTA update |
Each sub-family uses the same EEFC (Enhanced Embedded Flash Controller) architecture, but protection behaviour and GPNVM (General Purpose Non-Volatile Memory) bit configuration differ across silicon revisions — a detail that directly affects ATSAM3 unlock feasibility.
How Does SAM3 Flash Security Work?
Microchip’s SAM3 devices protect firmware through a dedicated security bit stored in GPNVM bit 0. When this bit is set:
- JTAG/SWD read access to the internal flash and SRAM is blocked.
- The SAM-BA boot-loader ROM will not expose flash contents over UART or USB.
- An “Erase All” command (via the ERASE pin held high for ≥220 ms) clears flash and resets the security bit — destroying the firmware in the process.
This means a conventional “erase-then-read” path is useless for recovery. The security model is intentionally designed so that the only factory-supported way to remove protection erases the code. Our ATSAM3 unlock techniques work below this logic layer, targeting the flash array directly under controlled fault or physical-access conditions.
Protection Tiers Across SAM3 Variants
Not every SAM3 part is equally resistant. Early-revision SAM3S and SAM3N devices (revision A and B silicon) have known weaknesses in the GPNVM latch that can be exploited through voltage-glitch or UV-assisted methods without damaging the flash contents. Later SAM3X/SAM3A parts on revision C silicon added glitch-detection countermeasures, raising the difficulty — though not making recovery impossible.
We classify feasibility into three tiers:
| Tier | Sub-Families | Typical Success Rate | Method |
|---|---|---|---|
| High confidence | SAM3S (rev A/B), SAM3N | 90%+ | Voltage glitch on VDDCORE |
| Moderate | SAM3U, SAM3SD8 | 70–85% | Combined glitch + timing attack |
| Case-by-case | SAM3X, SAM3A (rev C+) | 50–70% | Micro-probing / FIB assist |
These figures reflect our lab’s historical outcomes across roughly 120 SAM3 recovery projects. They are not guarantees — every chip undergoes individual feasibility assessment before we commit to a price.
Our ATSAM3 Unlock Process
Step 1 — Ownership Verification
Before any work begins, we require proof that you own the IP or have written authorization from the rights holder. This typically means a purchase order for the original development, a company declaration, or a signed authorization letter. We operate under NDA and follow the same principles outlined on our ATSAMD21 firmware recovery page — the legal framework is identical across Microchip SAM families.
Step 2 — Device Intake and Identification
You ship us the target device — either the bare MCU desoldered from the board, or the complete PCBA. We identify the exact part number (e.g., ATSAM3S4BA-AU), read the silicon revision via the CHIPID register (accessible even when locked), and check the GPNVM bit state through SWD handshake probing.
Step 3 — Feasibility Assessment (48 Hours)
Our engineers run a non-destructive preliminary test — a low-amplitude glitch sweep on the VDDCORE rail during the EEFC security-check window. If the device responds with a partial flash dump or a reproducible glitch signature, we classify it as recoverable and quote a firm price. If the part shows active glitch detection or no response, we report that honestly and discuss whether micro-probing is worth the additional cost.
Step 4 — Full Flash Extraction
For high-confidence parts, the extraction itself takes 2–6 hours of bench time. The flash contents are read out in 256-byte pages, checksummed against the EEFC’s internal CRC, and assembled into a binary image. We deliver the firmware as a raw .bin file, an Intel HEX file, or both — along with a map of the GPNVM and lock-bit configuration so you can reproduce the exact protection state on a replacement chip.
Step 5 — Verification
Where possible, we program the recovered image onto a fresh, unlocked SAM3 device and verify basic execution — clock startup, peripheral init, and UART/USB enumeration. This is included in the standard service. Full functional validation (application-level testing) is available as an add-on if you provide test procedures.
Cost and Lead Time

| Service Level | Price Range (USD) | Turnaround | Notes |
|---|---|---|---|
| Standard (Tier 1 parts) | $400–$800 | 5–8 working days | SAM3S rev A/B, SAM3N |
| Standard (Tier 2 parts) | $800–$1,500 | 8–12 working days | SAM3U, SAM3SD8 |
| Advanced (Tier 3 parts) | $1,500–$3,000+ | 10–15 working days | SAM3X/SAM3A, may require FIB |
| Rush surcharge | +40–60% | 3–5 working days | Subject to lab availability |
We charge a non-refundable feasibility fee of $100–$200 (credited toward the full price if we proceed). If we determine the device is unrecoverable during assessment, you pay only the feasibility fee and get the chip back.
What Can Go Wrong?
Transparency matters. Here are real failure modes we have encountered:
- Damaged flash array: If the chip has been exposed to over-voltage events, ESD, or excessive thermal cycling, individual flash sectors may return corrupted data even after a successful security-bit bypass.
- Remarked or counterfeit parts: We occasionally receive “SAM3” devices that are actually rebadged SAM4 or even non-Microchip clones. The CHIPID register reveals this quickly, but it changes the recovery path entirely. If your part turns out to be a SAM4 variant, we re-quote under that family’s feasibility profile.
- Dual-bank lock on SAM3SD8: The dual-bank architecture means each bank has independent lock bits. If only one bank is locked, partial recovery is straightforward; if both banks plus the security bit are set, the extraction requires two separate glitch sessions.
- Code-readout via SAM-BA disabled: Some developers disable the SAM-BA ROM boot-loader via GPNVM bit 1. This doesn’t add security per se, but it removes one potential extraction vector, slightly narrowing our approach options.
Related Microchip SAM Unlock Services
The SAM3 shares architectural DNA with several adjacent families. If your project involves a newer Cortex-M4 part, our ATSAMD51 unlock service covers the SAMD51 and SAME5x lines. For the low-power Cortex-M0+ SAMD21 — widely used in IoT gateways — see our dedicated ATSAMD21 recovery page. Engineers working with non-Microchip Cortex-M parts may also find our GD32F4 unlock or TI TM4C unlock pages useful for comparison.
Who Needs ATSAM3 Unlock?
Typical clients fall into three categories:
- OEMs with lost source code: A product is in field service, the original developer left, and the only copy of the firmware lives inside a production unit. Recovery lets you continue manufacturing or issue patches.
- Repair shops maintaining legacy equipment: Industrial controllers, HVAC systems, and energy meters built on SAM3 platforms in 2012–2018 are now hitting end-of-life. A recovered binary enables replacement-board programming.
- Hardware engineers migrating platforms: You need to understand the existing firmware’s peripheral configuration to port it to a SAM4 or SAMD51 — reading the binary and disassembling the register setup is faster than reverse-engineering from schematics alone.
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 reviewIs ATSAM3 unlock legal?
Yes, when performed on firmware you own or are authorized to access. We require written proof of ownership or authorization before starting work and operate under NDA. Unauthorized extraction of third-party IP is not a service we offer.
Will the unlock process damage my chip?
For Tier 1 and Tier 2 parts, our voltage-glitch method is non-destructive — the chip remains functional after extraction. Tier 3 cases involving micro-probing or FIB access may leave the die unusable afterward, which is why we recommend shipping at least two sample devices when possible.
Can you unlock a SAM3X on an Arduino Due board?
Yes, we can work with the chip soldered on the Due or any other PCBA. However, the SAM3X8E on the Due is Tier 3 (rev C silicon), so feasibility is assessed case-by-case. Shipping the bare board is sufficient — we handle desoldering and reballing if needed.
What file formats do you deliver?
We provide the recovered firmware as a raw .bin and Intel HEX (.hex) file. On request, we also supply an ELF container with section headers mapped to the SAM3 memory map, making disassembly in IDA Pro or Ghidra more convenient.
How do I ship my device internationally?
Most clients ship via DHL or FedEx with a declared value matching the chip cost (not the IP value). Mark the customs description as “electronic component for analysis.” We provide a shipping label template and return the device (or a programmed replacement) via the same carrier.
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