Bao'An Shenzhen China

PIC24H Unlock | Feasibility, Cost & Lead Time

Oct 6, 2026  /  PCB COPY

pic24h unlock: PIC24H microcontroller in TQFP package soldered on a circuit board

What Is PIC24H Unlock and When Do You Need It?

PIC24H unlock is the process of recovering firmware from Microchip’s PIC24H-family 16-bit microcontrollers when the code-protection (CP) fuse bits have been set. Engineers typically need this service when original source code is lost, a design house has gone dark, or a legacy product requires maintenance but the hex file was never archived. Our lab handles PIC24H firmware readout as an authorized recovery service — proof of ownership or a written authorization letter is required before work begins.

How PIC24H Code Protection Works

pic24h unlock: PIC24H microcontroller in TQFP package soldered on a circuit board

The PIC24H family — including popular parts like PIC24HJ128GP504, PIC24HJ256GP610, and PIC24HJ64GP206 — uses a configuration-register-based protection scheme. Understanding these mechanisms is the first step in assessing whether a PIC24H unlock is feasible for your specific part.

General Code Segment Protection (GCP)

When the GCP bit is cleared (active-low), the entire program memory space is read-protected. External programmers such as the PICkit 3 or ICD 4 will return all 0xFF or 0x00 depending on the tool. ICSP and JTAG debug ports are blocked from reading flash contents, though erase operations remain available.

Code Segment Write Protection (GWRP)

GWRP prevents run-time self-write to the general code segment. While it does not directly block readout, it is almost always set alongside GCP. A device with GWRP active but GCP inactive is rare — and trivially readable through standard ICSP.

Configuration Word Protection

Some PIC24H variants allow the configuration words themselves to be protected, preventing an attacker from simply flipping the CP bits. This adds a layer of complexity to any recovery attempt.

Protection Feature Config Bit Effect on Readout Impact on Recovery
General Code Protect GCP (FOSCSEL / FGS) Blocks ICSP/JTAG flash read Primary barrier
General Write Protect GWRP (FGS) Blocks run-time self-write Low — secondary concern
Config Word Protect Varies by part Prevents config modification Moderate — adds steps
JTAG Disable JTAGEN (FICD) Disables JTAG port Closes one access vector

Is PIC24H Unlock Feasible for Your Part?

Feasibility depends on the exact PIC24H variant, its silicon revision, and the combination of active protection bits. Across the PIC24H family, our lab maintains a success rate that varies by sub-family. Older silicon revisions (A2, A3) of parts like the PIC24HJ128GP504 tend to be more susceptible to known semi-invasive techniques than later revisions (B1+).

Factors That Raise Success Probability

  • Older silicon revision: Early mask sets sometimes contain debug hooks or flash-access paths that were tightened in later revisions.
  • GCP-only protection: When JTAG remains enabled or config-word protection is not set, additional vectors are available.
  • Standard packaging (TQFP / QFN): Physical access to die pads is straightforward, keeping costs lower.
  • No external security IC: Some designs pair the PIC24H with an authentication chip. If firmware checks an external crypto device, a raw hex dump alone may not be sufficient for your recovery goal.

Factors That Reduce Success Probability

  • Latest silicon revisions with all protection bits set: Microchip has patched known weaknesses in successive mask revisions.
  • BGA packaging: Die-level access becomes costlier, though not impossible.
  • Damaged or corroded devices: Physical damage to the die or bond wires can make recovery impossible regardless of protection state.

We provide a free feasibility assessment before quoting. Send us the full part number (including revision code from the package marking) and we will give you an honest probability estimate within one business day.

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

PIC24H Unlock Process: Step by Step

  1. Authorization verification: You provide proof of IP ownership or a signed authorization letter. We countersign an NDA. This step is non-negotiable — learn more about our legal and ethical framework if you have questions.
  2. Device intake and inspection: We photograph package markings, confirm the exact part number and silicon revision under magnification, and test basic electrical connectivity.
  3. Protection-level assessment: Using ICSP and JTAG (if enabled), we probe the device to map which protection bits are active and identify the configuration word state.
  4. Recovery execution: Depending on the protection profile, our engineers apply the appropriate technique — ranging from non-invasive glitching methods to semi-invasive die-level approaches. PIC24H devices with 16-bit instruction widths and up to 256 KB flash require careful handling to ensure complete and error-free extraction.
  5. Verification and delivery: The recovered hex file is verified against a checksum where possible. We deliver the firmware as an Intel HEX (.hex) file, optionally with a disassembly listing if requested.

