Category: Read Locked MCU Data

  • STM32H743BGT6: 208 Pins And A Megabyte Of Flash

    When a design needs every last pin, the STM32H743BGT6 is the answer: a 480 MHz M7 core beside a single-bank 1 MB flash and 1 mbyte sram in an LQFP208, the largest leaded body in the H743 line, and it keeps the LTDC and JPEG pipeline that the H742 drops. Like its H743 siblings it omits a crypto block, leaving RDP and PCROP as the only defences, with no secure-boot stage to unwrap afterwards. Those 208 leads also let a service bench reach every signal without reballing. The LQFP208 exposes nearly the full peripheral set — multiple UARTs, CAN FD, Ethernet, USB OTG and the full LCD-TFT interface — without the reflow and reball of a BGA. The otp-versus-flash reference explains why the protection word behaves identically regardless of pin count. A secured STM32H747IGT6 reference applies an identical lock byte to a two-core crypto relative.

    Every Pin Exposed

    For a read the wide pin count means a rich alternate-function map to capture, but a package that is easy to reach when the debug port is closed. The 1 MB SRAM holds both the framebuffers for the LTDC and the general system RAM, so the display registers belong in the capture alongside the array. An extracting an STM32F302 image shows the older-core ancestor of this discipline on a much smaller part. For a different vendor view, dumping a secured STM32F407 shows the same execute-only idea on an older M4. With 208 pins the alternate-function table is large, and a clone that omits that table will never match the board’s pin behaviour, however clean the flash image is.

    Alternate Functions Matter

    Pin multiplexing is the real work on a 208-pin part. The same UART or timer can be routed to four or five different balls depending on the AF selection, and the board intent lives entirely in those choices. A recovery that captures the flash but skips the GPIO alternate-function registers produces a binary that runs on the bench and then fails on the board, because the peripheral never reaches the pin it expects. Reading the AF table is not optional on this package; it is the difference between a file and a working copy, and the 208-pin count makes that table larger than on any other member of the H743 line. The Ethernet and CAN muxes are the first places a clone silently breaks.

    Only RDP And PCROP

    A single option byte is the gate. 0xAA holds the part open, 0xBB selects level 1; 0xCC welds the debug interface shut. The value lives in FLASH_OPTSR_PRG and is applied by the OPTSTART bit, effective only after the option bytes reload and the part restarts. Under level 1 every debug tool sees neither the flash nor the backup SRAM nor the backup registers, and system RAM stays frozen after reset here, so nothing can be staged in volatile space.

    The proprietary zone is set in FLASH_PRAR_PRG, 256-byte aligned, so only code fetches succeed; data access, DMA and debug are blocked. Sector write locking comes from FLASH_WPSN.

    Eight Blocks, No Swap

    Eight 128 KB blocks make the array, with no bank swap to worry about; the reset vector is decided by the density code and the read is a single eight-sector pass. The 1 MB SRAM is shared between the framebuffer space the LTDC uses and the general system RAM, all sealed behind level 1 with the flash. With 208 pins there are more VCAP pairs to respect and more decoupling to model, but the sector map itself is the simplest among H743 devices. Reachability through the leaded body keeps the bench risk low.

    Body Contacts Removal method
    LQFP208 gull-wing pins hot air or clamp
    TFBGA100 solder balls reflow and reball

    Pull the option byte ahead of the array. Record the readout level, the PCROP window and the write-protection bitmap, then dump the eight sectors.

    ECC faults are flagged by FLASH_ECCR and do not corrupt the bytes. With 208 pins there are more VCAP pairs to respect, and the on-die 1.2 V regulator is what keeps ECC quiet, so decoupling matters more than on a smaller body.

    Wide Package, Simple Map

    Once the debug interface is shut, package and board recovery is handled by the contact channel. The leaded body means a socket or in-place read is practical, and the eight-sector dump with the display and alternate-function registers captured is a routine capture. The 208-pin count adds bench work but no lock complexity.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H742AGI6: A 169-Ball Headless Variant With No Display Pipeline

    What this part leaves out is as telling as what it keeps. A Cortex-M7 at 480 MHz sits behind a single-bank 1 MB flash and 692 KB of SRAM under a 169-ball UFBGA lid on the STM32H742AGI6, yet unlike the H743 beside it on the family chart it ships without the LCD-TFT controller and without the hardware JPEG block. That omission changes neither the flash geometry nor the protection scheme; it is simply the fastest way to tell the two apart on a populated board. When a client needs the protected STM32H742AGI6 firmware extracted, the job nearly always comes from a headless industrial node where the graphics blocks were never needed. The locked STM32H742VGH6 dump covers the 1 MB TFBGA100 sibling with the same protection set and the same read plan.

    Where The H742 Differs

    On a headless part the most interesting configuration is rarely in the display pipeline, because there is none. Instead the valuable material is the peripheral setup that talks to the outside world — the Ethernet MAC, the CAN FD filters, the Quad-SPI lanes and the USB descriptors. A capture that only grabs the flash array and skips the RCC and GPIO alternate-function tables will miss why the firmware behaves the way it does on the bench. A secured STM32H745IGT6 read shows how a dual-core crypto cousin keeps the same discipline even with a screen in the spec. Because the H742 has no crypto, there is no wrapped secure stage to unwrap, which keeps the recovery self-contained and easy to verify byte for byte. For the older-core ancestor of the same execute-only idea, dumping a secured STM32F407 is a useful contrast that strips the dual-bank nuance away.

    Peripherals Worth Preserving

    For a board like this the practical question is seldom how to open the part but what to preserve once it is open. SRAM here totals 692 KB, of which 128 KB is tightly coupled to the core while the rest serves as system memory, and a faithful rebuild needs the linker scatter and the peripheral clock tree as much as the code. Treating the read as a full device snapshot rather than a flash dump is the difference between a working copy and a dead one, and on a headless node that snapshot is smaller and easier than on a graphics part. The boot vector, the option-byte page and the backup-register block all belong in that snapshot.

    Reading The Lock Word

    The read lock on this device is a lone option byte. A value of 0xAA leaves the part open; 0xBB turns on level 1, while 0xCC is a level 2 from which there is no return. The field is written into FLASH_OPTSR_PRG and locked by the OPTSTART bit, taking effect only once the lock word reloads and the chip resets. Once level 1 is active the array, its backup SRAM and the backup register file disappear from probe view; the H7 additionally locks system RAM at reset, so a running clone cannot be assembled in volatile memory.

    The execute-only window is programmed in FLASH_PRAR_PRG on a 256-byte boundary, so instruction fetches are the only accesses that succeed, while ordinary reads, DMA and the debugger are blocked. Write locks for each sector come from FLASH_WPSN.

    Sector Map And Clocks

    Eight 128 KB blocks make up the array. There is no second bank, so the reset vector is fixed by the density code and the read is a straight eight-sector capture. Because the part is headless, there is no framebuffer and no Chrom-ART DMA2D traffic to model, which trims the register set to the RCC, GPIO and the serial and network peripherals. Its 692 KB of on-chip SRAM comprises 128 KB of TCM plus the general-purpose pool, all hidden by level 1 alongside the array, so any clone has to rebuild the clock tree before the code will run.

    Read the option byte before the array. Capture the RDP level, the PCROP window and the write-protection bitmap, then capture the eight sectors.

    Run the read twice at the same power state so ECC faults surface through FLASH_ECCR instead of corrupting bytes. The core draws its 1.2 V from an internal LDO, which makes VCAP decoupling the single most important bench detail during a capture.

    Headless Board Delivery

    When the debug port is closed, the extraction service takes over the package and die handling. The procedure is routine for a UFBGA169 once the lid is off, and the read is a straight eight-sector capture with the option bytes captured first. The headless feature set means fewer registers to reconstruct, so the recovered image is usually complete on the first pass and needs no follow-up.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H753XIH6: Crypto-Enabled Single Core In A 265-Ball BGA

    The STM32H753XIH6 is the crypto-enabled single-core member of the range: a 480 MHz Arm Cortex-M7 driving a 2 MB flash laid out as two banks and one megabyte of sram in a 265-ball TFBGA, and unlike the H743 it adds AES, SHA and a hardware TRNG plus a Secure Firmware Install flow. What it does not have is OTFDEC, because that block belongs to the external-Octo-SPI parts such as the H723 and H7B0, not to a device with on-chip flash. The accelerator lets firmware verify and unwrap an encrypted image at boot, which means a recovery has to capture the wrapped stage as well as the plaintext application. The otp-versus-flash reference is useful here because the secret may live in user flash, option bytes or the crypto key registers depending on the design. A secured STM32H747IGT6 reference covers the dual-core crypto twin with the same AES block.

    Crypto Without OTFDEC

    A recovered STM32H723ZGT6 binary uses the same word on a 550 MHz crypto cousin, proving the scheme is uniform even when the crypto is paired with a different core. For a different architecture, hacking an AT32F435 firmware shows the Artery equivalent of a locked crypto part on a competing Cortex-M4. Because the part has a cryptographic accelerator, the Secure Firmware Install region can be locked separately from the application, so the capture plan must include both the application and the wrapped stage. The 265-ball body is dense, so a closed debug port means a reflow and a reball rather than a simple lift, and the key registers live outside the user array.

    Wrapped Stage On Die

    The absence of OTFDEC is the detail that stops people looking in the wrong place. On the external-Octo-SPI H7 parts the real code may live encrypted in an off-chip flash and only exist in plaintext inside the core during execution, which makes a die-level read mandatory. This XIH6 keeps everything on the die, so the wrapped image is a region of the on-chip array, not a separate chip. Knowing that distinction saves a recovery team from tearing down a board hunting for an external flash that is not there, and it narrows the capture to the on-chip banks where the ciphertext actually resides. The crypto key slots are the first registers to pull.

    Option Byte And Keys

    On a crypto part the option byte is only the first defence, but it is still one byte. 0xAA is open, 0xBB is level 1; 0xCC is the unrecoverable level 2. It is programmed into FLASH_OPTSR_PRG and captured by OPTSTART, taking effect after the option region reloads on reset. Under level 1 the array and the backup registers and SRAM drop out of debug view; RAM is frozen at reset on the H7, so AES key material must be taken from the array rather than a running device.

    PCROP is written to FLASH_PRAR_PRG at 256-byte granularity, so only code fetches get through while plain reads, DMA and debug are blocked. The write lock for each sector is held in FLASH_WPSN.

    Sixteen Sectors In Two Banks

    The 2 MB array is sixteen 128 KB blocks across two banks of eight, with the SWAP_BANK_OPT bit able to remap. The crypto key registers sit outside the user array, so they travel with the dump; the absence of OTFDEC means there is no external ciphertext region to chase. As always on a 2 MB part, settle which bank holds the live firmware before trusting the reset vector, because the SWAP bit can flip that between resets. The dense BGA rewards a careful VCAP decoupling plan before the lid comes off.

    Read the lock word before the flash. Grab the protection level, the PCROP area and the WRP table, check the reset entry against the density code, then save the full sixteen sectors.

    The ECC block reports via FLASH_ECCR and never corrupts the data on its own. The 1.2 V rail derived from the power LDO is what keeps ECC quiet during a crypto capture, so bench supply and VCAP decoupling decide the result.

    Reflow And Key Slots

    For a closed port the extraction service covers package and silicon recovery. The 265-ball BGA needs a careful reflow and clean VCAP decoupling, and the two-bank dump with the crypto configuration registers captured is a standard job once the active bank is confirmed. The crypto block adds a wrapped stage to the capture, not a new lock level.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H742VGH6: One Megabyte, No Crypto, Same 100-Ball Body

    The STM32H742VGH6 is the 1 MB sibling of the VIH6 in the same hundred-ball TFBGA100 body, and the only thing it gives up is half the flash. An M7 core clocked at 480 MHz sits behind a single-bank 1 MB memory and 692 KB of SRAM, with the same missing LCD and JPEG blocks that define the H742 line. For a board that does not need two megabytes, the VGH6 is the natural fit, and the readout plan is identical to its larger twin. The nvram extraction note is relevant because backup registers and option bytes hold the configuration that decides where the reset vector points. A locked STM32H742AGI6 dump covers the headless 169-ball sibling, whose protection set and eight-sector map are the same.

    Half The Flash, Same Die

    What the H742 family never includes is a cryptographic accelerator, so there is no AES, no SHA and no Secure Firmware Install on this part. The protection story is therefore pure RDP and PCROP, with no wrapped-key stage to unwrap during recovery. A dump of a protected STM32H725VGH6 uses the same word on a 550 MHz cousin that does carry crypto, confirming the scheme is uniform across the family regardless of the crypto gap. For a different vendor view, breaking an STM32F358 lock shows the C2000-side analogue of the same idea on a very different core. The absence of crypto also means the recovered image is self-contained: there is no encrypted region that must be decrypted alongside the plaintext application.

    Why Crypto Is Absent

    Cost-optimised boards are where this part turns up most, and cost-optimised boards are also where the option bytes get misused. A production line that sets RDP level 1 to stop casual cloning often forgets that level 1 still leaves the flash readable through the debugger on a bench, so the protection is weaker than the schematic suggests. Recognising that the lock is a deterrent rather than a wall changes how the read is scoped: a careful bench session, not a silicon attack, is usually enough to recover the firmware. That distinction saves hours of needless decapping on a part that was never hardened, and it keeps the board intact for rework.

    Level One In Practice

    On the H742 the whole protection story starts with a single byte. Write 0xAA to leave it open, 0xBB for the usual level 1, or 0xCC to drop the curtain at level 2 for good. The value goes into FLASH_OPTSR_PRG and is committed by setting OPTSTART, becoming live after the option bytes are reloaded and a reset runs. Level 1 pulls the array, its backup SRAM and the register file out of the debugger window, while volatile RAM on this H7 is locked too, so a recovered image must come from the array itself.

    Code-readout protection is configured in FLASH_PRAR_PRG at 256-byte granularity, so only instruction fetches pass while data moves, DMA and debug fail. FLASH_WPSN applies the sector-by-sector write protection.

    Single Bank Geometry

    The array is eight 128 KB blocks with no bank to swap. The reset vector therefore depends only on the density code, and a closed part is read in a single eight-sector pass. With no display engine, there is no framebuffer to model and no Chrom-ART DMA2D stream to capture, so the preserved registers stay limited to clocks, GPIO and the communications blocks. On-chip RAM comes to 692 KB, with a tightly coupled portion and a system portion, both covered by the level 1 seal together with the flash, which is the simplest lock in the whole H742 line.

    RDP byte Debug result Flash view
    0xAA full access plain
    0xBB port locked blocked
    0xCC port gone for good blocked

    The first step is the option byte, then the flash. Check the boot vector against the density code, note the RDP level, the execute-only region and the sector write map, then capture all eight sectors.

    Because the core voltage is LDO-derived from 1.2 V, VCAP noise during the read shows up as ECC faults rather than as a clean image. FLASH_ECCR flags those faults without corrupting the captured bytes.

    A Straightforward Capture

    A sealed port hands the job to the extraction service, which covers package and silicon work. The TFBGA100 needs a reflow and a reball once the lid is off, but the capture itself is the simplest in the H742 line: eight sectors, one bank, no crypto stage. That combination is why the VGH6 is a frequent first job for teams learning the family.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H743AII6: Graphics Blocks Present, Crypto Still Absent

    The STM32H743AII6 is where the H743 line starts to look like a graphics part: a 480 MHz Arm Cortex-M7 backed by a dual-bank 2 MB flash and 1 MB of SRAM in a UFBGA169, and unlike the H742 it brings back the LTDC, the Chrom-ART DMA2D engine and the hardware JPEG codec. What it still lacks is a cryptographic accelerator, so the protection story is the standard RDP and PCROP set without any secure-boot crypto. With the LTDC and DMA2D onboard, the AII6 can drive a panel and accelerate image moves in hardware, which is why it lands in HMI and vision-adjacent designs. The nvram extraction note helps when judging where the design kept its secrets, because flash, option bytes and backup domains all move under one word. A locked STM32H743ZIT6 read covers the 2 MB LQFP144 twin with the same map.

    Display Silicon Returns

    The graphics pipeline changes the recovery register set, not the lock scheme. The 1 MB of SRAM holds framebuffers that the LTDC drives directly, so a faithful clone needs those display registers captured alongside the code; a dump that skips them will not reproduce the panel behaviour even with a perfect flash image. A reverse-engineered STM32H745BIT6 chip carries the same word on a dual-core crypto cousin, proving the discipline is family-wide. For the older-core equivalent, extracting an STM32F217 image shows a similar idea on a Cortex-M3 part that had no display engine at all. Because there is no crypto block, the Secure Firmware Install region is absent, which keeps recovery self-contained and the verification straightforward.

    Framebuffers In SRAM

    Panel timing is where graphics clones fail. The LTDC needs a pixel clock, a sync scheme and a layer blend order, and all of that lives in registers that are only meaningful at the moment the display is initialised. A recovered binary that boots but shows a blank or shifted screen usually missed the layer configuration, not the application code. Capturing the LTDC and DMA2D blocks together with the framebuffer contents is what turns a code dump into a working display clone, and skipping that step is the most common reason a graphics recovery looks successful in the log yet fails on the bench. The framebuffer itself is worth archiving byte for byte.

    RDP And PCROP Here

    Read protection is just one option byte on this graphics part. 0xAA is the open door, 0xBB the normal level 1, while 0xCC is the final level 2 that no reset can reverse. It is placed in FLASH_OPTSR_PRG and committed with OPTSTART, taking hold once the option region reloads and the device resets. Level 1 strips the debugger of the flash, backup SRAM and backup registers, and the megabyte of system RAM here is frozen at reset, so a clone built from a live part is out of the question.

    The proprietary code-readout window is defined in FLASH_PRAR_PRG with 256-byte alignment, so instruction fetches pass and everything else fails. Write protection per sector is set in FLASH_WPSN.

    Bank Order And Panels

    Two banks of eight sectors, each 128 KB wide, make up the full 2 MB here, with SWAP_BANK_OPT able to flip them. Beyond the bank question, the graphics side matters: the 1 MB of SRAM holds the framebuffers the LTDC drives, so the display and DMA2D registers must travel with the code. Establish the active half first, because SWAP_BANK_OPT may have moved it between resets, and confirm the reset vector against the density code before assembly. A two-bank part that also drives a panel is the most register-rich recovery in the H743 line.

    Read the lock word first, then the array. Grab the protection level, the PCROP span and the sector write map, verify the start address matches the density code, then save all sixteen sectors.

    The ECC unit reports through FLASH_ECCR and never corrupts bytes on its own. The 1.2 V domain driven by the low-dropout regulator on the die reacts badly to a noisy supply, so clean VCAP bypassing is written into the procedure rather than treated as a footnote.

    What A Graphics Dump Needs

    Should the debug port refuse, the contact channel handles the package and bare-die recovery without a bench. A UFBGA169 is reflowed and reballed after the lid is off, but the capture itself is a standard two-bank read once the running half is known. The extra care is the display registers, not the lock.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H745BIT6: 2 MB Across Two Banks In A 208-Pin Body

    Start at the last address and work backwards. On a 2 MB STM32H7 the upper half of the image can silently come from the wrong bank, because the STM32H745BIT6 implements dual-bank flash with a bank-swap option byte. Reverse engineering locked STM32H745BIT6 chip therefore begins with the memory map, not with the debugger. The I in BIT6 is the density code for 2 MB, and the B is the 208-pin LQFP, 28 x 28 mm, with 148 I/Os.

    Two banks, two address windows

    Bank Default range Sectors
    Bank 1 0x08000000 – 0x080FFFFF 8 x 128 KB
    Bank 2 0x08100000 – 0x081FFFFF 8 x 128 KB

    SWAP_BANK_OPT can exchange the user sector mapping after a boot load. A readout taken with the bit set and a linker script written for the default order will produce an image whose vectors are in the wrong place, and the failure looks like corruption rather than configuration. Record the bit, then read both windows and keep them in their observed order. Write protection is applied per 128 KB sector through the FLASH_WPSN registers, so the protection bitmap has sixteen entries and should be captured with the image.

    The dual-core complication

    This is a Cortex-M7 at 480 MHz plus a Cortex-M4 at 240 MHz, with 1 MB of RAM split into 192 KB of TCM, 864 KB of user SRAM and 4 KB in the backup domain. One debug port exposes two AHB-APs, one per core, and the selected AP determines which address view and which clocked peripherals are visible. D1, D2 and D3 can be gated separately; a session attached while the M4 domain sleeps is not looking at the same device as one attached at full run. Note the core, the AP and the domain state alongside every dump.

    Protection that applies to the whole die

    RDP is a single option byte field shared by both cores. 0xAA is level 0, 0xCC is level 2, and any other value is level 1; writes go through FLASH_OPTSR_PRG and require an option-byte reload plus a reset. Level 1 closes flash, backup SRAM and backup registers to external reads, and STM32H7 additionally keeps RAM closed to JTAG after a system reset. Level 2 is permanent, disabling SWD, JTAG and the system-memory bootloader with no regression path.

    PCROP marks a region execute-only through FLASH_PRAR_PRG, aligned to 256 bytes, with one region per bank. Data reads, DMA transfers and debug reads all fail there, while instruction fetches succeed. On this family ST documents that the PCROP configuration survives a level 1 to level 0 regression even though that regression mass-erases the array. Active tamper detection is also part of the security list. This order code is not in the AN5281 OTFDEC applicable-products table, so its Quad-SPI window carries plaintext in memory-mapped mode.

    208 pins change the board, not the core

    The LQFP208 body exposes 148 I/Os, enough to wire a 32-bit FMC bus to SDRAM, NOR or PSRAM without multiplexing everything through a narrow port. A product can therefore keep a substantial part of its code or data off-chip, and a readout scoped to the internal 2 MB will miss it. Check the fitted external memory and record its part number alongside the internal image. The same dual-core and RDP rules apply to the die; what changes is how much of the system sits outside it.

    Where the road ends

    At RDP level 2 there is no software path back. SWD and JTAG are permanently disabled, the system-memory bootloader is gone, and the option byte cannot be regressed. A proposal that promises to unlock such a part by rewriting configuration bytes is describing a different device. Say so early, document the observed level, and limit the deliverable to what can be established from the board and the package.

    Rebuilding A Defensible Image

    Assemble both banks in observed order, attach the SWAP_BANK_OPT state, the sixteen-sector write-protection bitmap and the option byte snapshot. Read twice at a fixed supply and clock, and compare; flash ECC makes marginal cells fail explicitly rather than corrupt quietly. Confirm that the reset vector and stack pointer fall inside the recovered 2 MB, and check whether the customer expects the Quad-SPI contents as part of the same delivery. The NVRAM extraction notes cover the separate case of battery-backed configuration, and the STM32F405VG program recovery shows the same verification discipline on a much smaller array.

    For the 1 MB, 176-pin member of this family, see STM32H745IGT6 data reading. The LPC2468 EMC analysis is a useful comparison for another part where an external bus changes the memory map. Where the debug port is already closed, the contact route for chip-level work is the remaining option.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H725RGV6: The 68-Pin Part With No LDO At All

    An inductor goes missing from the bill of materials and the board still boots, which is the first clue that this is not a standard H7 design. The STM32H725RGV6 is the VFQFPN68 variant, and ST’s own support answer is explicit: in that 8 x 8 mm, 1.0 mm package VDDLDO is not brought out and only the SMPS configuration is allowed. To restore encrypted STM32H725RGV6 program, start with the supply: a probe on the wrong rail produces a readout that fails checksum for reasons that look like protection but are really power integrity.

    Identifying The Supply Pins

    Pin Role
    VLXSMPS Switch node of the internal buck converter
    VFBSMPS Feedback input for the SMPS
    VDDSMPS SMPS supply input
    VCAP Core rail decoupling, 100 nF at each pin

    AN5419 and the RM0468 power-supply tables describe the permitted configurations. With no LDO on this package, VCORE comes from the SMPS and the external inductor and capacitors are not optional decorations. A board that omits them, or routes the feedback trace beside a switching node, will show ripple on the core rail that changes from one read to the next.

    Reading Under A Noisy Core

    The 550 MHz Cortex-M7, 1 MB of ECC flash and 564 KB of SRAM are identical to the rest of the H725 line. At that clock the margin between a clean flash sense and a marginal one is small, and a switching regulator contributes directly to it. Before attempting anything invasive, capture the core rail on a scope during a read, confirm the ripple envelope, and repeat the same address range several times. If the failures move between runs, the problem is electrical rather than a protection bit.

    This is also why a low-voltage glitch attempt on an SMPS-only part is harder to reproduce than on an LDO part. The regulator actively corrects the disturbance, and the correction loop has its own timing. Anyone promising a repeatable fault injection without characterising that loop is guessing. Our notes on defeating readout protection separate electrical preconditions from logical ones.

    The Actual Protection Map

    RDP uses 0xAA for level 0, 0xCC for level 2, and any other value for level 1, programmed through FLASH_OPTSR_PRG with a reload and reset. STM32H7 blocks RAM access over JTAG even at level 1, so staging a reader in the 564 KB of SRAM is not a shortcut. Level 2 disables SWD and the system bootloader permanently; there is no way back.

    PCROP is configured separately through FLASH_PRAR_PRG, aligned to 256 bytes, and turns its region into execute-only memory. Instruction fetches succeed, while data reads, DMA and debug reads fail. H725 order codes are not on the OTFDEC applicable-products list, so the two Octo-SPI interfaces on this die carry plaintext in memory-mapped mode rather than an AES-128-CTR stream. That distinction matters when the board has an external serial flash: on this part, desoldering it yields usable code.

    Counting The 68 Pins

    A VFQFPN68 has a narrow I/O budget, and the SMPS pin cluster consumes several of it. VLXSMPS, VFBSMPS, VDDSMPS, VCAP, VDD, VSS, VBAT, BOOT0 and NRST together leave far fewer usable GPIOs than the 114 available on the 144-pin members of the same line. That constrains how much of the dual Octo-SPI and FMC interface can actually be wired, so a board built on this package rarely exposes both external memory ports at full width.

    What The External Bus Looks Like Here

    AN5281 lists the parts with an on-the-fly decryption engine, and H725 order codes are not on it. External Octo-SPI content in memory-mapped mode is therefore plaintext rather than an AES-128-CTR stream. If the board carries a serial flash, reading that device in a programmer yields usable code, and the internal 1 MB array still needs its own separate dump. The boot configuration and any RDP state remain in the MCU, so the two reads are complementary rather than alternatives.

    Deliverables And Next Checks

    Provide the 1 MB image, the option byte state, the sector write-protection bitmap, and a short record of the supply conditions under which the read was taken. Verify the vector table and compare two independent reads. The STM32F405VG program recovery case shows the same verification discipline on an older Cortex-M4, and the encrypted STM32F302RD cloning example covers a part where the external memory is genuinely protected.

    If the board cannot be powered cleanly in-circuit, the chip-level readout service can work with the device removed from the SMPS network. For a comparison with the 100-ball version of the same line, see the STM32H725VGH6 dual-regulator variant.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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

  • STM32H7B0ZBT6: The External Image Is Ciphertext

    The hex file looks like noise because it is noise. A team desolders the serial flash from an STM32H7B0ZBT6 board, reads it in a programmer, and gets a plausible-looking binary with no valid vector table and no recognisable opcodes. The part is a 280 MHz Cortex-M7 value-line device whose 128 KB internal flash is a boot area, and whose external Octo-SPI application is encrypted. To recover secured STM32H7B0ZBT6 source code, accept that the external chip alone will never produce a runnable image.

    Step one: identify what is on the board

    The ZBT6 is the LQFP144 version, 20 x 20 mm, with the SWD pads exposed along the package edge. That makes the board-level attach far easier than on the 169-ball sibling. Record the fitted serial flash, its density, and whether one or both Octo-SPI ports are used. Photograph the boot straps. The internal 128 KB is organised in 8 KB sectors, so a bootloader, a key table and an OTA slot can each occupy their own protected block.

    Step two: read the small internal array

    The internal dump is only 128 KB but it carries the Octo-SPI configuration, the OTFDEC region boundaries, the secure boot material and the version marker that ties this unit to one external image. There is also 1 KB of OTP and a 96-bit unique ID; both survive a mass erase and both are commonly used for binding a firmware image to a specific device. Include them in the deliverable rather than assuming they can be regenerated.

    RDP on this family is 0xAA for level 0, 0xCC for level 2, and any other value for level 1. Writes go through FLASH_OPTSR_PRG and need an option-byte reload plus reset. Level 2 disables SWD, JTAG and the system bootloader permanently. A SECURITY option bit can additionally define a hidden delivery protection area, and AN5601 notes that CubeProgrammer requires RDP at 0xAA with SECURITY unchecked before a full erase is allowed.

    Step three: treat the external dump as ciphertext

    AN5281 specifies AES-128 in counter mode for OTFDEC on this family, with two engines mapped to the two Octo-SPI interfaces. The key is held inside the MCU and is not sent to the serial device. An external programmer therefore reads exactly the encrypted bytes, and no amount of file-format conversion will turn them into code. Secure boot and SBSFU add signature verification in the MCU, so even a successful field update never exposes a plaintext binary on the programming lines.

    Step four: build two evidence packages

    One package holds the internal flash, OTP, option bytes and the OTFDEC region configuration. The other holds the raw external contents, the serial flash part number and the board revision, explicitly labelled as encrypted. A customer rebuilding a product needs both, plus a statement of which firmware revision this unit carried. The bypass methodology page describes how those layers are separated in practice; the STM32F407IG source code dump is a contrast where the whole application was on-chip and a single read sufficed.

    Step four-b: OTA slots and the 8 KB map

    Eight-kilobyte sectors are what make a two-slot over-the-air layout practical on a 128 KB array. One slot can hold the active bootloader and application stub, another the incoming image, with a small marker sector deciding which one starts. Read every sector, including the ones the running firmware appears to ignore, and record the write-protection bitmap with the image. A dump that omits the inactive slot loses the previous firmware revision, which is often the version a customer actually needs for a repair or a failure analysis.

    Step four-c: a plaintext dump can still be wrong

    Even where an image is readable in the clear, the memory-mapped Octo-SPI window, the encrypted region boundaries and the order in which external banks are presented are all defined by registers inside the MCU. Reassembling a runnable binary from a serial-flash dump without that configuration produces an image with the right bytes in the wrong places. Our notes on protection bypass cover this class of reassembly error more generally.

    Step five: verify before delivery

    Read the internal array twice, compare, and confirm the reset vector points into the recovered range. Check the 8 KB write-protection bitmap and note any sector that refused a read. Flash ECC makes marginal cells fail loudly, so a moving failure points at the supply rather than the array. The encrypted STM32F302RD cloning example covers a similar evidence chain on an M4 part.

    For the UFBGA169 version of this line, see STM32H730ABI6Q flash access and the wider chip-level service when the debug port is already closed.

    Service scope and next steps

    For STM32 targets the readout protection level decides the approach, so we verify the option bytes and the exact part number first. That keeps the quotation accurate and the timeline predictable. 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 STM32 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