Category: Read Locked MCU Data

  • LPC2367FBD100: 512K With USB And CAN Removed

    The gaps in a selection table are often more informative than the entries. The LPC2367FBD100 is a 512 KB flash, 58 KB SRAM, 72 MHz ARM7TDMI-S in a 100-pin LQFP, and it carries SD/MMC and an RMII Ethernet MAC but no USB device controller and no CAN channels at all. It is the cost-reduced member of the LPC236x line. A readout secured LPC2367FBD100 MCU job has to work with fewer live interfaces than its better-known sibling.

    What Was Removed

    Feature LPC2367FBD100 LPC2368FBD100
    Flash 512 KB 512 KB
    SRAM 58 KB 58 KB
    Ethernet RMII RMII
    USB device no yes
    CAN none 2 channels
    SD/MMC yes yes
    ADC 6 channels 6 channels

    The peripheral mix is a deliberate choice, not a defect. A product that never needed USB or a CAN bus could save on the die and on the board. For recovery work the consequence is a smaller capture surface: there is no USB endpoint RAM to observe, no CAN traffic on the pins, and one fewer DMA path generating bus activity. What remains is the Ethernet MAC with its own DMA on a separate AHB, the SD/MMC controller, four UARTs, three I2C buses, two SSP controllers, SPI and I2S.

    So Where Is The Code?

    In the on-chip 512 KB flash array on the ARM local bus. There is no external memory controller on this device, so nothing is off-die. That is a useful constraint: no parallel bus to monitor, no second chip to misidentify as the program store. The SD/MMC interface may hold data or even a secondary image on a card, but the boot code is in the internal array.

    Five hundred and twelve kilobytes on this family yields 504 KB for user code and data, because an 8 KB boot block at 0x7E000 to 0x7FFFF holds ISP, IAP and RealMonitor. Twenty-eight sectors cover the array: 4 KB at the bottom, 32 KB through the middle, 4 KB near the top. A flat 512 KB read crosses into the boot block, which no ISP or IAP command is permitted to write, erase or branch into.

    Protection, And The Order Of Checks

    Rather than memorise three level names, we tabulate what the boot ROM leaves available after it reads 0x1FC.

    Value Debug Read / compare Write to RAM Erase P2.10
    other on yes yes per sector open
    0x12345678 off no yes not sector 0 open
    0x87654321 off no no whole chip open
    0x43218765 off no no none closed

    Two caveats sit behind that table. The last row holds only while the vector checksum passes, so a disturbed first sector drops the part into ISP regardless of the protection word; reading the first 32 bytes settles the question. An early boot ROM may implement fewer tiers than a later /00 or /01 device, which is why the first serial exchange is a version query rather than a read. With no USB endpoint RAM or CAN filter on this variant, there is also less volatile state to mistake for the array.

    IAP Still Works

    In-application programming is unaffected by CRP: it is a ROM routine at 0x7FFFFFF0 called by code already running on the chip. Writes need a 256-byte-aligned destination and move 256, 512, 1024 or 4096 bytes from local-bus SRAM. The 58 KB total is split into 32 KB on the local bus, 16 KB for Ethernet, 8 KB for USB/GPDMA and 2 KB on the RTC battery domain; only the first can serve as an IAP source. That 32 KB is large enough to stage a whole 32 KB sector, which shows up as a characteristic loop in a field-update routine.

    Delivery

    The handover lists the internal array up to the 504 KB ceiling (binary and HEX), a blank-sector map, and the protection word and ROM revision measured on the bench. Two independent reads are compared word by word; ECC bits come with the capture, because letting a marginal cell resolve itself into a plausible opcode hides the very defect a second read is meant to expose. Card content, if any, is delivered separately.

    Related Work

    The contact page handles intake. The memory-type comparison explains why this array is neither OTP nor mask ROM, and this STM32F407 case is a useful contrast. For the high-temperature 128 KB member see the LPC2364HBD100; for the 144-pin device that adds a MiniBus and 104 GPIO, see the LPC2378FBD144.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2124FBD64: Where 256K Ends And Boot ROM Begins

    Two hundred and fifty-six kilobytes sounds like a simple read length until you count the sectors. The LPC2124FBD64 is the 256 KB, no-CAN member of the 64-pin LPC2100 line: 16 KB of SRAM, a 60 MHz ARM7TDMI-S core, four-channel 10-bit ADC, two UARTs and two SPI ports. It is pin-compatible with the 128 KB LPC2114FBD64, which is exactly why boards get built with the wrong one. A secured LPC2124FBD64 code readout has to establish which array is actually present before deciding where the image ends.

    The Sector Map Is The Deliverable Boundary

    Region Sectors Size each Address span
    Low boot vectors 0 to 7 4 KB 0x00000000 to 0x00007FFF
    Main array 8 to 14 32 KB 0x00008000 to 0x0003FFFF
    High small sectors 15 to 16 4 KB 0x00040000 to 0x00047FFF

    Seventeen sectors cover the array. Above them sits the 8 KB boot block at 0x7FFFE000, which holds the ISP and IAP routines and the RealMonitor code. ISP and IAP commands are not permitted to write, erase or execute a go operation on that block. A tool that reads a flat 256 KB from address zero and stops has captured the right length; a tool that assumes the boot block is part of the user image has not.

    This matters because the CRP word sits at 0x1FC inside sector 0, while the boot ROM that interprets it sits in the boot block. The setting and the interpreter are in physically distinct regions, and only one of them is user-programmable.

    Three Protection Levels, One Address

    Writing 0x12345678 to 0x1FC selects CRP1, which disables JTAG and the ISP read and compare commands and refuses writes to sector 0 while still permitting sector erase. 0x87654321 selects CRP2, which removes most ISP functionality and leaves only a full-chip erase. 0x43218765 selects CRP3, which disables ISP entry through P0.14 entirely when valid user code is present. Any other value leaves the device open.

    The phrase “when valid user code is present” is load-bearing. The boot ROM checks the reserved vector at 0x14 first: it must contain the two’s complement of the sum of the other seven vectors so that all eight add to zero. If that test fails, the part enters ISP instead of running the application. A partially corrupted sector 0 can therefore open a path that CRP3 was supposed to close, which is a reason to read before trying anything destructive.

    Why IAP Is A Different Conversation

    Engineers searching for readout secured LPC2124FBD64 code are generally holding a unit that still powers up.

    In-application programming is a set of ROM routines called by code already executing on the chip, with an entry point at 0x7FFFFFF0. CRP does not disable IAP. That is deliberate: a field-update feature must keep working on a protected product. It also means that an application with its own upgrade path can rewrite the array even when every external interface is shut. For recovery work, the presence of such a routine is a fact about the firmware, not a tool, and it is worth identifying during disassembly.

    IAP writes are constrained: the destination must be 256-byte aligned, a single operation moves 256, 512, 1024 or 4096 bytes, and the source data has to be in SRAM. Understanding those constraints helps when reconstructing a firmware-upgrade routine from a recovered image, because the buffer sizes and alignment masks are visible in the disassembly.

    What We Record Before Touching The Part

    The marking and date code come first, then the bootloader revision read over the serial interface. Early silicon offered only the single 0x87654321 level; later /00 and /01 devices support the three-level scheme. CRP changes require a full power cycle to take effect, so the observed state at the bench is the one that counts. We also note whether the board brings P0.14 out to a test point, since that pin governs ISP entry on this family.

    For the dual-CAN sibling at half the flash density, see the LPC2119FBD64. Our service scope covers intake, the NVRAM article explains retention and why flash is not the same problem, and this 32-bit ARM case shows a comparable array-level recovery. A 32 KB member of the LPC213x line is also worth comparing if the board turns out to carry a different marking than expected.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2214FBD144: 76 Or 112 GPIO, Depending On Boot

    Seventy-six or one hundred and twelve. That is the GPIO count of the LPC2214FBD144 depending on whether the external memory bus is enabled, and it is a neat summary of why this part is awkward to work with on a production board. The device carries 256 KB of on-chip flash, 16 KB of SRAM, a 60 MHz ARM7TDMI-S core, an 8-channel 10-bit ADC and an EMC, all in a 144-pin LQFP. A readout of encrypted LPC2214FBD144 firmware has to account for the pins that the bus has already taken.

    What The Bus Consumes

    A readout encrypted LPC2214FBD144 firmware enquiry should begin with the GPIO budget, not with the debugger.

    The EMC exposes 24 address lines, 32 data lines, four byte-lane selects, output enable, write enable and four chip selects. Those signals are multiplexed with ports P2 and P3, so a design using the full 32-bit bus gives up a large share of the package. The four banks sit at 0x80000000 through 0x83000000 and are configured through BCFG registers beginning at 0xFFE00000; bank 0 can be the boot source under the control of P2.26 and P2.27.

    JTAG needs TCK, TMS, TDI, TDO and TRST. The Embedded Trace Macrocell needs a wider set of trace pins if instruction tracing is used. Neither group is guaranteed a header on a cost-reduced board. When the debug connector is absent, a non-invasive route through the debug port is unavailable for a mundane reason, and that should be established before anyone starts describing the part as locked.

    The Internal Array

    Two hundred and fifty-six kilobytes of on-chip flash uses 4 KB sectors at the bottom and 32 KB sectors above, with small sectors near the top. Sector 0 holds the exception vectors, the checksum word at 0x14 and the CRP word at 0x1FC. The boot ROM requires the eight vectors to sum to zero; otherwise it enters ISP instead of running user code. ISP and IAP are forbidden from writing, erasing or executing a go into the 8 KB boot block.

    The protection word is a single 32-bit value. 0x12345678 selects CRP1: JTAG off, ISP read and compare off, sector 0 writes blocked, sector erase still available. 0x87654321 selects CRP2, where only a full-chip erase remains. 0x43218765 selects CRP3, which disables ISP entry via P0.14 when valid user code is present. Early bootloaders implemented only the middle level; a version query is the first serial command.

    IAP, And Why It Survives Protection

    In-application programming is a set of ROM routines entered at 0x7FFFFFF0 and called by code already executing on the chip. CRP does not disable it, because a shipped product must still be able to update its own firmware. Writes require a 256-byte-aligned destination and move 256, 512, 1024 or 4096 bytes at a time from SRAM. With only 16 KB of RAM, an updater on this part stages small blocks.

    Finding that routine in a recovered image is useful for two reasons. It identifies which sectors the application treats as writable data, and it warns that a customer may already have an authorised path to reload the array. It also means the vector table may have been remapped to SRAM during updates, since flash cannot be read while it is being erased.

    Two Arrays, Two Deliveries

    A board can boot from internal flash and use external banks for fonts, waveforms or logging, or it can boot from external memory with the internal array holding a loader. We deliver the two separately, with the BCFG configuration and BOOT strap state recorded. A dump that stops at 256 KB is only complete if the disassembly confirms that nothing references the 0x80000000 range.

    Verification

    The image is read twice, the checksum at 0x14 is recomputed, blank sectors are marked rather than padded, and the CRP word and bootloader revision are logged. ARM and Thumb code can alternate at subroutine boundaries, so a flat 32-bit decode is not used for analysis.

    Related Work

    Our service scope describes intake and accepted device states. The protection walkthrough sets out the layers in order, and this AT32F435 case shows a different approach to protecting a large array. For the 128 KB sibling see the LPC2212FBD144; for the four-CAN, high-temperature member of the same 144-pin family see the LPC2294HBD144.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2212FBD144: 128K On-Chip, Four Banks Off

    Two different non-volatile arrays can sit behind one part marking. The LPC2212FBD144 has 128 KB of on-chip flash and 16 KB of SRAM, and it also carries the external memory controller that lets a board add up to four 16 MB banks of parallel memory. Reading a protected LPC2212FBD144 file therefore means establishing which array the customer actually cares about, because the two are governed by completely different rules.

    The Address Map

    Region Start Size Governed by
    On-chip flash 0x00000000 128 KB boot ROM and CRP word at 0x1FC
    On-chip SRAM 0x40000000 16 KB volatile, no protection
    External bank 0 0x80000000 16 MB external device and BCFG0
    External bank 1 0x81000000 16 MB external device and BCFG1
    External bank 2 0x82000000 16 MB external device and BCFG2
    External bank 3 0x83000000 16 MB external device and BCFG3

    Boot ROM code, ISP and IAP routines, and the RealMonitor sit in the 8 KB boot block at the top of the memory map. ISP and IAP commands cannot write, erase or branch into it. Bank 0 is special because BOOT0 and BOOT1, sampled on P2.26 and P2.27 while reset is low, can select it as the boot source with an 8-, 16- or 32-bit width.

    Internal Flash Follows The Usual Rules

    The on-chip 128 KB is organised as 4 KB sectors at the bottom and 32 KB sectors above. Sector 0 holds the eight ARM exception vectors, the reserved checksum word at 0x14 and the Code Read Protection word at 0x1FC. The checksum must make the eight vectors sum to zero or the boot ROM enters ISP rather than running the application.

    CRP1 (0x12345678) disables JTAG and ISP read and compare and blocks writes to sector 0 while allowing sector erases. CRP2 (0x87654321) leaves only a full-chip erase. CRP3 (0x43218765) disables ISP entry through P0.14 when valid user code is present. Early bootloader revisions had only the middle level, so a version query over the serial interface comes before anything else.

    External Memory Follows None Of Those Rules

    A parallel flash on CS0 has no idea what CRP means. It may have its own software-protected sectors, a write-protect pin or no protection at all. A mask ROM cannot be reprogrammed. An SRAM bank loses everything at power-down and must be loaded from somewhere else. Treating the two arrays as one “firmware” is the most common mistake on these boards, and it usually shows up as a dump that stops at 128 KB while the application clearly references addresses above 0x80000000.

    Disassembly helps here. A reset vector that immediately configures BCFG0 and then jumps into the 0x80000000 range is a design that boots externally even though internal flash is present. A build that keeps everything below 0x00020000 may use the external banks only for data logging.

    Pin Budget Is A Practical Constraint

    Any read protected LPC2212FBD144 file request has to name which of the two arrays actually matters.

    The 144-pin package offers up to 112 GPIO in single-chip mode, but enabling the external bus consumes 36 of them for address, data and control lines, leaving 76. JTAG, the ETM trace port and the ISP entry pin compete with that budget. On a production board, the signals needed for a non-invasive read may simply not be brought out to a header, which is a design decision rather than a protection feature.

    Reading The External Device

    Where the parallel memory is socketed, removing it and reading it in a dedicated programmer is the least invasive route and avoids any contention with the MCU. A soldered part needs reset held low while the bus is accessed. Byte lane order follows the strap-selected width, so a 16-bit boot device stores the vector table differently from an 8-bit one; a dump taken with the wrong assumption looks complete and disassembles into nonsense. We capture the strap state from the board and state it in the delivery note.

    What We Hand Back

    Separate files for the internal array and each populated external device, the CRP word and bootloader revision if internal flash was read, the BCFG configuration actually observed, and the BOOT strap state. The vector checksum at 0x14 is recomputed for the internal image so it can be verified on a reference board.

    Related Work

    The contact route handles intake of board photographs and schematics. The NVRAM article covers retention on volatile and battery-backed stores, and this STM32F407 case is a contrast with a single-array device. Within this family, the ROMless LPC2210FBD144 has no internal flash at all, while the LPC2214FBD144 doubles the internal capacity to 256 KB.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2136FBD64: 32K Of RAM Against 256K Of Flash

    Thirty-two kilobytes of SRAM against 256 kilobytes of flash is a ratio worth checking before any recovery plan is written. The LPC2136FBD64 sits in the middle of the LPC213x line: a 60 MHz ARM7TDMI-S core in LQFP64, two 8-channel 10-bit ADCs, a 10-bit DAC, 256 KB of program flash and 32 KB of static RAM. Opening a protective LPC2136FBD64 MCU is mostly a question of what that RAM can and cannot hold.

    1. The Ratio Constrains In-Application Programming

    IAP routines live in the boot ROM at 0x7FFFFFF0 and are called by the running application. They require the source data to be in SRAM, the destination to be 256-byte aligned, and a single write to move 256, 512, 1024 or 4096 bytes. With 32 KB of RAM, a field updater can stage a whole sector or even several sectors, but it cannot hold a full 256 KB image alongside a running application and its stack.

    That shows up in recovered code as a loop that fills a buffer, issues a copy command, then refills. Recognising it distinguishes a firmware-update path from a data-logging routine, and it also tells you whether calibration values were written into a spare sector by the application itself.

    2. Interrupts Must Be Quiet During An Erase

    While the flash array is being erased or programmed it cannot be read, and the interrupt vectors normally live in flash at address zero. An interrupt arriving during that window reads a vector from a bus that is not delivering data. The usual firmware solutions are either to disable interrupts around the IAP call or to relocate the vector table into SRAM through the memory mapping control and place the handlers in RAM too.

    When we disassemble an image from this part, finding a small RAM-resident handler block and a MEMMAP write is a strong indicator that the product supported field updates. It is also a reminder that a recovered binary alone may not be enough to reproduce that behaviour: the RAM copy is built at runtime.

    3. Sector Geometry

    Two hundred and fifty-six kilobytes is eight 4 KB sectors at the bottom, then seven 32 KB sectors, then the small sectors near the top. A single-sector erase takes roughly 400 ms on this family, the same as a full-chip erase, so there is no time advantage in trying to be surgical. Sector 0 holds the exception vectors, the checksum at 0x14 and the CRP word at 0x1FC, which makes it the worst possible place to experiment.

    4. The Protection Word Is Not A Cipher

    In search terms this is an open protective LPC2136FBD64 mcu job, and the RAM-to-flash ratio is the detail that matters.

    A 32-bit value at 0x1FC selects CRP1 (0x12345678), CRP2 (0x87654321) or CRP3 (0x43218765). CRP1 disables JTAG and ISP read/compare and blocks writes to sector 0. CRP2 leaves only full-chip erase. CRP3 disables ISP entry through P0.14 when valid user code exists. Any other value means no protection. Early bootloaders had only the middle level; later /00 and /01 silicon added all three, so a version query over the serial port is the first command we send.

    The phrase “encrypted” in a service request usually describes the customer’s situation, not the silicon. The array holds plain ARM and Thumb instruction words. What obstructs a read is boot ROM policy, and that is a very different problem from recovering a key.

    5. Where Calibration Lands

    Two 8-channel ADCs and a DAC usually mean the application keeps trim values somewhere non-volatile. There is no separate data EEPROM on this part, so those constants occupy a flash sector that the application treats as storage. A sector map will show it as programmed but non-executable, and the IAP calls that rewrite it will be visible in the disassembly. Separating that block from code is part of delivering something the customer can actually use, because a bare binary gives no indication of which words are constants and which are instructions.

    6. Verification

    The eight exception vectors must sum to zero, so 0x14 is recomputed in any rebuilt image. We mark blank sectors rather than padding them with invented content, keep the ECC check bytes alongside physically read data, and repeat the capture to catch marginal cells. A single corrected bit is invisible in the raw stream but changes an instruction.

    Scope

    The contact route handles intake of board photographs and markings. The memory-type comparison explains why this array is reprogrammable flash rather than OTP or mask ROM, and this 32-bit ARM case shows a similar workflow. Within the family, the LPC2134FBD64 halves the flash and the LPC2194HBD64 replaces the analog density with four CAN channels.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2368FBD100: Why 512K Of Flash Is 504K Of Code

    An ISP command that names sector 27 is valid on this part and fails on the 512 KB member of the older LPC213x line. That is the sort of small difference that decides whether a field-update script works. The LPC2368FBD100 is the full-featured 100-pin member of the 72 MHz LPC23xx family: 512 KB of flash, 58 KB of SRAM, an RMII Ethernet MAC, a USB 2.0 full-speed device, two CAN channels, SD/MMC, six ADC channels and 70 GPIO. An open encrypted LPC2368FBD100 firmware job starts with counting the sectors correctly.

    Twenty-Eight Sectors, 504 KB Usable

    Sectors Count Size each Address span
    0 to 7 8 4 KB 0x00000000 to 0x00007FFF
    8 to 21 14 32 KB 0x00008000 to 0x00077FFF
    22 to 27 6 4 KB 0x00078000 to 0x0007DFFF
    Boot block n/a 8 KB 0x0007E000 to 0x0007FFFF

    The boot block holds ISP, IAP and RealMonitor routines and is not a user sector. ISP and IAP are forbidden from writing, erasing or executing a go into it. Because it occupies the last 8 KB, a 512 KB device offers 504 KB for user code and data. That figure is a useful family fingerprint: the older LPC2138FBD64 reserves 12 KB at 0x7D000 and offers 500 KB instead. An image rebuilt with the wrong ceiling places its last sectors inside the boot ROM.

    Sector 0 Carries Three Things

    An ISP command names a start and an end sector. Send a number past the real last sector and the operation fails; on a protected unit the only erase still offered may be the whole-chip one, so there is no cheap way to discover the boundary by trial. Sector 0 holds the vectors, the checksum and the word at 0x1FC that sets the access policy. The three published values step from a closed debug port with sector erase intact, through whole-chip erase only, to an ignored P2.10 entry pin.

    Since CRP3’s strongest rule is conditional on valid user code, a partially disturbed sector 0 changes the observed state: the checksum fails first and the part enters ISP. Reading those first 32 bytes is more informative than any assumption about the protection level. Boot ROM revisions differ in how many levels they implement, so a version query is the first serial exchange.

    Four SRAM Pools, One IAP Constraint

    The 58 KB of SRAM is 32 KB on the ARM local bus, 16 KB for Ethernet descriptors and buffers, 8 KB for USB and general-purpose DMA, and 2 KB on the RTC battery domain. In-application programming requires its source data in the local-bus block; the USB and Ethernet pools cannot feed an IAP write. With 32 KB available, an updater can stage a whole 32 KB sector, and that loop is usually obvious once the image is disassembled.

    The dual AHB arrangement lets Ethernet DMA, USB DMA and instruction fetches from flash proceed concurrently. A live capture on external pins therefore shows peripheral traffic, not a clean instruction stream. The array sits on the ARM local bus and is best read as an array.

    Peripherals Are Not Storage

    The Ethernet MAC needs an external PHY, the two CAN controllers keep their acceptance filter in RAM, and the SD/MMC interface may address a removable card. None of those is the on-chip program store. A card can hold data or a secondary image, and we ask whether one was present in the unit, but the boot code is in the internal 512 KB. The 2 KB RTC-domain SRAM is the only on-chip place where customer state may survive a main supply loss.

    What We Deliver

    Deliverables are split by origin. The internal image stops at the 504 KB boundary and ships as both raw binary and HEX, with a sector-by-sector blank map. Any SD card content is a separate file, never concatenated. We log the protection word, the ROM revision and the recomputed checksum, and we keep the ECC bits attached to each captured word: quietly resolving a weak cell into a valid opcode is exactly the kind of error a customer cannot detect later. Reconstructed regions are flagged in the manifest.

    Related Work

    Our service scope covers intake and accepted device states. The NVRAM article explains retention on the battery-backed pool, and this AT32F435 case is a useful contrast with a banked megabyte-class array. Compare the cost-reduced LPC2367FBD100, which drops USB and CAN while keeping the same 512 KB, and the LPC2468FBD208, which adds an SDRAM-capable memory controller and 98 KB of SRAM.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2364HBD100: Same Die, A Different Temperature Grade

    Two chips on the same board can carry markings that differ by one letter and behave identically at the debug port. The LPC2364FBD100 and the LPC2364HBD100 are the same 128 KB flash, 34 KB SRAM, 72 MHz ARM7TDMI-S die in the same 100-pin LQFP with the same SOT407-1 outline. The F version is specified from minus forty to plus eighty-five degrees Celsius; the H version from minus forty to plus one hundred and twenty-five. A hack protected LPC2364HBD100 software job starts with accepting that the silicon is not different, but the service history almost certainly is.

    What The Marking Tells You

    NXP’s ordering table lists the two parts side by side with identical flash, SRAM, Ethernet, USB, CAN, ADC, DAC and peripheral counts. Only the temperature column changes. That is unusual and easy to misread: engineers sometimes assume the H part is a different revision with a different boot ROM, or that it carries extra protection. It does not. The CRP word, the sector map and the IAP entry point are the same.

    What does change is the environment. A 125 C-qualified part is chosen for hot enclosures, under-hood modules or equipment with poor airflow. Years of thermal cycling affect the package, the solder joints and the charge held in flash cells. Conformal coating is more common on these boards, and removing it is a separate step before any package-level work. We record the full marking and date code at intake rather than treating the suffix as a cosmetic variation.

    The Array, Briefly

    One hundred and twenty-eight kilobytes is eight 4 KB sectors followed by three 32 KB sectors. The 8 KB boot block at 0x7E000 holds ISP, IAP and RealMonitor and cannot be written, erased or branched into by those commands. Sector 0 contains the eight exception vectors, the checksum at 0x14 and the CRP word at 0x1FC. The boot ROM requires the vectors to sum to zero before it transfers control to the application.

    The H suffix changes no protection behaviour at all. The word at 0x1FC, the sector map and the IAP entry point are identical to the FBD version. What the boot ROM does with 0x12345678, 0x87654321 and 0x43218765 is the same: close the debug port and the read commands, then reduce ISP to a whole-chip erase, then ignore the P2.10 entry pin while the vector checksum passes. The practical difference is retention, not security, and that is what makes a second read worthwhile on a part that has lived hot.

    Why Retention Is The Real Variable

    Flash retention is specified over temperature, and a device that has spent its working life near the top of its range is more likely to hold marginal cells. On this family the flash controller applies error correction on read, which in normal operation hides a weak bit. In an extraction, the check bytes sit beside the user data; a capture that discards them can deliver an image that looks correct and fails verification later. We keep them, read twice from different angles, and note explicitly how any disagreement was resolved.

    That is the practical consequence of the H suffix. It is not a stronger lock and not a different memory map. It is a reason to be more careful about the assumption that every bit in the array is still at its programmed value.

    A Marking Error Is More Likely Than A New Silicon

    A BOM that lists an HBD part where an FBD was fitted, or the reverse, is a common source of contradictory reports: two boards that look identical are said to behave differently when the real difference is a rework, a substitute lot or a misread character on a worn package. We photograph the marking under raking light and confirm it against the die before writing anything into the job notes. Assigning a protection scheme to the wrong variant wastes more time than any amount of careful identification.

    Verification Steps

    The delivered binary has the vector checksum recomputed, a sector map marking blank regions, and a note recording the boot ROM revision and CRP word actually found. ARM and Thumb code can alternate at subroutine boundaries on ARM7, so analysis uses a mixed decode rather than a flat 32-bit one. Where a region had to be reconstructed, that is stated rather than hidden behind a clean-looking file.

    Related Work

    Our service scope describes intake and accepted device states. The protection walkthrough sets out the layers in order, and this AT32F435 case is a useful contrast with a much larger banked array. For the commercial-temperature marking of the same die see the LPC2364FBD100; for a 512 KB variant that drops USB and CAN, see the LPC2367FBD100.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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

  • LPC2134FBD64: Sixteen Analog Inputs, No CAN

    Sixteen analog inputs on a 64-pin package is an unusual pin budget, and it is the fastest way to recognise this part on a board. The LPC2134FBD64 carries two independent 8-channel 10-bit ADCs, a 10-bit DAC, 128 KB of flash and 16 KB of SRAM around a 60 MHz ARM7TDMI-S core. There is no CAN controller and no external bus. Anyone trying to hack locked LPC2134FBD64 flash has to work within a fairly small, entirely on-chip memory system.

    Why Two Converters Change The Disassembly

    Two ADCs mean two sets of result registers, two interrupt sources and two pin-connect-block configurations. Firmware that samples both will show paired initialisation sequences and paired vector entries. Recognising that pattern matters when a recovered image has to be understood rather than merely archived: a single flat disassembly will interleave the two conversion routines, and the interrupt vector addresses are the cleanest way to separate them.

    The converters themselves hold no code. Their readings at power-down are lost with SRAM. What survives in flash is the setup, the calibration tables and the logic that consumes the samples.

    What Gets Closed, And In What Order

    Code Read Protection is one word at 0x000001FC. Does the boot ROM read it before or after it decides whether user code is valid? The vector checksum at 0x14 is evaluated first: the eight exception vectors must sum to zero, with 0x14 holding the two’s complement of the other seven. Only then is control passed to the application. CRP3’s rule about disabling ISP entry through P0.14 is explicitly conditional on valid user code being present, so the order is not academic.

    The three levels then remove capabilities in sequence. CRP1 disables JTAG and ISP read and compare, and blocks writes to sector 0, but sector erase still works. CRP2 removes write-to-RAM, copy-RAM-to-flash and go, leaving only full-chip erase. CRP3 closes the serial entry pin. None of them encrypts the array; they are access rules enforced by boot ROM code, not a cipher.

    This is a different address from the 0x2FC used on Cortex-M LPC devices. Tools written for the newer families can report a false “unprotected” result here and then issue an erase that destroys the only copy.

    Is A Partial Erase Ever Useful?

    Rarely. A 128 KB part has eight 4 KB sectors at the bottom and three 32 KB sectors above them. Sector 0 contains the vectors, the checksum and the CRP word. Any operation that touches it removes the entry point of the application. On a 512 KB device the same operation costs proportionally less; here it costs the whole boot path.

    In-application programming is the interesting exception, because CRP does not disable it. IAP is called by code already running on the part through a ROM entry at 0x7FFFFFF0, and it can erase and rewrite the array while a protected application executes. A field-update routine found during disassembly is therefore both a functional clue and a warning: the customer may already have a supported way to reload firmware, provided the authority to use it exists.

    How We Verify A Result

    The delivered binary is checked the way the boot ROM checks it. We recompute 0x14, confirm the reset vector points into code, and mark which sectors were programmed and which were left at 0xFF. The image is read twice; on flash with Hamming correction, a single-bit marginal cell can otherwise be corrected into a plausible but wrong instruction. Where the array has been read physically, the check bytes travel with the data.

    ARM and Thumb instruction streams can alternate at subroutine boundaries, so a recovered image is decoded with that in mind rather than as a uniform 32-bit stream. That also affects how we look for the field-update path: a Thumb-compiled IAP wrapper is easy to miss if the disassembly is set to ARM only.

    One board-level detail is worth checking early. P0.14 is sampled while reset is low, and on a production gateway it is often reused as an external interrupt or a general-purpose line with no test point at all. If the pin is not accessible, the serial bootloader is unreachable irrespective of the protection level, and the decision tree collapses to the physical route. We ask for a schematic or clear photographs of the connector area rather than assuming a service UART exists.

    Related Work

    Our service scope describes intake and the device states we accept. The protection walkthrough sets out the layers in order, and this ARM7-labelled 32-bit case is a useful comparison on a different core. For the two nearest neighbours in this line, see the 32 KB LPC2131FBD64 and the 256 KB LPC2136FBD64.

    Service scope and next steps

    On NXP targets the protection state is what determines the method, so we read the device identity and protection configuration before we quote the job. 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 LPC image?

    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