Bao'An Shenzhen China

PIC24E Unlock | Feasibility, Cost & Lead Time

Published · About 7 min read · PCB-Copy

On this page
  1. PIC24E Unlock — Authorized Firmware Recovery for PIC24EP Microcontrollers
  2. What Code Protection Does the PIC24EP Use?
  3. How PIC24E Unlock Works in Practice
  4. Which PIC24EP Part Numbers Can Be Unlocked?
  5. Cost and Lead Time for PIC24E Unlock
  6. PIC24E vs. Related Microchip Families
  7. Authorization and Legal Requirements
  8. What You Receive After a Successful PIC24E Unlock
  9. Frequently Asked Questions About PIC24E Unlock

PIC24E Unlock — Authorized Firmware Recovery for PIC24EP Microcontrollers

PIC24E unlock refers to the process of reading protected firmware from Microchip’s PIC24EP family of 16-bit DSC-class microcontrollers. These devices use a multi-level code-protection scheme that prevents standard ICSP/JTAG readout once the General Code Segment (GS) and Boot Segment protection bits are set. Our engineers recover firmware from PIC24EP parts for clients who own the original IP — typically for legacy maintenance, disaster recovery, or authorized production transfer — with a success rate that depends on the specific part number, silicon revision, and protection configuration.

What Code Protection Does the PIC24EP Use?

pic24e unlock: PIC24EP microcontroller on a PCB with ICSP header used for firmware recovery

The PIC24EP family implements protection through Flash Configuration Words stored in the last locations of program memory. Three independent mechanisms work together:

  • General Segment Code Protection (GCP): When GCP is active, external read of the general code segment via ICSP is blocked. The MCU will return all zeros or all ones instead of actual opcodes.
  • Boot Segment Code Protection (BSP): Protects the boot segment independently from GS, often used for proprietary bootloaders.
  • Write Protection (WP): Prevents external or even internal runtime modification of flash pages — this complicates certain glitch-based approaches.

Configuration bits also control JTAG enable/disable and ICSP pin mapping. On some PIC24EP silicon revisions (notably the early A3/A4 mask sets of PIC24EP512GU810 and PIC24EP256GP204), known errata around the code-protect verification sequence can affect recovery feasibility — positively or negatively depending on the exact stepping.

Protection Levels at a Glance

Protection Feature Config Bit Effect on Readout Impact on Recovery
General Segment Code Protect GCP (FOSCSEL) Blocks ICSP read of GS Primary barrier — moderate to high difficulty
Boot Segment Code Protect BWRP / BSS Blocks ICSP read of BS Independent; must be addressed separately
Write Protect GWRP / CWRP Blocks flash writes via ICSP Limits glitch/inject strategies
JTAG Disable JTAGEN Disables JTAG port entirely Eliminates one debug vector
Code Protect + JTAG off + WP All set Maximum lockdown Highest difficulty; semi-invasive may be required

How PIC24E Unlock Works in Practice

Recovery approaches fall into three tiers, and the right one depends on the protection configuration and silicon revision of your specific chip.

Tier 1 — Non-Invasive (Protocol-Level)

Our lab first probes the ICSP and JTAG interfaces to confirm which protections are actually enabled. In a surprising number of cases, clients believe a chip is fully locked when only partial protection was configured during production. If the boot segment or configuration space is readable, it can reveal the protection map and sometimes provide enough data to reconstruct the firmware context. This tier takes 1–2 working days and has zero risk to the physical device.

Tier 2 — Semi-Invasive (Fault Injection)

For PIC24EP devices with GCP enabled but without full write-protect, voltage-glitch and clock-glitch techniques can disrupt the code-protect verification during the ICSP entry sequence. Our engineers use sub-nanosecond glitch injectors synchronized to the PIC24EP’s internal PLL lock cycle. Success depends heavily on the specific mask revision — the B1 stepping of PIC24EP512GP806, for example, has tighter timing margins than the A3 stepping. Typical turnaround for this tier is 5–8 working days.

Tier 3 — Invasive (Die-Level)

When all non-invasive and semi-invasive vectors are exhausted, die decapsulation and micro-probing become the last resort. The PIC24EP is fabricated on a 0.18 µm process, which is still accessible to focused-ion-beam (FIB) and laser-fault-injection equipment. This tier is the most expensive, carries a risk of device destruction (we require a minimum of 2 sample units), and takes 8–15 working days. It is reserved for high-value recovery situations where the firmware genuinely cannot be re-created.

Which PIC24EP Part Numbers Can Be Unlocked?

The PIC24EP family spans roughly 40 part numbers across GP (general purpose), GU (USB), MC (motor control), and MU (motor control + USB) variants. Feasibility varies:

