The Smallest Die In The Drawer
The PIC10F320 ships in a six-pin SOT-23: 256 words of flash (0x0000-0x00FF), 64 bytes of SRAM, four I/O lines, three channels of eight-bit ADC, one Configurable Logic Cell, two ten-bit PWM modules, the NCO and the CWG. The core is classic mid-range – 35 instructions, an 8-level stack – and the oscillator is an internal 16 MHz block. There is no EEPROM; the persistent region is a 128-byte High-Endurance Flash window at the top of the array. Despite the URL’s wording, nothing called EEPROM exists on the part.
Lock And Sweep
Configuration lives in the mid-range space: CONFIG at 0x2007, device ID at 0x2006. Rules:
– 0x0000-0x00FF: array, 0x000 under CP, 0x3FFF when erased (fourteen-bit words). – 0x0080-0x00FF: the HEF window, swept with the array. – Above 0x00FF: unmapped, 0x000.
Note the erased-state value: 0x3FFF, not 0xFFFF – a detail that trips up tooling borrowed from PIC18 work. The whole array is 256 words; the sweep is effectively instantaneous.
What Fits In 256 Words
A 10F320 image is a page or two of machine code: a CWG configuration for a complementary output pair, an NCO increment word encoding the output frequency, a CLC function map, and a short ADC scan against the internal references. The 64-byte SRAM holds a state byte and an accumulator. Recovered listings are short enough to read completely in minutes, which makes verification total – every word checked against the 35-instruction set.
The Session
Identify via the ID word, read the configuration word, sweep 0x0000-0x00FF over the two-wire ICSP interface that fits the SOT-23 pinout, verify, deliver. Nothing is erased; the part returns to service. The 3.3-5.5 V supply of the F variant (the LF caps at 3.6 V) matters for replacement-part selection, not for the recovery itself.
Deliverables
HEX at word addresses, annotated disassembly with the waveform and logic blocks labeled, configuration report, checksum tied to the die. Clone policy documented. For the doubled 512-word sibling, see the PIC10F322 page.
Two Hundred Fifty-Six Words
The PIC10F320 is the smallest member of the enhanced baseline line: 256 words of flash, 64 bytes of SRAM, four I/O pins, three eight-bit ADC channels, two PWM outputs and a comparator, in a six-pin package. The core is twelve bits wide with thirty-three instructions and a two-level stack, and the erased state is 0x3FFF.
Why The Smallest Part Is Not The Easiest
With 256 words there is no room for structure: the firmware is a single block of code with no subroutines, because a two-level stack cannot support calls. A disassembly therefore shows one continuous listing with branches rather than a call graph, and the reviewer has to reconstruct the logic from the branch targets. The compensation is that the whole image fits on two screens, so a complete annotation is practical.
– Flash: 0x0000-0x00FF (256 words), 0x3FFF erased, 0x0000 protected. – Configuration: 0x2000 window, calibration word at the top of the user array. – ADC: eight-bit, three channels.
Calibration Is The Whole Risk
On this class of part the internal oscillator calibration value is stored in the last user location and is read at start-up. A replacement programmed without it runs at the wrong frequency, which on a timing product is a functional failure rather than a subtle drift. The report records the calibration word separately so it can be transferred explicitly.
Handover Package
HEX in the twelve-bit word format, an annotated listing, a configuration and calibration report, checksum tied to the die.
Delivery
The calibration word is quoted in hex and as a frequency trim, so a replacement can be checked with a scope rather than taken on trust.
To extract a locked 10F320, use the services desk or the contact form – six-pin extractions are routine same-week work.
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.

Leave a Reply