Break IC PIC16C711 Program: The Feasibility Call Comes Before the Die Is Opened
The PIC16C711 is an eighteen-pin one-time-programmable part: 1024 by 14 bits of program memory, 68 bytes of RAM, four analogue inputs into an eight-bit converter, one timer, and no data EEPROM. It was the workhorse of a generation of sensor transmitters, timers and small controllers, and a large number of those designs are still in service with no source for replacement parts.
That is the commercial reason these jobs exist. The technical reason they are decided early is that OTP memory cannot be erased. A flash part that has been read badly can be read again; a protection bit that has been set on an OTP part stays set, and a decapsulation that goes wrong has consumed the device.
What “cannot be undone” changes
On a flash device the recovery process has retries. A read that returns a pattern can be repeated with different timing, a part that enters an unexpected state can be power-cycled, and a failed attempt leaves the memory intact.
On this part none of that holds. The program array is written once at manufacture. The protection mechanism, once engaged, is engaged permanently. There is no bulk erase, no unlock sequence and no factory reset. The only route to the contents is physical, and physical access is a one-way operation on a plastic package.
Three practical consequences follow, and they shape the whole engagement:
The assessment has to be complete before the package is opened, because after that the device is either readable or destroyed and there is no third state.
The customer has to understand that the unit is consumed by the process, which means a spare or a sacrificial unit is usually part of the arrangement.
And the value calculation changes: on a flash part the question is “can this be read cheaply”; here it is “is this the only unit, and what happens if it does not survive”.
What the top marking tells you
| Marking element | What it narrows | Why it matters here |
|---|---|---|
| family and memory code | exact variant in the family | determines array size and config layout |
| package suffix | plastic or ceramic, windowed or not | a windowed part may be erasable |
| date code | mask revision era | older masks have different protection behaviour |
| lot code | production batch | occasionally indicates a re-marked part |
The second row is worth checking carefully. A ceramic package with a quartz window is an erasable part — the same die in a package that allows ultraviolet erasure. On those units, protection can sometimes be cleared, which converts an irreversible job into a reversible one. Windowed parts are unusual in production but common in prototyping stock, and a customer who has a tube of engineering samples may have exactly that.
Identifying the package costs nothing and occasionally halves the work.
The four outcomes of an assessment
Every job on this part resolves to one of four states, and stating which one applies before work begins is the whole point of the exercise.
Readable as-is. The part was never protected, or protection was not engaged. The image comes out through the programming interface and the job is a read. This happens more often than expected on old designs, because protection was sometimes left off to allow field service.
Protected but physically accessible. The array is protected, the die is reachable, and a physical read is possible. The outcome depends on the mask revision and on the equipment, and it is the case where experience rather than procedure decides.
Protected and not recoverable with confidence. Some mask revisions are harder than others, and on a single-unit job the honest answer may be that the probability is not high enough to justify consuming the device.
Already damaged. Previous attempts, corrosion, or a failed removal from the board. This is the case where a photograph of the die before any work is worth more than any measurement afterwards.
The date code is not a detail
Older mask revisions on this family behave differently from later ones, particularly in how the protection is implemented and in how much of the array is affected by it. The date code on the package is the quickest proxy for the mask revision, and it is worth recording in the job file even when it does not change the plan.
It also protects against a specific failure of expectation: a customer who has had one unit of a design recovered successfully may send a second unit from a different production year and expect the same result. Different date code, different mask, different answer.
Reading the analogue configuration as a cross-check
The eight-bit converter on this part has its channel selection and its reference in registers written during initialisation. Those writes are the first thing visible in a recovered image, and they serve as an independent check on the image’s identity: a design that uses channel three with the supply as reference should show exactly that, and a design that shows channel zero with an external reference is a different product.
When a customer sends a unit and a description that do not match — a board described as a temperature transmitter whose code configures a potentiometer input — the discrepancy is usually a mismatched unit rather than a bad read, and catching it early avoids a wasted report.
Delivering against an irreversible process
Because the device does not survive in a reusable form, the delivery has to be complete the first time. That means the full address range including the blank tail, the configuration word decoded, a note on which addresses were unreadable rather than empty, and — where the package was opened — a record of the die marking and revision.
A short technical note on the method, without procedure detail, is also worth including: it documents what was attempted and it lets a second opinion be formed if the result is disputed.
Where the same irreversibility applies to a part with a different read path, PIC12C671 eeprom breaking covers the eight-pin case. Where the protection mechanism is a different one entirely and the array is mask-programmed at the factory, PIC16CR83 heximal explains why the failure modes differ. And where a readable part needs its analogue behaviour interpreted rather than its protection defeated, PIC16C717 program takes that route.
The short version
On an OTP part the expensive decision is made before the die is opened. Read the marking for the windowed-case exception, date the mask, state which of the four outcomes applies, and make sure the delivery is complete because there is no second pass.