Category: Microcontroller Firmware Copy

  • PIC16F527: Twenty Pins For A One-Kilobyte Program

    PIC16F527: Twenty Pins For A One-Kilobyte Program

    Twenty pins around a kilobyte of program memory looks like an imbalance until you count the I/O: this part exists to give a small program a lot of pins. The PIC16F527 keeps the 1024-word flash array, 68 bytes of RAM and three 8-bit converter channels of its 14-pin sibling, and spends the extra six pins on portability.

    Copy Microchip PIC16F527 Heximal
    Copy Microchip PIC16F527 Heximal

    The Same Core, Six More Pins

    The die family is shared with the 526, and the difference is the package and the pins it exposes. More I/O means the firmware can drive a display, scan a keypad or talk to a parallel device without an external latch, and that is why designs land on this part rather than the smaller one.

    For a read the difference is small. For a rebuild it is significant: a 20-pin board exercises pins that a 14-pin board leaves unconnected, and a reconstruction tested only against the smaller package will miss them.

    Three Channels On A Wider Body

    The converter keeps its three inputs at eight bits, and the reference behaviour is unchanged. What changes is how close the analogue pins sit to switching outputs: on a 20-pin package the layout has more room, and crosstalk that would ruin a reading on the 14-pin board may be absent here.

    We verify the channels the same way regardless — two levels per input, other channels quiet, codes recorded — and we add a check with a nearby output switching, because that is the condition the product will actually see.

    What A Kilobyte Of Logic Looks Like

    Twenty pins and one kilobyte is a pattern that shows up in appliance controllers and simple instruments: a state machine, a scan routine, a display refresh, and a handful of thresholds. The code is dense and the tables are small.

    On this part the tables are the interesting content, because they encode the product’s behaviour. We extract them as CSV alongside the listing, and we mark which table is indexed by which input, so a customer can reconstruct the specification from the image.

    Why The Extra Pins Are Not Free

    Twenty pins mean a larger package, more board area and more routing, and designers only accept that when the product genuinely needs the I/O. In practice it means a display, a keypad or a host interface, and each of those brings its own timing requirement into the firmware.

    So the image on this part is busier than on the 14-pin version even though the array is the same size. There is less room per function, the loops are tighter, and the tables are shared between tasks.

    A Table Is A Specification

    On a controller like this the transition table and the threshold table together describe what the product does, in a form more precise than any document that survived. We extract both, label the index and the value ranges, and hand them over as CSV.

    Customers use them in two ways: to build a fixture that drives the rebuilt part through every state, and to write replacement firmware if they decide not to rebuild the original.

    Reading And Rebuilding

    The 20-pin package opens with a wider window than the 14-pin one and the die is the same size, so the etch is straightforward. The array is swept twice, the configuration word is decoded, and the device ID is recorded.

    On the rebuild side the pin count is the risk. We produce a pin map for the 20-pin package and test every pin, including the ones that are unconnected on the donor board, because a reconstruction that leaves an unused pin as an input can back-drive a signal the product expects to be driven.

    Delivery

    Binary, HEX with configuration, a listing with tables extracted as CSV, a full 20-pin map with direction states, and the three-channel record. Customers replacing this part in a shipping product usually want the pin map more than the disassembly, because the replacement rarely has the same package.

    The 14-pin version of the same core is the PIC16F526 page, the low-voltage variant is the PIC16LF526 job, and the larger 18-pin part with a real EEPROM block is the PIC16F84A page. Quotations go through the services desk.

    Service scope and next steps

    Before we quote a PIC job we confirm the silicon revision and the protection configuration, because both decide whether the on-chip programming area can be read directly or needs a different approach. 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.

    Ready to extract this PIC firmware?

    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

  • PIC16F526: A Kilobyte, Three Channels, No EEPROM

    PIC16F526: A Kilobyte, Three Channels, No EEPROM

    The request that arrives for this part usually says EEPROM, and the PIC16F526 does not have any. It has 1024 words of flash, 67 bytes of RAM, three 8-bit converter channels and twelve I/O in a 14-pin body. The word EEPROM in the slug is a habit from an earlier generation of part numbers, and correcting it is the first useful thing we do on the job.

    Copying Microcontroller PIC16F526 Eeprom
    Copying Microcontroller PIC16F526 Eeprom

    What The Die Contains

    One array, 1024 words wide, plus a configuration word and a device ID. No separate data block, no second protect bit, no endurance specification for anything other than the program memory. On a flash part of this generation the protect element is a floating-gate cell inside the array structure, which is why nothing about this read is optical.

    The distinction is not pedantry. A customer who expects a 64-byte data block and receives a code image will assume something is missing, and the conversation that follows costs more than the correction would have.

    Why Customers Ask For EEPROM Anyway

    The habit comes from three parts that genuinely had one: the 16C84, the 16F84A and the 12CE519, each with a small block that survived a code erase. Designers who learned on those parts carried the vocabulary forward, and a whole generation of product documentation says EEPROM when it means “the memory inside the chip”.

    When the request arrives we check the part number before the price. If the die really has a data block, the quote includes it and the delivery has two files. If it does not, the quote says so in the first line, because a customer who is told afterwards feels misled even when nothing was promised.

    Three Channels At Eight Bits In Fourteen Pins

    Three analogue inputs, eight bits of resolution, and twelve I/O on a package that also has to provide power, programming and reset. Designs on this part are small sensor interfaces: a thermistor, a potentiometer, a battery divider, and a decision in firmware.

    Because there are only three channels, the channel map is short enough to verify exhaustively. We drive each input at two levels, confirm that the other two channels do not respond, and record the codes. On a three-channel part that test takes twenty minutes and it removes the entire class of multiplexer reconstruction errors.

    Reading Flash Without A Window

    There is no quartz window and no UV route. The package is opened, the passivation removed over the array, and the sense amplifiers probed. The protect cell sits in the array’s control structure, so the read does not depend on finding or defeating a fuse — it depends on reaching the bit lines cleanly and reading them at a bias where the cells still separate.

    On a part this small the die is tiny and the probe placement is delicate. We photograph the die and the bond map before the etch, because on a 14-pin package the bond pads sit close to the matrix and a mis-aimed window takes wires with it.

    The Configuration Word Describes The Product

    At the top of the memory map the configuration word holds the oscillator selection, the watchdog setting, the code-protect bit and the pin functions. On a 14-pin part the pin functions matter more than usual: whether MCLR is enabled decides whether one of the twelve I/O is available at all, and whether the internal oscillator is used decides what the other two pins do.

    We decode the word into a table, field by field, and deliver it in that form. A raw hex value is technically complete and practically useless to a production engineer setting up a programmer.

    Verification On A Rebuilt Unit

    Three channels swept, twelve pins exercised as inputs and outputs, the watchdog allowed to time out once, and the instruction clock measured on a toggled pin. The whole sequence fits on a single fixture and runs on every rebuilt unit.

    Delivery

    Binary, HEX with configuration, a listing, the three-channel record, and a short note stating that this part has no data EEPROM — which several customers have needed in writing for their own documentation.

    The 20-pin version with the same core is the PIC16F527 job, the low-voltage twin is the PIC16LF526 page, and the eight-pin part where a real EEPROM block does exist is the PIC12F519 job. Scheduling goes through the services desk.

    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

  • PIC12C518: 512 Twelve-Bit Words In An Eight-Pin Body

    Eight pins and twelve-bit words: the PIC12C518 sits at the bottom of the PIC range, where the instruction set is a subset and the program memory is 512 words wide enough for twelve bits each. Copying one is quick, and reading the dump correctly requires remembering that every word is not fourteen bits wide.

    Copy Chip PIC12C518 Software
    Copy Chip PIC12C518 Software

    Twelve-Bit Words Change The Arithmetic

    The 12-bit core encodes a smaller instruction set: fewer literals, no direct two-operand arithmetic, and a file register space that fits in five bits. A dump from this part opened in a tool configured for a 14-bit device will look like every word has its top two bits clear, which is true and misleading — the missing bits were never part of the encoding.

    The erase state here is 0FFFh rather than 3FFFh. A block that reads all ones is unprogrammed or cleared; a block that reads all zeroes is a decoding error or a dead sense amplifier, and the two look similar in a hex viewer.

    Six Pins, One Of Which Is Always Input

    Six I/O on an 8-pin package, with GP3 usable only as an input and GP4/GP5 shared with the oscillator. Designs on this part use every pin, and the configuration word decides whether the oscillator is internal or external — a setting that changes what two of the six pins do.

    That is the first thing we check on a rebuilt device: whether the clock is running at all, and from which source. On a part with no serial port and no interrupt, a wrong oscillator configuration produces a device that does nothing, which at least is unambiguous.

    No Interrupts Means A Polling Loop

    There is no interrupt vector on this core. The firmware is a loop with timing derived from instruction cycles, and the timing is the specification: a soft-start ramp, a debounce window, a pulse width. When the loop is reconstructed, the cycle counts have to survive intact, because there is no scheduler to hide a miscount.

    We annotate the listing with cycle counts for the timing-critical loops, computed from the instruction sequence rather than from a comment in the original source, which no longer exists.

    Reading The Die

    The die is small, the package is small, and the read is short: fuse photograph, device ID, configuration word, then 512 words with a comparison pass. Because the array is tiny, we read it three times and compare all three before accepting it.

    The Last Word Is A Calibration Value

    At the top of the 512-word array, in the final address, this family stores an oscillator calibration word written at the factory. Firmware loads it into OSCCAL at start-up, and every timing loop in the program depends on it. A read that returns 512 words but treats the last one as code has silently destroyed the calibration.

    On a rebuild that shows up as a part that runs a few percent fast or slow, which in a timing application is the whole product. We therefore report the last word separately, confirm it against a second read, and mark it in the delivery so nobody overwrites it while editing the image.

    Why Pure Digital Jobs Finish Faster

    There is no converter to characterise, no reference to measure and no channel map to verify, so the bench work on a small digital part collapses to a power-up test and a timing check. That is why an eight-pin job can be quoted at a fraction of a 28-pin converter job with the same word count — the read is similar and the verification is not.

    The saving is real, and it is why these parts are quoted by the batch rather than per unit.

    Delivery

    Binary in 12-bit packing and a byte-swapped variant, HEX, a listing annotated with cycle counts, and the decoded configuration word. Customers rebuilding onto a modern part usually ask for the cycle counts in a spreadsheet, which we provide.

    The 1K version with an EEPROM block is the PIC12CE519 job, the flash-based successor is the PIC12F519 page, and the medium differences across the range are set out in the memory-type comparison. Volume questions go to the services desk.

    Service scope and next steps

    Read-protected microcontroller firmware is routine work for our lab. Send the part number and we will confirm the device revision, the protection configuration and the method before we quote. 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 this protected 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

  • PIC16C711: An 18-Pin Part With Comparators, Not A Converter

    Take the 710, remove the converter, keep the comparators, and you have the PIC16C711. It is the cheapest way Microchip sold a 512-word 18-pin part, and it exists because plenty of designs need a threshold decision rather than a measurement. Copying one is a digital job from start to finish, which is both simpler and easier to get subtly wrong.

    Copy Microcontroller PIC16C711 Flash
    Copy Microcontroller PIC16C711 Flash

    The Part Without An ADC

    Thirteen I/O, 36 bytes of RAM, 512 words of program memory, and two analogue comparators with a programmable reference. There is no conversion result register to reconstruct and no channel multiplexer to verify. The analogue behaviour lives entirely in the comparator control register and in the reference divider, both of which are ordinary memory-mapped bits.

    That is why the verification plan looks different from a 710 job. Instead of sweeping an input and comparing codes, we sweep an input and compare the point at which the comparator output flips. The flip point is a single threshold, so it is either right or it is visibly wrong — there is no middle ground where a few counts hide.

    512 Words, Read Twice

    The array is small enough to read in one sweep and to compare exhaustively. We read it twice through the array probe and once through the programming interface where the part allows it. Word-for-word agreement across the three passes is the acceptance test; a block that agrees twice and differs once is re-probed.

    Because the medium is EPROM/OTP rather than flash, the protect element is a fuse outside the matrix, and the erase state is 3FFFh. A dump full of 3FFFh is an unprogrammed or cleared part, not a protected one — a distinction that arrives in the first minute of a job and saves an argument later.

    The Reference Divider

    The programmable reference divides the supply into a set of taps, and the firmware picks a tap and compares an input against it. When the image is reconstructed, the tap selection is often a constant that looks like any other literal — until you notice it is written to the reference control register at start-up.

    We locate it by watching the writes in the first few hundred instructions after reset, then confirm the tap count against the datasheet for that specific part. Getting it wrong by one tap shifts every threshold in the design by a few percent, which is inside the tolerance of most mechanical systems and outside the tolerance of a battery monitor.

    Testing A Rebuilt 711

    Every pin is exercised as an input and as an output; both comparators are swept against a bench divider; the watchdog is allowed to time out once to confirm the configuration word. The whole sequence is short enough to run on every rebuilt unit rather than on a sample.

    The Oldest Parts Fail Differently

    An OTP device that has sat in a warehouse since the late 1990s is not the same read as one that came off a board last year. Retention on these arrays is good but not infinite, and the parts that fail do so characteristically: the first few hundred words read cleanly and the tail of the array shows marginal bits, because the rows furthest from the sense amplifiers have the least margin.

    We read such parts cold and slow, and we report the address at which the first marginal bit appeared. A customer planning a rebuild wants to know whether the image came from a healthy die or from one that barely answered.

    The Output With No Register

    Each comparator drives a bit in a port register, and the polarity and interrupt-on-change behaviour are configured in code. There is no result register to map, which is why reconstructing the analogue path is essentially reconstructing two control bytes — and why a single wrong bit there changes a threshold decision without changing any measurement.

    Delivery

    Binary, HEX with configuration, a listing, the comparator threshold table measured on the rebuilt part, and the fuse photograph. Where the customer is replacing an obsolete 711 in a product that is still shipping, we also provide the threshold table as a CSV so a test fixture can be reprogrammed from it.

    Its sibling with the converter is the PIC16C710 page, the 1K part with the same front end is the PIC16C715 job, and the wider question of what a protect bit actually does on these dies is covered in the protection-bypass overview. Scheduling starts at the services desk.

    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

  • PIC32MX230F064B: Six DMA Channels, Two Kinds Of Work

    Six DMA channels sound like a spec-sheet number until a recovered image shows you what they were for. The PIC32MX230F064B divides them by design: four general-purpose channels for application streaming, and two more wired exclusively to the USB controller. Firmware that uses the division well — audio, sensor bursts, display feeds on a 64 KB part with a full-speed USB port — organizes its whole memory layout around those channels. The layout survives in the flash; the discipline is knowing how to read it.

    The Two Kinds Of Work

    General channels move application data: converter results into a ring buffer, parallel-master-port bytes to a display, timer-driven pulses to an output pattern. Their descriptors — source, destination, count, cell size — are written by firmware at startup and live in SRAM, which vanishes at power-off. But the code that writes them survives, and from it the whole transfer topology can be reconstructed: which peripheral fed which buffer, at what rate, under which interrupt. For a product whose value is the data path — a sampler, a logger, a bridge — that topology is the product’s operating manual.

    The USB-dedicated channels tell a complementary story. They exist so descriptor transfers and endpoint traffic never contend with application streaming, and their configuration in the image reveals the device’s protocol personality: endpoints claimed, transfer types, buffer arrangements. Paired with the descriptor tables themselves, they let a reader reconstruct what the device says about itself on the bus without plugging anything in. The 210F016C page treats the descriptor layer as its main subject; this is the machinery behind it.

    What “EEPROM Content” Means Here

    Purchase orders for this part often ask for EEPROM data, and the part has none — like the rest of the MX1/2 generation, it emulates persistent storage in program flash through a software layer that appends records into pages and compacts them when they fill. On a 64 KB array from 0x1D000000 to 0x1D00FFFF the emulated region is usually a small, identifiable district: record headers, sequence numbers, superseded copies of the same setting. A recovery report that maps the district and marks the current records delivers what the purchase order actually wanted. The 210F016B page explains the emulation mechanics in detail.

    A closing note on scope: the read itself never changes with density. Whatever the channels carried, the capture covers both partitions with the same two-pass verification, and the interpretation layers on top. Customers who need only the HEX get the same rigor as customers who need the schedule; the difference is what the report adds, not what the read skips.

    The Peripherals Behind The Channels

    Sixty-four kilobytes of flash on this part funds a specific peripheral story: the parallel master port for external displays or memory-mapped devices, the I2S audio port in all four framing modes, the RTCC calendar, and the CTMU for capacitive touch and precision timing. Each of them is a DMA customer. The display refreshes from a line buffer on one channel; the audio interface streams samples on another; the converter results land in a ring on a third. What the general channels do not serve, the USB-dedicated pair takes for endpoint traffic. The recovered image shows the division as clean register clusters per channel, and the clusters reconstruct into a schedule: what moves, how often, at what priority. A product owner who has never seen that schedule written down learns more about their own device from it than from any specification they hold. Two captures, two comparisons, one schedule — that is the arithmetic of a complete job on this part.

    Capture And Protection

    The mechanical read covers both partitions: 64 KB of program flash and the 3 KB boot bank from 0x1FC00000 to 0x1FC00BFF, whose last page holds the DEVCFG words — oscillator chain, watchdog, debug channel, and the code-protect bit at DEVCFG0 bit 28, active low. Armed, that bit blocks external reads of both partitions, and Microchip’s specification names the chip erase as the only exit — an exit that destroys the firmware. Write-protect fields guard pages during execution but never block a reader, and confusing the two is the classic misdiagnosis. Reading configuration first is what keeps the promise list honest; the copy protection page frames the assessment.

    Verification is two independent captures of each region compared word for word, plus a device ID read to pin the die — the 28-pin footprints of this density range are shared, and the ID is the only reliable density check. Page geometry is 256-word erases, 32-word program rows; erased flash reads all ones and the live-code boundary is mapped. The reading process page details the sequence.

    The Report That Earns Its Fee

    For a DMA-heavy product, the raw HEX is the least of the deliverable. The useful artifact is the reconstructed transfer topology: channel assignments, buffer maps, interrupt rates, the emulated-EEPROM district, the endpoint structure. That is what lets a product owner maintain, port, or defend the design. The chip extraction analysis service packages exactly that, under the terms on the NDA page. Six channels are easy to count; what they carried is the part that matters.

    The full family index, with page geometry and package for every part, sits on the PIC32MX extraction overview.

    Service scope and next steps

    Before we quote a PIC job we confirm the silicon revision and the protection configuration, because both decide whether the on-chip programming area can be read directly or needs a different approach. 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.

    Ready to extract this PIC firmware?

    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

  • PIC32MX120F032B: Same Footprint, Twice The Array

    Microchip built the low end of the MX1 series to be interchangeable. The PIC32MX120F032B occupies the same 28-pin SOIC, SSOP, SPDIP and QFN footprints as the 110F016B, draws from the same peripheral set, and differs in exactly one headline number: 32 KB of program flash instead of 16, with 8 KB of SRAM instead of 4. A buyer can drop one into the other’s socket and the board will power up. That convenience has a forensic cost, and it lands squarely on firmware recovery.

    The Marking Is Not The Whole Story

    A part number on a package is a claim about the die underneath, and refurbished, remarked or mislabeled stock makes that claim unreliable. On this family the definitive answer costs one register read: the device ID returned by the programming interface states the density and revision unambiguously. A board whose BOM says 110F016B but whose ID answers with the 32 KB encoding is telling you the product was value-engineered at some point, or the assembler grabbed from the wrong reel. Either way, the recovery proceeds against the silicon that is actually present, because array geometry follows the ID, not the marking.

    The same check closes the reverse error. An engineer migrating from the 110F016B to this part — the usual reason the two are confused — leaves archives that name the old density. When a lost source situation is reconstructed years later, the archive label and the die on the board can disagree, and only the ID settles it.

    What Doubles, And What Does Not

    The added flash spans 0x1D000000 through 0x1D007FFF. The boot partition is unchanged at 3 KB from 0x1FC00000 to 0x1FC00BFF, holding startup code and the four DEVCFG words at its top. Page and row geometry stay at 256-word erases and 32-word program rows, so programmers, scripts and fixtures built for the smaller sibling work here without edits. SRAM doubles to 8 KB, which mostly buys larger buffers; it is invisible in the image except through what the code does.

    Because the array is twice as large but the silicon otherwise identical, filled fraction varies more. A 16 KB production image is typically near its ceiling; a 32 KB image might be two-thirds used with a revision table and a spare sector. Reading the erased tail accurately matters for one practical reason: a customer restoring a build wants to know which words were live, and a firmware extraction report that maps used versus erased regions makes that possible.

    Packages And The Breadboard Generation

    Four packages carry this density — SOIC, SSOP, SPDIP and QFN in 28 pins — and the SPDIP variant matters more than its sales volume suggests: through-hole parts from the breadboard generation live in sockets, and socketed parts read without any desoldering at all. That convenience cuts both ways. Sockets invite swaps, and a board serviced over the years may hold a part the BOM never named, which is one more reason the device ID read precedes every other step. Fixtures for the surface-mount variants are routine; the QFN presents its pads underneath and needs the gentler handling the smaller VTLA packages get elsewhere in the family, but at 28 pins the adapter ecosystem is mature and the logistics rarely dominate a quote.

    Configuration Words Carry The Load

    Density swapping makes the configuration page more valuable, not less. A migration that changed array size may also have changed oscillator setup, debug channel selection or watchdog policy, and the DEVCFG words at the top of the boot bank record the current truth. Recovering them alongside the two flash partitions is standard; treating them as optional is how reconstructed images come back “matching the HEX but not booting.”

    The protection bit sits in DEVCFG0 and is active low — a programmed zero enables code protect, after which the flash controller blocks external reads of both partitions and only a chip erase, which destroys the image, clears it. Write-protect fields are different: they guard against modification during execution and do not stop a reader. Distinguishing the three before promising anything is the copy protection assessment in miniature.

    Verification Against The Footprint Problem

    Because this part shares sockets and footprints across the low-density range, verification leans harder on the ID and the configuration read-back. Two independent captures of both partitions are compared word for word, the ID is read twice, and the DEVCFG words are cross-checked against the ID so the report names the die it actually saw. The reading process page describes the capture mechanics, and contact starts the job with the board or the part alone.

    The Practical Summary

    The 120F032B rewards a simple discipline: trust the ID, read everything, verify twice. Its interchangeability with the 110F016B is a gift to production planners and a trap for everyone reconstructing history afterwards. The recovery itself is routine — the peripherals, geometry and protection behavior are the family standard — but the identification step deserves the attention usually spent on the exotic parts, because this is exactly the slot where the wrong density assumption survives the longest unnoticed.

    Part numbers across the branch are collected on the PIC32MX family page, each with its page size and pin count.

    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

  • dsPIC30F5013: Same 66 KB In 80 Pins, A Different Socket

    dsPIC30F5013: Same 66 KB In 80 Pins, A Different Socket

    Two boards arrive with the same firmware inside and different package outlines. One has a 64-pin dsPIC30F5011, the other an 80-pin dsPIC30F5013. The recovery files that come back are indistinguishable byte for byte, yet the two jobs are not the same job, and the reason sits entirely in the package rather than the silicon.

    One Die, Two Outlines

    Microchip built the 5011 and 5013 from a single design. Both carry 66 KB of program flash, which is 22K instruction words of 24 bits, 4,096 bytes of SRAM and 1,024 bytes of data EEPROM. Both run the same 12-bit converter at 200 ksps across sixteen channels, both include the data converter interface, two CAN controllers, two UARTs, two SPI ports and one I2C port.

    Item dsPIC30F5011 dsPIC30F5013
    Pins 64 TQFP 80 TQFP
    Program flash 66 KB / 22K words 66 KB / 22K words
    SRAM 4,096 bytes 4,096 bytes
    Data EEPROM 1,024 bytes 1,024 bytes
    ADC 12-bit, 200 ksps, 16 ch 12-bit, 200 ksps, 16 ch
    CAN modules 2 2

    Nothing in that table changes the size of the array or the address at which the array ends, and the array ends at 0x00AFFE on both parts. A customer who assumes the 80-pin device must hold more code will price the wrong read and then argue about a short file.

    What The Extra Sixteen Pins Buy

    The additional pins are I/O and power, not memory. The 5013 exposes sixty-eight I/O lines against fifty-two on the 5011, adds an extra pair of supply pins, and brings out port pins that the smaller package has to omit: the second UART’s alternate location, additional analog inputs and the full motor-control PWM set on port E.

    On a drive board this matters because more of the control loop terminates on the device instead of through an external latch or a shift register. It does not matter to the extraction, because those pins are outputs and inputs during normal operation, and none of them carry program data.

    Why The Adapter Changes The Risk

    Reading either part in circuit uses the same four programming signals and the same clock, so the electrical method is identical. The difference appears when a part has to come off the board.

    A 64-pin TQFP at 0.5 mm pitch and an 80-pin TQFP at 0.5 mm pitch need different sockets, different hot-air nozzles and different alignment fixtures. The 80-pin body is larger, so it holds more heat before the solder releases, and the pads sit closer to the corner where lift-off stress concentrates. On a board with a ground plane under the device, the 5013 is the harder removal even though it is the easier part to probe.

    That asymmetry is worth stating plainly in a quote. The same firmware, recovered from two packages, has two different schedules. Semi-invasive extraction describes the optical route used when in-circuit access is unavailable and the package has to be opened from the top.

    Identical Files, Different Board Behaviour

    If the two images match, why keep them separate? Because the pin mapping does not match. Firmware written for the 5013 drives port E pins that the 5011 does not bond out, and firmware written for the 5011 may leave the additional analog channels unconfigured. Moving an image between packages works only when the code was written against the peripheral set rather than against pin numbers, which is a question the source usually answers in the first hundred instructions of initialisation.

    When a recovered 5013 image is destined for a spare 5011 board, the check is straightforward: disassemble the initialisation block, list every port register written, and compare that list against the pins the smaller package actually provides. Anything that writes to an unbonded port is dead code on the target and harmless. Anything that reads an analog channel absent from the target will return a fixed value, and that is the failure that survives into production.

    Lock State And What Survives

    Code protection on this generation is set in the configuration registers at 0xF80000 and covers the program array. It does not cover everything. The device ID at 0xFF0000 remains readable on a locked part and identifies the die and revision. The EEPROM at 0x7FFC00 to 0x7FFFFE is a separate array with its own access path and is sometimes readable when the program array returns zeros.

    That last point is worth testing before any package work is approved. On a 5013 running a production line, the calibration constants and the machine serial typically live in that kilobyte, and recovering them alone can restart a machine that a program read would not have fixed. Copy protection across the PIC and dsPIC families sets out which regions respond once protection is engaged.

    Booking The Right Job

    Tell us the full marking rather than the family name. The difference between a 5011 and a 5013 is sixteen pins and a socket, and the difference between either and a 5015 is an entirely different peripheral set with a different converter.

    Include a photo of the board, note any conformal coat or potting, and say whether the device must be preserved. Our services page lists the levels available, and every engagement starts with a non-disclosure agreement signed before files change hands. Contact us with the marking and we will confirm whether the part is the 66 KB die before quoting. The dsPIC30F5011 page covers the same array in the smaller package.

    Service scope and next steps

    Before we quote a PIC job we confirm the silicon revision and the protection configuration, because both decide whether the on-chip programming area can be read directly or needs a different approach. 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.

    Ready to extract this PIC firmware?

    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

  • PIC10F (6-pin) Microcontroller Family – Flash Readout, Code Extraction & Clone

    PIC10F (6-pin) Microcontroller Family – Flash Readout, Code Extraction & Clone

    The PIC10F (6-pin) is Microchip’s 8-bit PIC10 baseline core. PIC10F is Microchip’s 6-pin baseline MCU – PIC10F200/202/204/222 – the smallest, cheapest programmable part in the catalogue.

    PIC10F (6-pin) Sub-Families & Key Variants

    Sub-family / variant Memory & clock Highlights
    PIC10F200 / 202 0.375 KB Flash, 16 B SRAM 6-pin, 4 MHz
    PIC10F204 / 222 0.5-0.75 KB Flash, 8-bit ADC Tiny sensing node

    Readout Protection on PIC10F (6-pin)

    Baseline code-protection fuses lock the tiny firmware against external read; there is no debug interface to attack. For any locked PIC10F (6-pin) we start from the silicon, not the programming header, because the protection is designed to refuse a clean external read.

    Flash Extraction & Clone Workflow

    When a customer ships us a protected PIC10F (6-pin), the work usually follows the same path: identify the exact package and die, then carry out 6-pin body recovery and 200/222 image rebuild. We read the internal memory non-destructively where the protection allows, reconstruct the binary or hex image, verify it against a known-good checksum, and finally program a blank device or deliver the recovered firmware. Every step is documented so the result can be reproduced or re-used for production cloning.

    Applications We See

    tiny gadgets, novelty electronics, and single-function control. Our engineers routinely read out, recover and clone the full PIC10F (6-pin) range – from the smallest derivatives to the high-pin-count members listed above.

    If you need a PIC10F (6-pin) read out, cloned or recovered, use our MCU code extraction service · contact our engineers. We handle locked, encrypted and OTP parts across all major vendors.

    Service scope and next steps

    Read-protected microcontroller firmware is routine work for our lab. Send the part number and we will confirm the device revision, the protection configuration and the method before we quote. 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 this protected 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