What Is PIC32MZ Unlock and When Is It Feasible?
PIC32MZ unlock is the process of recovering firmware from Microchip’s PIC32MZ-series 32-bit MIPS microcontrollers when the code-protection (CP) fuse bits have been set. Our engineers can recover flash contents from most PIC32MZ variants—including PIC32MZ EF, EC, and DA sub-families—provided the client demonstrates proof of IP ownership or authorized access. Success depends on the specific silicon revision, fuse configuration, and whether the device has been subjected to prior invasive attempts that may have damaged the die.
How PIC32MZ Code Protection Works

Understanding the protection scheme is essential before requesting a PIC32MZ unlock. Microchip implements multiple layers of security on the PIC32MZ family that differ significantly from their 8-bit and 16-bit lines.
Configuration Fuse Bits (DEVCFG)
The PIC32MZ stores code-protection settings in the DEVCFG0–DEVCFG3 registers. The critical bits include:
- CP (Code Protection): When cleared to 0, the entire program flash is read-protected via ICSP and the debugger interface.
- BWP (Boot Write Protection): Prevents writes to the boot flash region, indirectly protecting bootloader code.
- PWP (Program Write Protection): Configurable per-region write protection across the program flash space.
When CP is active, any attempt to read flash through ICSP returns 0x00 or 0xFF depending on the sub-family. The JTAG TAP controller is also locked out, making standard debug probes (PICkit 4, ICD 4, REAL ICE) unable to extract code.
Secure Boot and Trust Anchor (PIC32MZ DA / EF Variants)
Newer PIC32MZ DA parts with the integrated graphics controller and certain EF revisions support a Secure Boot feature tied to Microchip’s Trust Platform. This adds an ECDSA signature check at boot, meaning even if flash is read, the firmware may be cryptographically bound to a specific device. Our team evaluates this during the feasibility phase and will advise if the recovered binary requires additional key recovery or adaptation.
JTAG vs. ICSP Lock
PIC32MZ devices expose both a 4-wire JTAG port and 2-wire ICSP. When CP is set, both interfaces are locked simultaneously—there is no “back door” through JTAG when ICSP is blocked, unlike some competing ARM parts. This is a critical distinction engineers should understand before assuming a simple debug-probe approach will work.
PIC32MZ Sub-Family Differences That Affect Unlock
| Sub-Family | Core | Flash Size | Protection Level | Unlock Feasibility |
|---|---|---|---|---|
| PIC32MZ EC | MIPS microAptiv | 512 KB – 2 MB | CP fuse, JTAG lock | High – well-characterized |
| PIC32MZ EF | MIPS microAptiv + FPU | 1 MB – 2 MB | CP fuse, JTAG lock, optional Secure Boot | High (standard CP); Moderate (Secure Boot) |
| PIC32MZ DA | MIPS microAptiv + GPU | 2 MB + 32 MB DDR | CP fuse, Secure Boot, Trust Anchor | Moderate – depends on silicon rev |
| PIC32MZ W (Wi-Fi) | MIPS microAptiv | 1 MB | CP fuse, JTAG lock, Wi-Fi firmware partition | Moderate – dual-partition complexity |
Silicon revision matters. Early PIC32MZ EC revisions (A1, A3) have known errata that affect the protection implementation. Later revisions (B2+) tightened the fuse logic. We maintain a revision-specific database that lets us give you a realistic assessment before any work begins.
Our PIC32MZ Unlock Process
Every PIC32MZ unlock engagement follows a structured workflow designed to protect both the device and your IP.
Step 1 — Feasibility Assessment (Free)
Send us the full part number (e.g., PIC32MZ2048EFH144-I/PH), the silicon revision if known, and a brief description of why recovery is needed. We respond within 1–2 business days with a feasibility rating, estimated cost, and expected turnaround. There is no charge for this step.
Step 2 — Authorization & NDA
We require written proof of ownership or authorized access before proceeding. This may be a purchase order for the original design, a declaration of IP ownership, or a letter of authorization from the rights holder. We execute a mutual NDA covering all recovered data. For more on our legal framework and authorization requirements, see our trust and compliance page.
Step 3 — Device Preparation & Analysis
Our lab receives the physical device (or multiple samples if available—we recommend sending 2–3 units). We verify the part number, silicon revision, and current fuse state using non-destructive probing before selecting the appropriate recovery method.
Step 4 — Firmware Extraction
The specific technique depends on the protection level and sub-family. Methods range from fault-injection approaches on earlier silicon to micro-probing on more hardened revisions. We do not disclose method details publicly to maintain effectiveness and prevent misuse.
Step 5 — Verification & Delivery
Recovered firmware is verified by programming it into a blank PIC32MZ of the same variant and confirming functional operation. You receive the binary (.hex or .bin), a fuse-configuration map, and a brief technical report.
Cost and Lead Time for PIC32MZ Unlock
Pricing depends on the sub-family, protection level, and number of devices.
| Scenario | Typical Cost (USD) | Lead Time (Working Days) |
|---|---|---|
| PIC32MZ EC — standard CP | $500 – $900 | 5 – 8 |
| PIC32MZ EF — standard CP | $600 – $1,100 | 5 – 10 |
| PIC32MZ EF — Secure Boot active | $1,200 – $2,500 | 10 – 15 |
| PIC32MZ DA — Trust Anchor | $1,500 – $3,000+ | 12 – 20 |
| PIC32MZ W — dual partition | $800 – $1,500 | 8 – 12 |
These ranges reflect real project data. Final quotes are issued after the free feasibility assessment. Rush service (≤5 days) is available for standard-CP variants at a 30–50% surcharge.
What Can Go Wrong — Honest Limitations