Sub-Family Example Parts Flash Size Typical Feasibility
PIC24EP64GP/MC 20x PIC24EP64GP202, MC202 64 KB High — smaller flash, fewer segments
PIC24EP128GP/MC 20x PIC24EP128GP204, MC204 128 KB High
PIC24EP256GP/MC 40x PIC24EP256GP406, MC406 256 KB Moderate-High
PIC24EP512GP/GU 8xx PIC24EP512GP806, GU810 512 KB Moderate — larger flash, dual-partition models add complexity
PIC24EP256MU 8xx PIC24EP256MU810 256 KB Moderate — USB-class parts have additional config layers

If your exact part number is not listed, submit it through our feasibility check — we maintain a lab database of tested silicon revisions that is broader than what we publish.

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

Cost and Lead Time for PIC24E Unlock

Pricing depends on the tier of effort required, which we determine during a free initial assessment (usually within 1 business day of receiving the chip or its full part number and revision code).

Recovery Tier Typical Cost Range (USD) Lead Time (Working Days) Device Risk
Tier 1 — Non-Invasive $300 – $600 1 – 3 None
Tier 2 — Semi-Invasive $600 – $1,500 5 – 8 Low
Tier 3 — Invasive $2,000 – $5,000+ 8 – 15 Moderate (2 samples required)

We operate on a no-success-no-fee basis for Tier 1 and Tier 2 attempts. Tier 3 projects carry a non-refundable assessment fee (typically 20–30% of the quoted total) because of the consumable cost of decapsulation and FIB time.

PIC24E vs. Related Microchip Families

Lab probe station and microscope used for invasive IC unlock procedures

Engineers sometimes confuse PIC24E with adjacent Microchip 16-bit families. The protection architecture differs enough that feasibility does not transfer one-to-one:

  • PIC24H: The earlier high-performance 16-bit family uses a simpler code-protect scheme with fewer segment options. Recovery is generally easier. See our PIC24H firmware recovery guide for specifics.
  • dsPIC33E: Shares the same silicon platform as PIC24EP (the “E” core) but adds DSP instructions. Protection is essentially identical, so PIC24E unlock findings often apply to dsPIC33E. Our dsPIC33E-CH unlock page covers the motor-control variants in detail.
  • dsPIC33C: The newer “C” core uses a different flash controller with enhanced security. Feasibility must be evaluated independently — read our dsPIC33C unlock assessment.
  • PIC32MZ: 32-bit MIPS-based with a fundamentally different protection model (Secure Boot, crypto fuses). If you have a PIC32 project, see our PIC32MZ unlock analysis instead.

Authorization and Legal Requirements

We perform PIC24E unlock exclusively for authorized parties: the original firmware author, the product manufacturer, or an entity with documented rights to the code. Before work begins, we require a signed declaration of ownership or authorization, plus an NDA that protects both sides. This is not optional — it is a prerequisite for every engagement.

Common authorized scenarios include recovering firmware from a discontinued product line when the original developer is unavailable, extracting code from a damaged chip to restore a production line, or migrating firmware during an authorized chip-change due to supply-chain shortages.

What You Receive After a Successful PIC24E Unlock

  • Raw HEX file: Complete program memory dump in Intel HEX format, loadable directly into MPLAB X / IPE for re-programming onto a blank PIC24EP.
  • Configuration word map: Decoded FOSCSEL, FOSC, FWDT, FPOR, FICD, FAS, FGS bit settings so you can replicate the exact operating configuration.
  • EEPROM / data memory dump (if applicable): Some PIC24EP applications store calibration data in emulated EEPROM — we capture that separately.
  • Verification report: CRC comparison between the extracted image and a test re-program to confirm integrity.

Frequently Asked Questions About PIC24E Unlock

Can you unlock a PIC24EP chip without destroying it?

In most cases, yes. Tier 1 and Tier 2 methods are non-destructive or carry minimal risk. Only Tier 3 invasive recovery risks the device, which is why we request at least two sample units for that approach. Roughly 70–80% of PIC24EP recovery projects are completed non-destructively.

How do I find the exact part number and silicon revision on my PIC24EP?

The full part number is printed on the package top (e.g., PIC24EP512GP806-I/PT). The silicon revision (mask set) is encoded in the Device ID register at address 0xFF0000, readable even when code protection is active. If you cannot read it, send us a clear photo of the chip marking and we will cross-reference it against Microchip’s revision history.

Is PIC24E unlock legal?

Firmware recovery is legal when performed by or for the IP owner, for purposes such as backup, repair, or authorized production transfer. We require proof of ownership or written authorization before starting any project. Unauthorized extraction of third-party firmware is not a service we offer.

What if my PIC24EP chip is physically damaged?

We regularly recover firmware from chips with damaged pins, corroded packages, or partial electrical failures. As long as the flash memory die is intact, recovery is usually possible. We assess physical condition as part of our free feasibility evaluation.

Do you also handle GD32 or MSP430 chips?

Yes. Our lab covers a wide range of MCU families beyond Microchip. For example, see our GD32E unlock service or MSP430F5xx recovery page for details on those platforms.

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
TURN THE GUIDE INTO A PROJECT QUESTION

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.

WhatsApp Send board details