Copy a baseline flash PIC’s content to a new microcontroller and you have performed what the whole industry colloquially calls a clone — but the mechanics on a part like the 12F509 are worth describing precisely, because “after breaking the fuse bit protection” does a lot of unexamined work in that sentence. The 12F-series baseline parts are flash devices with a code-protect configuration fuse; the protection is electrical, the defeat is usually not physical, and the copy that follows is governed by details that decide whether the clone boots or sulks.
Setting the code-protect configuration on a 12F509 makes the programming protocol return zeros on readback — the family-standard CP behaviour, with the bulk-erase caveat that erasing the protection erases everything, calibration word included, as the OTP-generation case history in ion-beam fuse cutting on a baseline PIC records. On flash parts the focus-ion-beam route is almost never the economical answer; the profitable routes are the electrical and behavioural ones — bootloader and interface quirks, the interface and protocol readout casebook, and the disturbance family of voltage and clock shock attacks aimed at the protection evaluation. The route-ranking of three-way extraction classification prices these before any decap is authorised, because on this generation the decap usually turns out to be unnecessary.
What a copy cannot reproduce: internal calibration drift between individual dies, any serial numbers the firmware reads from absent hardware, and the wear state of the original EEPROM-class behaviour on parts that emulate it in flash. None of these are obstacles to a working clone — they are obstacles to an identical one, and the difference is exactly what the side-by-side validation catches. Baseline PIC parts are the friendliest cloning targets in the trade: small, textbook-layout, well-documented. Their protection was never more than a delay, and the years have confirmed the diagnosis — what remains valuable on these parts is the firmware’s correctness, not its secrecy, and both owner and cloner should price accordingly.
Two 12F509-specific details belong in every copy plan. The first is the calibration word: the factory-programmed oscillator correction at the top of memory is read by the firmware at reset, and a copy that reprograms it from the source part propagates the source die’s individual correction onto a target die whose silicon wants a different one. The result is a clock a few percent off — usually harmless, occasionally everything, and always confusing because the file is byte-for-byte correct. The honest options are to copy the calibration as-is and validate the clock against the reference board, or to program the target with its own factory calibration if the target part still has it — an option that exists only when the blank part has never been bulk-erased, which makes it one more reason to buy blanks carefully. The second detail is the reset pin: on this family the master-clear pin doubles as an input the firmware may have been designed around, and configuration-bit choices for it interact with the external circuit in ways the image alone does not reveal. Both details share a theme: the copy is correct when the system behaves, not when the file compares clean — which is why the side-by-side validation stage is not a formality but the actual test of the work.