PostHeaderIcon Break IC PIC12C671 Eeprom: One Die, Two Media, Two Very Different Jobs

The same design was sold in two forms. In a plastic package it was one-time programmable: written once at the factory or the production line and sealed. In a ceramic package with a quartz window it was erasable, because the memory is a floating-gate technology that ultraviolet light can discharge.

That difference is not a packaging detail. It changes whether protection can be cleared, whether a failed attempt can be repeated, and whether a customer’s unit is a one-way ticket or a reusable sample. On a part this old, the windowed version is more common than most people expect, because engineering samples were bought in tubes and kept in drawers.

What the window changes

Property Plastic OTP Windowed ceramic
erase mechanism none ultraviolet, through the window
protection clearable no often yes, with the array
number of attempts one as many as the erase cycles allow
typical source production units engineering samples, prototypes
package marking no window a distinct lid or a window in the lid
recovery route die-level interface, after erase

The third row is the whole commercial difference. On a plastic unit, an unsuccessful read attempt consumes the device. On a windowed unit, an attempt that goes wrong can be undone by twenty minutes under a lamp, which makes experimentation affordable.

Why protection and erasure are linked

Protection on this technology is not a separate fuse in the modern sense; it is a condition of the array that the read path respects. Ultraviolet erasure discharges the floating gates across the whole array, and a mechanism that depends on the state of the array cannot survive a process that resets the entire array.

On parts where the protection is implemented differently — a dedicated fuse, or a mask-level condition — erasure does not help. That is why the window is an opportunity rather than a guarantee, and why the first thing to establish about a windowed unit is which mechanism its mask revision uses.

The practical test is cheap: erase the unit, read it, and see whether the array returns blank or a pattern. If blank, the protection went with the erase. If a pattern, the protection is independent of the array and the die route is still required.

Identifying the windowed part

Two things identify it. The package is ceramic rather than plastic, which is visible in the surface texture and the lid, and it has a transparent window set into the lid. The marking usually carries a suffix that distinguishes the erasable version from the production one.

The window is not always obvious under workshop lighting. A reflective lid can look solid until it is tilted, and a part that has been painted or labelled can hide the window entirely. Cleaning the lid before declaring a part non-erasable is worth the ten seconds.

A third possibility exists and is worth mentioning because it causes confusion: a windowed package whose window has been covered by an opaque label. The part is erasable, but the user could not erase it, so it behaved as one-time programmable in service.

Erasure in practice

Twenty minutes under a short-wave ultraviolet lamp at the specified distance, with the window clean and unobstructed. Two things go wrong.

Under-erasing leaves a device that reads partly blank and partly programmed, which looks like a damaged array rather than an incomplete erase. Over-erasing, or erasing for hours, is generally harmless on this technology but wastes time.

The verification after erasure is a full read: every implemented address should return the erased value. A region that does not is either a damaged cell or a region outside the implemented range, and distinguishing those requires knowing the array size — which is the same boundary problem that applies to any read on this family.

The eight-pin context

Whatever the medium, the electrical access is the same five signals in an eight-pin body, and the constraints that follow are the ones that apply to every part in this package class: the reset pin doubling as the programming voltage input, the two interface pins often loaded by the product’s own circuitry, and the absence of any spare pin for diagnostics.

On a windowed unit in a socket, none of that matters much. On a plastic unit soldered into a board, all of it does.

Why the customer’s unit is usually plastic

Production units are plastic, because the windowed part costs more and is not needed once the code is final. So the common request — a failed unit from a machine in service — is a one-way job, and the windowed path is only available when the customer happens to have retained engineering samples.

That is worth asking about explicitly. A company that designed the product in the 1990s may still have a tube of windowed samples in a store room, and a sample with the same firmware is a far easier starting point than the failed production unit.

Delivering from either medium

The image over the full address range with the word convention stated, the configuration word decoded, the calibration value identified, and a note on how the content was obtained — erased-then-read, read directly, or recovered from the die — because the three carry different confidence and a customer comparing against a second unit will want to know which applies.

Where the same eight-pin package constrains a part with a larger array, PIC12C509A binary covers the interface limits. Where the part is mask-programmed and no erase exists at all, PIC16CR83 heximal explains the physics. And where an OTP device has sixteen bytes reachable over two pins, PIC12CE673 flash covers the external route.

The short version

Check for a window before assuming the job is irreversible. The erasable version can clear protection with the array, which converts a one-shot recovery into an experiment. Most customer units are plastic, but the samples in the store room often are not.

Comments are closed.