Tag: reading microchip bin

  • PIC16LC620: The Smallest 18-Pin EPROM Part

    PIC16LC620: The Smallest 18-Pin EPROM Part

    Five hundred words of EPROM in an 18-pin package is close to the floor of what a microcontroller can be. The PIC16LC620 has 512 words, 80 bytes of RAM and 13 I/O, no converter and no serial port, and it exists for products that need a decision and a timer and nothing else.

    Reading Microchip PIC16LC620 Software
    Reading Microchip PIC16LC620 Software

    A Small Array Leaves No Room For Doubt

    Half a kilobyte is roughly two hundred instructions of real code once the initialisation is counted. There is no structure to speak of: a start-up block, a loop and a couple of subroutines. That makes the read short and the acceptance test strict, because there is no redundancy anywhere in the image.

    We read the array three times and require unanimous agreement on every word. On a part of this age the third pass is what catches the marginal bit that two passes happen to agree on.

    What Eighty Bytes Of RAM Tells You

    Eighty bytes is enough for a handful of variables and a small buffer. In a dump, that means the file register map is almost entirely special-function registers, and any user variable stands out as an address that is written before it is read.

    We produce the variable list as part of the delivery.

    The Low-Voltage Design

    The LC rating means the part is specified for a low supply, and products using it are usually powered from a battery with no regulator. The firmware therefore treats the supply as a measured quantity, and the measurement path is often the only interesting analogue behaviour in the product.

    Since there is no converter, the supply is compared against the internal reference and the result is a single bit. That bit drives everything: a low-battery indication, a shutdown, a write to a counter.

    Reset Is A Circuit, Not A Pin

    On an 18-pin part the reset line is often the only pin the designer did not have to share, and the external RC that holds it low at power-up is part of the product’s behaviour. The firmware may also rely on a brown-out reset rather than an external supervisor.

    A rebuilt device without the same reset behaviour starts at the wrong moment and writes to an output before the supply has settled — which on a part with 13 pins and no converter is the most common cause of a first-power-up failure.

    One Timer, One Prescaler

    There is a single 8-bit timer with a shared prescaler, and the prescaler is assigned to either the timer or the watchdog, never both. That assignment is a configuration bit and appears in the code as a specific write sequence.

    Getting it wrong produces a device whose timer runs at the wrong rate and whose watchdog fires at the wrong interval — two faults from one bit, which is why we report the assignment explicitly rather than leaving it buried in the configuration word.

    What Five Hundred Words Cannot Do

    A program of this size cannot buffer, cannot parse a protocol and cannot recover from much. It does one thing repeatedly with the resources available.

    Because there is nothing spare, every instruction has a purpose, and a word that looks like data is data. A customer can check the disassembly against the product’s behaviour without needing the source.

    OTP Batch Consistency

    Plastic OTP parts from the same lot program to the same behaviour, and that consistency is useful when a customer sends several units. Reading two and comparing gives a reference for the third.

    Where the units differ, the difference is usually in the data region rather than the code, and that distinction tells us whether we are looking at a product variant or at a failing part.

    Choosing A Replacement

    Most of these jobs end with a rebuild onto a modern part rather than an identical one, and the choice is constrained by the 18-pin package, the 13 I/O and the absence of a converter. The image tells us the timing and the pin map tells us the electrical requirements.

    We deliver both in a form a designer can use for substitution rather than only for cloning.

    Reading The Part

    Fuse photographed, configuration word decoded, array swept three times across 0000h–01FFh. The package is small, and the whole matrix is reachable with one probe position — but the window is narrow, so the etch is done slowly.

    Delivery

    Binary, HEX with configuration, a listing, the variable map, the fuse photograph, and the three-pass comparison report.

    The 1K version is the PIC16LC621 job, the 2K part with an A-revision die is the PIC16C622A page, and the 28-pin communication-oriented member of the family is the PIC16C62B job. Scheduling goes through the services desk or 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.

    Request a quotation