We believe transparency about failure modes builds more trust than vague promises of 100% success.
- Die damage from prior attempts: If someone has already tried decapping or micro-probing the chip incorrectly, bond wires or flash cells may be destroyed. We can sometimes work around partial damage, but success drops significantly.
- Late-revision DA parts with active Trust Anchor: Some PIC32MZ DA devices with revision C silicon and fully-enabled ECDSA Secure Boot remain extremely difficult. We will tell you upfront if success probability is below 60%.
- Encrypted external memory: PIC32MZ DA boards often store assets in external DDR2 SDRAM or SQI flash. If the MCU encrypts data written to external memory, recovering the MCU flash alone may not give you a fully functional firmware image without the decryption key.
- One-Time Programmable (OTP) lock bits: Unlike fuse bits in some other families, certain PIC32MZ configuration bits are OTP on specific revisions. Once blown, they cannot be reversed—only bypassed at the silicon level.
PIC32MZ vs. Other Microchip Families
If your device turns out to be a different Microchip part, our process differs by family. The PIC32MM unlock process is generally simpler due to the smaller flash and less aggressive protection on the MM line. For 16-bit Microchip DSCs, we also handle dsPIC33C firmware recovery and dsPIC33E-CH unlock projects, each with their own protection quirks.
Common Use Cases for PIC32MZ Firmware Recovery
Legacy Equipment Maintenance
Industrial controllers, medical devices, and test equipment built on PIC32MZ EF or EC parts may need firmware recovery when the original developer is unavailable and the source code is lost. This is the most common scenario we handle.
Product Redesign and Migration
When migrating from a PIC32MZ EC to a PIC32MZ EF (or to an entirely different architecture), engineers sometimes need the original binary to verify behavioral equivalence or to port peripheral initialization routines.
Failure Analysis
Quality engineers occasionally need to verify that production units were programmed with the correct firmware version. Reading back a protected device confirms whether a field failure is firmware-related or hardware-related.
For non-Microchip projects, our lab also works with ARM Cortex-M parts from other vendors. Engineers working with GigaDevice chips can explore our GD32F4 unlock service, while those dealing with Atmel/Microchip SAM devices may find our ATSAM3 recovery process relevant.
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 reviewFrequently Asked Questions
Can PIC32MZ unlock be done without removing the chip from the PCB?
In most cases, no. The recovery techniques for PIC32MZ devices require direct physical access to the bare IC package. We desolder the chip using controlled hot-air rework, perform the extraction, and can resolder it or program a replacement if you provide a blank device.
Will the PIC32MZ be destroyed during the unlock process?
It depends on the method required. For standard-CP PIC32MZ EC and EF parts, the device often survives and can be reprogrammed. For DA parts requiring invasive techniques, the original device may not be reusable. We always recommend sending 2–3 samples when possible.
Is PIC32MZ unlock legal?
Firmware recovery is legal when performed on devices you own or are authorized to access. Common lawful scenarios include recovering your own lost source code, maintaining legacy equipment, and failure analysis. We require proof of authorization before starting any project and operate under NDA. See our trust and compliance page for full details.
What files do I receive after a successful PIC32MZ unlock?
You receive the firmware binary in Intel HEX and/or raw BIN format, a map of all configuration fuse settings (DEVCFG0–3), and a brief report noting the silicon revision, any anomalies observed, and verification results. If boot flash and program flash are separate, both images are delivered.
How many sample devices should I send?
We recommend 2–3 identical units. The first is used for analysis and extraction. Additional units serve as verification targets and backups in case the primary device is damaged during an invasive process. For standard-CP EC/EF parts, one device is often sufficient.
What do you need to recover?
Send the full marking or board photos, sample condition and required outcome. Ask for an NDA before sharing confidential files. Scope and sample handling are confirmed individually.
The article title is carried into the contact form. Add your own details and review the enquiry before sending.