Bao'An Shenzhen China

PIC32MX Unlock | Feasibility, Cost & Turnaround

Sep 24, 2026  /  PCB COPY

pic32mx unlock: PIC32MX microcontroller in TQFP-64 package soldered onto a green circuit board

PIC32MX Unlock: Recovering Firmware from Code-Protected Microchip MCUs

PIC32MX unlock refers to the authorized extraction of firmware from Microchip’s PIC32MX family of 32-bit MIPS-based microcontrollers when the code-protection (CP) configuration bits have been set. Our engineers recover flash contents from PIC32MX devices for clients who own the IP but have lost source code, need to support legacy hardware, or must verify production programming. Typical turnaround is 5–10 working days, with costs starting around USD 500 for common variants and rising to USD 3,000+ for parts with advanced protection or small-geometry die.

How Does PIC32MX Code Protection Work?

pic32mx unlock: PIC32MX microcontroller in TQFP-64 package soldered onto a green circuit board

Microchip’s PIC32MX series implements code protection through configuration fuses stored in the Boot Flash Configuration (BFC) region. When the CP bit is programmed, the ICSP/JTAG debug interface blocks read-back of program flash and, on some variants, boot flash. The protection operates at the hardware level inside the flash controller — a bulk erase is required before the debugger can regain read access, which destroys the firmware in the process.

Key protection details vary across the PIC32MX sub-families:

Sub-Family Core Flash Size Protection Granularity Unlock Complexity
PIC32MX1xx/2xx MIPS32 M4K 32–128 KB Full-chip CP bit Moderate
PIC32MX3xx/4xx MIPS32 M4K 64–512 KB CP + BWP (Boot Write Protect) Moderate–High
PIC32MX5xx/6xx/7xx MIPS32 M4K 64–512 KB CP + BWP + code-protect partitions High
PIC32MX1xx/2xx (XLP) MIPS32 microAptiv 16–256 KB CP + enhanced write protection Moderate

Parts with larger flash and the BWP fuse active require more invasive techniques because the boot region — which holds startup code and configuration — is independently locked. The 5xx/6xx/7xx series, common in USB and Ethernet designs, often combine CP with write-protect partitions, adding another layer our team must address.

What Makes PIC32MX Unlock Feasible?

Unlike some ARM Cortex-M devices that implement TrustZone or multi-level readout protection with voltage-glitch countermeasures, the PIC32MX relies primarily on configuration-fuse-based gating. This architecture is well-characterized after more than a decade in production (the family launched in 2007). Our lab has documented the flash controller behavior across 40+ PIC32MX part numbers.

Techniques We Apply

  • Microprobing: Direct contact with internal flash bus lines after chemical or laser decapsulation. Effective on the 130 nm and 150 nm process nodes used by most PIC32MX parts.
  • Fault injection: Precisely timed voltage or electromagnetic glitches during the boot-sequence security check to bypass the CP gate before the flash controller locks the read path.
  • Debug-port exploitation: On certain early-revision silicon (mask revisions A1–A3 of PIC32MX3xx/4xx), known errata in the EJTAG TAP state machine can be leveraged to read flash sectors without triggering the bulk-erase requirement.

Not every technique applies to every variant. During our free feasibility assessment we identify the exact die revision (via package markings and, if needed, a test decap) before committing to a method.

PIC32MX Unlock Cost and Turnaround

Pricing depends on the sub-family, flash density, and whether the part has additional write-protection fuses enabled. Below are representative ranges — final quotes are provided after feasibility review.

Category Typical Cost (USD) Turnaround (Working Days) Success Likelihood
PIC32MX1xx/2xx (≤128 KB, CP only) 500–900 5–7 High
PIC32MX3xx/4xx (CP + BWP) 800–1,500 7–10 High
PIC32MX5xx/6xx/7xx (CP + BWP + partitions) 1,200–3,000 8–12 Moderate–High
PIC32MX XLP variants 700–1,400 6–9 High

We charge nothing if the extraction fails. A refundable deposit secures your slot in the queue; the balance is due only upon delivery of a verified binary.

Deliverables You Receive

  • Raw binary image (.bin / .hex) of program flash, boot flash, and configuration words.
  • Configuration-bit map showing oscillator settings, peripheral pin select, watchdog, and protection fuses — critical for re-programming onto a blank PIC32MX.
  • Verification report with CRC-32 checksums and, where the client supplies a known-good unit, a diff summary confirming byte-level match.
  • Optional: disassembly listing (MIPS32 assembly) if the client needs to audit or modify the recovered code.