Cost and Lead Time for PIC24H Unlock

Pricing depends on the specific part number, protection complexity, and packaging. The table below gives realistic ranges based on our completed PIC24H projects.

Scenario Typical Cost (USD) Lead Time (Working Days)
GCP only, older revision, TQFP $400 – $600 5 – 8
GCP + config protect, mid revision $600 – $1,000 7 – 12
Full protection, latest revision, QFN/BGA $1,000 – $1,800 10 – 18
Damaged or corroded device Quote after inspection Quote after inspection

We operate on a no-success, no-fee basis for standard PIC24H unlock jobs. If the firmware cannot be recovered, you pay nothing beyond a nominal inspection fee of $50.

Deliverables You Receive

Engineer preparing a microcontroller for die-level firmware recovery in a lab
  • Intel HEX file (.hex): Complete flash image including program memory, configuration words, and (where accessible) EEPROM data.
  • Binary dump (.bin): Raw binary on request.
  • Disassembly listing (.asm): Optional annotated disassembly using Microchip’s dsPIC/PIC24 instruction set — useful if you need to port or modify the firmware.
  • Configuration word report: A summary of all fuse settings so you can reprogram a blank PIC24H identically.

PIC24H vs. Related Microchip Families

The PIC24H sits in Microchip’s 16-bit portfolio alongside the dsPIC33 DSC families. Protection architectures overlap but are not identical. If your project involves multiple Microchip parts, these sibling pages may be relevant:

For non-Microchip parts on the same board, we also support families like GigaDevice GD32E and Microchip/Atmel ATSAM3.

Common Use Cases for PIC24H Firmware Recovery

Legacy Industrial Controllers

PIC24H parts were widely adopted in motor-drive controllers, sensor-interface boards, and PLC expansion modules between 2008 and 2016. Many of these systems are still in active service. When the original firmware developer is unreachable and a failed board must be cloned for a production line, PIC24H unlock is the fastest path to restoring operation.

Product Redesign and Migration

Migrating a PIC24HJ128GP504 design to a PIC24FJ or dsPIC33C requires the original hex file as a reference. Without it, engineers are reverse-engineering behavior from the PCB outward — a process that costs 5–10× more than a firmware readout.

Warranty and Repair Depots

Authorized repair centers sometimes need to reflash replacement PIC24H chips with the correct firmware version. If the OEM cannot supply the hex file, recovery from a known-good donor unit is the standard approach.

What Can Go Wrong

Transparency matters. Here are real failure modes we have encountered:

  • Die damage during decapsulation: Semi-invasive techniques require chemical or laser decapsulation. If the die is already stressed (e.g., from ESD damage), the flash array can be unreadable.
  • Incomplete reads on large flash parts: PIC24HJ256GP610 has 256 KB of flash. A single bit error in the read can corrupt the firmware. We use multiple-pass verification to mitigate this.
  • Encrypted application data: The PIC24H itself does not encrypt flash contents, but application-layer encryption (AES keys stored in flash, encrypted payloads) means a raw dump may not be immediately usable without the decryption key.
Is PIC24H 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 you operate, and authorized repair work. We require proof of ownership or a written authorization letter and work under NDA. Unauthorized extraction of third-party IP is something we do not perform.

How many sample devices should I send for PIC24H unlock?

We recommend sending at least two identical devices. The first is used for the primary recovery attempt. The second serves as a backup in case the first device is damaged during semi-invasive processing. If only one unit is available, we can still proceed — but success cannot be guaranteed if physical access to the die is required.

Can you recover firmware from a PIC24H that has been erased?

No. If a bulk erase has been executed — whether intentionally or as a protection trip — the flash contents are destroyed. Code protection prevents reading, but once erased, the data is gone. We can verify whether a device has been erased or is still protected during our initial assessment.

What information do you need to start a PIC24H unlock quote?

Send us the full part number from the chip package (e.g., PIC24HJ128GP504-I/PT, including revision code), a brief description of the end application, and your proof of ownership or authorization. Photos of the chip marking are ideal. We typically respond with a feasibility estimate within one business day.

Do you support PIC24F and PIC24E families as well?

Yes. The PIC24F and PIC24E families use related but distinct protection schemes. PIC24F parts generally have simpler code protection, while PIC24E shares much of its architecture with the dsPIC33E. Contact us with your specific part number for an accurate assessment.

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