The PIC16C642 is the member of the 16C6x line that carries four thousand words and thirty-three I/O without an analogue converter. That is not an omission, it is a price point: the 662 has the converter, the 642 does not, and the difference decides which designs used which. Reading one is a digital exercise from beginning to end.

Four Kilobytes, Two Pages
4096 words of EPROM spans two 2K pages, so PCLATH participates in every long call. The array itself is the same structure as the 74A’s, which means the reconstruction discipline is familiar: walk from reset, shadow the PCLATH writes, resolve every computed jump, then close the unresolved ones on hardware.
The difference is what the code is doing. Without a converter, the firmware is a logic controller — state machines, timers, keypad scans, display multiplexing — and its correctness is expressed in timing rather than in analogue values.
Thirty-Three Pins Of Digital
Three full ports plus control lines, and no analogue function to share them with. On this part a pin is either an input, an output, or a bidirectional line, and the direction registers are the whole interface definition.
For a rebuild that is convenient: a pin map is sufficient, and a static test that drives each pin high, low and floating covers the interface. There is no reference voltage to characterise and no channel map to verify, which removes the most time-consuming part of a converter-based job.
What The 662 Has That This Does Not
The 662 adds eight analogue channels in the same package and the same array size. Firmware written for one will not run correctly on the other: the ADCON register does not exist on the 642, and code that writes it is writing to an unimplemented address.
That matters when a customer sends a board and says it is a 642. We read the device ID at 2000h before accepting the description, because a 662 image delivered as a 642 image is a rebuild that fails on first power-up with no obvious cause.
Two Pages And A State Machine
Logic firmware on a 4K part is usually a state machine with a transition table, and the table is the part of the image that has to be exactly right. A disassembler shows the table as a run of instructions that never execute, because a computed jump consumes it as data.
We locate it by finding the computed jump first, then reading backwards to the table base and forwards to its last entry, bounded by the value range of the index. The table is then delivered as a separate CSV alongside the listing, because a transition table is documentation of the product’s behaviour as much as it is code.
Why Pure Digital Jobs Finish Faster
Without a converter there is no reference to characterise, no channel map to verify and no sample timing to measure, so the bench work reduces to a power-up test and a pin sweep. The read is the same length as any other 4K part; the verification is a fraction of it.
That does not make the job trivial. It moves the risk from the bench to the reconstruction, where a wrong table entry produces a device that behaves correctly in every state the test visits and wrongly in the one state the test does not.
Reading The Part
Fuse photographed first, then the ID, then the configuration word at 2007h, then the array in one sweep with a comparison pass. The 40/44-pin package opens cleanly and the die is large enough that probe placement is not delicate.
Because the medium is EPROM, the erase state is 3FFFh and the protect element is external to the matrix. On a windowed part we note whether the window shows evidence of prior erasure, since a part that has been cleared and reprogrammed carries a different risk profile from a factory-programmed one.
Delivery
Binary, HEX with configuration, a listing with bank annotations, a pin map verified on the bench, and the device ID read as a separate field. Where the customer’s description and the ID disagree, the delivery says so in the first paragraph rather than in a footnote.
The nearest part with a converter in the same package is the PIC16C74A job, which adds eight channels and a parallel slave port in the same 40/44-pin body, and the 8K member of the line is the PIC16C77 page. Package photographs and scoping questions go through the contact form.
Service scope and next steps
PIC parts from the 16F, 18F and 32F families are handled on the same bench every week. We identify the exact device revision, check the read-protection level, and confirm the flash layout before quoting. The full scope of what we handle, how a project runs from electrical integrity test to delivered file, and the payment terms are described on our service capabilities page.
Need a PIC part read?
Send us the part number and a short description of what you need. Free evaluation, fixed quotation, and a reply within one business day.