When Is PIC32MX Unlock the Right Move?

Decapsulated IC die under a probe station microscope during firmware extraction

Legitimate use cases we handle regularly:

  • Lost source code. An original developer left the company; the only copy of firmware lives inside production units.
  • Legacy equipment maintenance. Industrial controllers, medical peripherals, or automotive test jigs running PIC32MX need spare programmed MCUs, but the programming files were never archived.
  • Design audit. A company acquiring IP through M&A needs to verify that the firmware on shipped boards matches the source repository.
  • Prototype recovery. A pre-production prototype contains the only working build of a firmware branch that was never merged.

We require proof of ownership or written authorization before starting work. Every engagement is covered by our mutual NDA. For details on our legal framework, visit our trust and authorization policy page.

PIC32MX vs. Other Microchip Families

If your target device is an 8-bit or 16-bit PIC rather than a PIC32MX, the protection mechanisms and unlock techniques differ significantly. The PIC16F18 series, for example, uses a simpler CP fuse but a different flash architecture — see our PIC16F18 unlock guide for specifics.

For projects involving external serial EEPROMs paired with a PIC32MX — a common design pattern in industrial controls — we can also extract data from companion memory ICs. Our team routinely handles devices like the 24C256 serial EEPROM and AT24C512 alongside the main MCU.

Failure Modes and Honest Limitations

Transparency matters. Here is what can go wrong:

  • Die damage during decapsulation. PIC32MX packages (TQFP-44/64/100, QFN) are generally robust, but moisture-damaged or corroded parts have a 5–8% decap failure rate.
  • Newer silicon revisions. Microchip occasionally hardens the flash controller in later mask revisions without changing the part number. A technique that works on rev A3 may not work on rev B1. We mitigate this by requesting two sample units when possible.
  • Encrypted bootloader overlays. Some OEMs add a software-level AES encryption layer on top of hardware CP. We can extract the encrypted binary, but decryption requires the key — which may reside in OTP fuses or an external secure element.
  • One-Time Programmable (OTP) parts. A small number of PIC32MX variants were shipped in OTP packages for automotive qualification. These have different flash cell structures and lower unlock success rates.

We flag all known risks during the feasibility stage so you can make an informed go/no-go decision before any cost is incurred.

How to Get Started with PIC32MX Unlock

  1. Submit your request. Provide the full part number (e.g., PIC32MX270F256B-I/SO), quantity of sample units available, and a brief description of the use case.
  2. Feasibility review (free). Our engineers assess the specific die revision and protection configuration. We return a go/no-go recommendation within 1–2 working days.
  3. Ship samples. Send 1–3 units (we recommend 2 for redundancy) to our lab. We provide a prepaid shipping label for select regions.
  4. Extraction and verification. We perform the unlock, verify the binary, and deliver files via encrypted transfer.
  5. Re-programming support (optional). We can supply a programming script and configuration-bit file compatible with Microchip’s MPLAB IPE or PICkit 4.

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

Related MCU Unlock Services

Engineers working with mixed-vendor BOM designs often need firmware recovery from multiple IC families in a single project. Beyond PIC32MX, our lab supports a wide range of 32-bit MCUs:

Is PIC32MX unlock legal?

Yes, when performed for authorized purposes. Recovering firmware you own — or are contractually entitled to access — is lawful in most jurisdictions. We require proof of ownership or a written authorization letter before starting any engagement, and all work is conducted under NDA. See our trust and authorization page for full details.

Can you unlock a PIC32MX with both CP and BWP fuses set?

Yes. The Boot Write Protect (BWP) fuse adds complexity because the boot flash region is independently locked, but our microprobing and fault-injection workflows handle both fuses. The cost and turnaround increase by roughly 30–50% compared to CP-only parts. We confirm feasibility before you commit.

How many sample units should I send?

We recommend two units. The first undergoes the primary extraction attempt; the second serves as a backup if the die is damaged during decapsulation. For high-value recoveries (one-of-a-kind prototypes), we discuss risk mitigation strategies before proceeding with a single unit.

Will the original MCU still function after unlock?

It depends on the technique used. Microprobing and decapsulation are destructive — the IC is consumed. Fault-injection methods are non-destructive in most cases, and the original part can be returned functional. We specify the planned approach during feasibility so you know upfront.

What file formats do you deliver?

Standard deliverables include Intel HEX (.hex) and raw binary (.bin) files covering program flash, boot flash, and the Device Configuration Registers. We also supply a plain-text configuration-bit summary compatible with MPLAB X / MPLAB IPE for one-click re-programming.

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