Category: Read Locked MCU Data

  • STM32H723ZGT6: Same Die, 144 Pins, More Address Lines

    Two order codes, one die. The STM32H723ZGT6 and the 100-ball VGH6 share the same 550 MHz Cortex-M7 core, the same 564 KB of ECC-protected SRAM and the same 1 MB flash array; what changes is the 20 x 20 mm LQFP144 body and the 114 I/Os it exposes. Anyone trying to recover protected STM32H723ZGT6 binary should begin by reading the package marking, because the letter T in the fourth position is a package code, not a temperature or a security grade.

    Code Package Flash I/O Supply
    ZGT6 LQFP144 20 x 20 mm 1 MB 114 LDO
    VGH6 TFBGA100 8 x 8 mm 1 MB 80 LDO
    ZEI6 UFBGA144 7 x 7 mm 512 KB 114 LDO

    1. Read The Option Bytes Before Touching The Array

    RDP lives in an 8-bit option byte field accessed through FLASH_OPTSR_CUR and FLASH_OPTSR_PRG. The values are 0xAA for level 0, 0xCC for level 2, and anything else for level 1. Programming a new value is not instantaneous: an option-byte reload and a subsequent reset are required, so the value visible to a debugger immediately after a write can be stale. Record both the current and programmed registers before deciding which route is viable.

    At level 1 the debug port still exists, but flash, backup SRAM and backup registers are unreadable from outside. Level 2 removes the port and the system bootloader permanently. A mass erase is the price of returning from level 1 to level 0, and that erase covers the entire user flash, not just the sectors you intended to inspect.

    2. Map The Sectors, Then The Interfaces

    The 1 MB array is organised in 128 KB sectors, and write protection is controlled per sector through the FLASH_WPSN registers. That granularity matters when a customer asks for a partial image: a single protected sector can be the difference between a complete firmware and a file with an unexplained hole in the middle.

    Two Octo-SPI interfaces and a 16-bit FMC are available on this 144-pin part. Neither interface changes where the primary application lives, but both can hold a secondary bootloader, a lookup table or an FPGA bitstream that a customer considers part of the deliverable. Ask which external devices are fitted before scoping the job. A general discussion of how program memory types differ helps separate on-chip flash from external serial storage, and the STM32F103RB recovery notes cover a much smaller array with the same RDP logic.

    3. Handle PCROP As A Separate Question

    PCROP converts a flash region into execute-only memory. Instruction fetches succeed; data reads, DMA and debug access do not. Regions are set with FLASH_PRAR_PRG, aligned to 256 bytes, and limited to one per bank on this architecture. Firmware intended for such a region must be built with an execute-only compiler switch and must not place constants or branch tables inside it.

    Because PCROP is configured independently of RDP, a part can be fully readable at level 0 and still hide a library in an execute-only pocket. On STM32H7 the configuration also survives a level 1 to level 0 regression, so the mass erase that clears the array does not automatically clear the protection map.

    3b. Boot Straps On An Exposed Package

    BOOT0 and the boot address option bytes decide whether the device starts from user flash, system memory or an Octo-SPI mapped window. On an LQFP144 every relevant signal reaches a package edge, so a board-level attach is far easier than on the TFBGA100 sibling, but the straps are equally visible and easy to disturb. Record their state before asserting NRST: a part entering the system bootloader may never expose the user array to the debugger, and one configured to boot from external memory will execute code that a later attach cannot see.

    4. Verify Against The Board, Not The Datasheet

    Recover a full image, then confirm the reset vector and stack pointer fall inside it, check the sector write-protection bits against the recovered configuration, and compare a second read for bit-for-bit equality. ECC on both flash and SRAM tends to surface marginal cells as outright failures, which is preferable to a quietly corrupted byte. Our readout methodology page sets out that verification sequence in more detail.

    If the debug header is unpopulated or the part is already at level 2, the contact route for device-level work is the practical next step. The STM32H730IBK6Q value-line analysis is also worth reading when the board carries an external serial flash that turns out to hold most of the application.

    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

  • STM32H723ZEI6: The 512K Member Of A 1M Family

    The letter E is the whole problem. In ST ordering codes the fourth character is a flash density code, and E means 512 KB. A BOM that lists the STM32H723ZEI6 alongside a 1 MB binary is describing two different things, so the first step in any attempt to readout secured STM32H723ZEI6 code is to decode the part number rather than trust the firmware size quoted in a ticket.

    Density Codes And Address Ceilings

    Density code Flash Upper address Typical order code
    E 512 KB 0x0807FFFF STM32H723ZEI6
    G 1 MB 0x080FFFFF STM32H723ZGT6
    I 2 MB 0x081FFFFF STM32H745BIT6

    The core is unchanged: a Cortex-M7 at 550 MHz with a double-precision FPU, 32 KB instruction and 32 KB data caches, and 564 KB of SRAM. What changes is the array behind 0x08000000. The ZEI6 comes in a UFBGA144 body, 7 x 7 mm at 0.5 mm ball pitch, with 114 I/Os. Ball-grid packaging means the SWD pads are under the die, so a board-level readout depends on whether the designer broke those signals out to test points.

    Why Overreading Wastes Time

    A readout script written for the 1 MB sibling will happily request 0x08100000 and beyond. On the 512 KB part those addresses are not user flash; they either return a bus error or a constant pattern that looks like plausible data until someone tries to disassemble it. Sector count, write-protection bitmaps, and any PCROP boundaries all scale with the actual density, so they must be recomputed rather than copied from a 1 MB project.

    A full-chip erase is similarly bounded. It clears the 512 KB array, the option bytes that the regression is allowed to change, and any volatile configuration that depends on them. It does not extend into the two Octo-SPI memory windows, and it does not reach an external serial flash that may hold a graphics asset bank. The OTP versus flash comparison explains why a one-time-programmable area of 1 KB behaves differently from both.

    Protection Layers On This Die

    RDP remains the primary gate. 0xAA is level 0, 0xCC is level 2, and any other value is level 1, written through FLASH_OPTSR_PRG and activated by a reload plus reset. STM32H7 closes RAM to JTAG even at level 1, which rules out the classic approach of loading a small reader into SRAM and dumping flash from inside the chip. Level 2 is irreversible and disables the debug port together with the system-memory bootloader.

    PCROP adds an execute-only region on top of that. It is programmed through FLASH_PRAR_PRG, aligned to 256 bytes, and limited to one region per bank. Fetch as instructions works; reads as data, DMA access and debugger access all fail. On this family ST also documents that PCROP survives the level 1 to level 0 regression that mass-erases the array. That detail is easy to miss and expensive to discover after the erase has already happened.

    Ball Grid Access And The One-Time Area

    The ZEI6 uses a UFBGA144 at 0.5 mm pitch, so SWD, JTAG-DP and NRST terminate under the die. Whether the job stays at board level is decided by the PCB: a four-layer board with test points on the back is workable, a two-layer board with no breakout is not.

    A separate 1 KB one-time-programmable area and a 96-bit unique ID sit outside the main array. They are not flash and do not behave like flash: an erase leaves them intact, and customers frequently use them for calibration constants, a serial number or a licence binding. At RDP level 2 OTP is no longer readable from outside either, which is worth stating in the quote before anyone assumes the small areas are always recoverable. These small areas also survive the level 1 to level 0 regression that mass-erases the main array, so they must be captured separately rather than reconstructed from an erased device.

    Evidence To Hand Over

    Deliver the 512 KB image with its vector table, the option byte snapshot, and a note recording which sectors reported write protection. Read twice and compare; flash ECC on this line makes marginal cells fail loudly instead of flipping silently. Compare the recovered reset vector against the schematic boot configuration, and check whether the customer expects the external Octo-SPI contents as part of the same package. The NVRAM extraction notes cover the separate problem of battery-backed configuration data, and the ARM7 STM32F107 case shows a readout where the boot configuration decided everything.

    Where the ball grid leaves no usable test points, our device-level service handles package and die access. For a cross-check on the same silicon in a different body, see the STM32H723VGH6 package analysis.

    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

  • STM32H745IGT6: Two Cores, One Debug Port, 1 MB Of Flash

    The debugger connects and the memory window stays empty. That is a common first report on a dual-core STM32H7, and it is usually not a protection failure at all. With the STM32H745IGT6 there are two processors behind one debug port, a Cortex-M7 at 480 MHz and a Cortex-M4 at 240 MHz, and the access port you select determines which address view you get. Anyone trying to read protected STM32H745IGT6 data should settle that question before concluding the part is locked.

    Which AP Is The Debugger Attached To?

    Access port Core Clock Cache
    AHB-AP 0 Cortex-M7 480 MHz 16 KB I + 16 KB D
    AHB-AP 1 Cortex-M4 240 MHz ART accelerator

    CubeProgrammer asks which core to connect to. Select the wrong one and peripherals clocked in the other domain appear absent, and some SRAM regions look empty even though the flash is untouched. Add the three power domains to the picture: D1 hosts the high-performance logic, D2 the communication peripherals and timers, D3 the reset, clock and power control. D2 can be clock-gated independently, so a debugging session that arrives while the M4 domain is asleep sees a different chip than one that arrives at full run.

    How Much Flash Is Actually Present?

    The G in IGT6 is a density code and it means 1 MB. The 2 MB figure quoted for the H745 family belongs to the I-coded parts such as the BIT6, not this one. Reading 2 MB from an IGT6 produces a second half that is either a bus error or a constant pattern, and a disassembler will happily turn that pattern into nonsense instructions. Recompute the sector map, the write-protection bitmap and any PCROP boundary against the real 1 MB ceiling before assembling the image. The OTP and memory-type comparison is a useful reference when someone assumes the missing megabyte is one-time-programmable space.

    What Protection Is Shared?

    RDP is one word for the whole device, not one per core: 0xAA for level 0, 0xCC for level 2, any other value for level 1, written through FLASH_OPTSR_PRG with an option-byte reload and reset. Level 1 closes flash, backup SRAM and backup registers to the debugger, and on H7 also closes RAM access after a system reset, so staging a reader in the 1 MB of SRAM is not a shortcut. Level 2 is irreversible and removes the debug port and the system bootloader permanently.

    PCROP adds an execute-only region through FLASH_PRAR_PRG, aligned to 256 bytes and limited to one region per bank. Instruction fetches work; data reads, DMA and debug access do not. This order code is not on the AN5281 OTFDEC list, so its Quad-SPI window carries plaintext rather than an AES-128-CTR stream. Active tamper and ROP complete the security list.

    Shared flash, separate starts

    Both cores execute from the same 1 MB array, but they do not start together. The M7 normally boots first and releases the M4 from reset, and the option bytes contain separate domain reset controls such as NRST_STOP_D1 and NRST_STBY_D1. A debugger that attaches while the M4 is still held sees a half-initialised device: peripherals in D2 are unclocked, and parts of the SRAM appear blank. Record the domain state at attach time, and do not interpret an empty window as evidence of readout protection before checking whether the second core has been released.

    Recomputing the sector map

    The 1 MB ceiling changes more than the file length. Write protection is applied per 128 KB sector, so the bitmap size, the erase granularity and any PCROP boundary all have to be recalculated against the real array rather than copied from a 2 MB project. Reading past the top of the array returns a bus error or a repeated pattern that a disassembler will turn into plausible-looking nonsense. Compare the recovered reset vector and the highest non-empty address with the density code before declaring the image complete.

    What A Complete Delivery Looks Like

    Capture both cores’ view of the memory map, the full 1 MB flash, the option byte state and the D1/D2/D3 clock configuration at the time of the read. Note which core held the debug session and which AP was selected. Verify the reset vector and compare two reads at a fixed power state; ECC on the array means marginal cells fail explicitly rather than flipping quietly. The STM32F103RB recovery case shows the simpler single-core version of the same check, and the F205ZET7 extraction notes cover another ST part where the memory map decided the outcome.

    For the 2 MB, 208-pin member of this family, see STM32H745BIT6 reverse engineering. Where the debug port is closed, the device-level readout service covers package and die access.

    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

  • STM32H750IBT6: 480 MHz, 1 MB Of RAM, Only 128K Of Flash

    One megabyte of RAM behind 128 kilobytes of flash. That inversion defines the STM32H750IBT6, a 480 MHz Cortex-M7 in an LQFP176 body, and it is why any plan to open protected STM32H750IBT6 mcu has two targets. The on-chip array is big enough for a bootloader and little else; the application lives on one of the dual Quad-SPI interfaces and executes in place. Anyone quoting a readout from the MCU alone is quoting a fraction of the firmware.

    Resource Size Role
    Internal flash 128 KB Bootloader, Quad-SPI setup, root of trust
    TCM RAM 192 KB 64 KB ITCM plus 128 KB DTCM
    User SRAM 864 KB Frame buffers, protocol stacks, staging
    Backup SRAM 4 KB VBAT domain data

    Memory map consequences

    The SRAM is large enough to hold an entire external application image, which changes what a debug session can observe. A running product may have decrypted or decompressed code staged in AXI SRAM, and on many STM32 devices a system reset under RDP level 1 would have opened that RAM to a debugger. STM32H7 does not allow it: ST documents that RAM stays closed to JTAG even at level 1. Expect to work with the flash and the external device, not with a convenient RAM snapshot.

    Protection set on this line

    The H750 security list names ROP, PC-ROP, active tamper, secure firmware upgrade support and secure access mode. RDP itself uses 0xAA for level 0, 0xCC for level 2, and any other value for level 1, programmed through FLASH_OPTSR_PRG with an option-byte reload and reset. Level 2 is permanent; it removes the debug port and the system bootloader with no path back. PCROP turns a flash region execute-only through FLASH_PRAR_PRG, aligned to 256 bytes, with no data reads, no DMA reads and no debug reads. On H7 the PCROP configuration survives the level 1 to level 0 regression that erases the array.

    Secure access mode is the item most often overlooked. It gates debug access behind a credential during provisioning, which is useful on a production line and inconvenient on a returned unit. Check its state before assuming that a missing debug connection means RDP level 2; the two produce similar symptoms and very different options.

    What is not here

    There is no OTFDEC engine on this order code. AN5281 lists the H7B0, H7B3, H730, H733 and H735 families, and the H750 is absent. The dual Quad-SPI windows therefore carry plaintext in memory-mapped mode. A desoldered serial flash read in a programmer yields usable code, which makes the external half of this job considerably easier than it is on an H730 or H7B0 board. The OTP versus flash comparison is a good reference when a customer assumes the same applies to a one-time-programmable region.

    Package and pin budget

    The IBT6 is a 176-pin LQFP, 24 x 24 mm, with every signal brought to a package edge. That is a material advantage over the ball-grid value-line parts: SWD, JTAG, BOOT0 and NRST can be reached with a fine probe or an existing header, and the Quad-SPI traces are visible on the outer layers. It also means the boot straps are easy to disturb, so record their state before asserting reset. A part pulled into system-memory boot will not present the user flash to a debugger, even when RDP is at level 0.

    Why the small internal array still matters

    The 128 KB on-chip flash configures the Quad-SPI controller, sets the memory-mapped window and holds the root of trust before any external instruction executes. Reading only the serial flash gives you opcodes with no address map, no clock configuration and no indication of which image revision the board expects. A third-party Quad-SPI programmer will happily return a full binary, but without the internal setup bytes that binary cannot be relocated or reliably disassembled. Treat the internal dump as the index to the external one.

    Deliverable shape

    Provide the 128 KB internal dump, the option byte and secure-access state, the external serial flash contents, and a note matching the two halves to a single board revision. Verify the reset vector, read twice at a fixed supply and clock, and record which Quad-SPI device was fitted. The STM32F405VG program recovery case uses the same evidence chain on an older M4, while the AT32F435 sLib discussion is a useful comparison for a different vendor’s protected region.

    If the debug port is closed or the board cannot be powered in-circuit, the contact route for chip-level work is the remaining option. For a related 280 MHz value-line part with on-the-fly decryption, see STM32H7B0ABI6Q memory extraction.

    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

  • STM32H730ABI6Q: 169 Balls And An Encrypted Octo-SPI Bus

    The board is seven millimetres square and the debug pads are not on it. A UFBGA169 at 0.5 mm pitch puts every signal underneath the die, which is the practical starting point for anyone attempting to hack locked STM32H730ABI6Q flash. This is the 128 KB value-line member of the 550 MHz H730 family, and the -Q suffix marks the SMPS supply variant, so the first two things to locate on the schematic are the SWD breakout and the inductor network.

    Where Is The Application, Exactly?

    Not in the MCU. 128 KB of internal flash holds a bootloader, a root of trust and the setup code for the external Octo-SPI interface, while 564 KB of SRAM provides runtime space. The application executes in place from a serial flash on the board. That split is deliberate: it keeps the silicon cheap and lets the customer choose the density of the external device. It also means a readout scoped only to the MCU returns a few kilobytes of boot code and none of the product logic.

    Why The External Chip Reads As Garbage

    The H730AB is on the AN5281 list of parts with on-the-fly decryption. OTFDEC watches AXI and AHB read requests addressed to a memory-mapped Octo-SPI region and decrypts them with AES-128 in counter mode. The key sits in registers inside the microcontroller and is never transmitted to the serial flash. Desolder that flash and read it in a programmer and the result is ciphertext, byte for byte. Rebuilding a plaintext image requires either the key or a route through the running system that observes the decrypted stream, and at RDP level 2 there is no debug port and no system-memory bootloader to provide one.

    Is The Bootloader Itself Worth Reading?

    Yes, more than its size suggests. It contains the Octo-SPI configuration, the OTFDEC region boundaries, the secure boot public key or its hash, and the version marker that tells you which external image belongs with this unit. Those few kilobytes are also the only place where the mapping between external addresses and decrypted regions is defined. A raw external dump without them is a file with no address map attached.

    RDP follows the H7 pattern: 0xAA for level 0, 0xCC for level 2, any other value for level 1, written through FLASH_OPTSR_PRG and activated by a reload plus reset. Level 2 is irreversible and disables SWD, JTAG and the bootloader together. PCROP can additionally mark an internal region execute-only through FLASH_PRAR_PRG with 256-byte alignment, and on this family that configuration survives a level 1 to level 0 mass-erase regression.

    What The 169-Ball Package Costs You

    A UFBGA169 measures 7 x 7 mm at 0.5 mm ball pitch. SWD, JTAG and NRST all terminate under the die, and the fine pitch leaves very little room for a hand-soldered probe. A production board normally routes the debug trio to a tagged test pad, a bed-of-nails fixture or a header on the reverse side; a cost-reduced revision sometimes drops those pads entirely. Locate the balls from the ST reference footprint before attaching.

    Key Material That Never Leaves The Die

    The OTFDEC key is programmed into registers inside the MCU, not written to the serial flash and not embedded in the encrypted image. Secure firmware install exists precisely so a contract manufacturer can load an encrypted binary without ever seeing the plaintext or the key. That means the external device cannot be used to work backwards to the key, and a production-line leak is not a route to recovery either. At RDP level 2 the debug port and the system bootloader are both gone, so the practical boundary of any software-only approach is the 128 KB internal array plus a correctly labelled external ciphertext dump. State that boundary in the quote rather than discovering it after the board has been stripped.

    How Should The Job Be Scoped?

    Split it into two evidence packages: the internal 128 KB with option bytes, and the external serial flash contents clearly labelled as encrypted. Record the ball-grid orientation, board revision and the fitted memory device, because a second unit with a different serial flash will not share the same address map. The readout bypass methodology describes how these packages are combined, and the STM32F103RB recovery case is a useful contrast with a part where all code really is on-chip.

    For the 176-ball version of the same die, see STM32H730IBK6Q software copy. The Cortex-M3 F217 extraction notes cover another board where external memory decided the approach. Where no SWD test points exist, the device-level service covers package and die access.

    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

  • STM32H723VGH6: A 1 MB Array Under A 100-Ball Lid

    Extract locked STM32H723VGH6 firmware and the first obstacle is mechanical, not logical. The part ships in a TFBGA100 body measuring 8 by 8 mm with a 0.8 mm ball pitch, so the SWD and JTAG pads are buried under the package rather than presented as accessible pins. A board that routes PA13, PA14 and NRST to a test header makes the job straightforward; a board that leaves them under the ball array means the readout plan starts at the PCB layout, not at the debugger.

    Where Does The 1 MB Actually Sit?

    This is a 550 MHz Cortex-M7 with a double-precision FPU, 1 MB of embedded flash with ECC, and 564 KB of SRAM split into 128 KB of DTCM, 432 KB of system RAM and 4 KB of backup SRAM. The flash is internal and contiguous from 0x08000000, which is the good news: there is no external serial device to desolder before any of the code can be seen. Two Octo-SPI interfaces are present for XiP, but on this particular order code there is no on-the-fly decryption engine, so anything mapped there is plain ciphertext-free application data rather than a protected image.

    The power tree is worth checking early. The H723 line is LDO-only, and the VGH6 code denotes the TFBGA100 variant rather than an SMPS option. Supplying VCORE from the wrong rail is a fast way to produce a readout that looks valid but fails its checksum.

    Which RDP Level Is On The Part?

    Readout protection on STM32H7 is an option byte with three states. 0xAA is level 0, 0xCC is level 2, and any other value, commonly 0xBB, is level 1. A change written through FLASH_OPTSR_PRG only takes effect after an option-byte reload followed by a reset, so a single snapshot taken before a power cycle can misreport the real policy.

    The H7 family adds a detail that trips up people arriving from F1 or F4 parts: at level 1, RAM is still closed to JTAG even after a system reset. On older STM32 devices a reset under RDP1 opened the SRAM to the debugger and allowed code to be staged there for a dump. ST explicitly removed that path here. A technique that depends on loading a small reader into RAM and reading out flash from inside will not work on this die.

    Level 2 is a different category altogether. It disables JTAG and SWD permanently, blocks the system-memory bootloader, and shields flash, backup registers and SRAM from external access. There is no regression from level 2, so any plan that assumes a later mass erase can reopen the debug port is wrong from the start.

    What Does PCROP Protect In Practice?

    Proprietary code read-out protection is independent of the RDP level. A protected region becomes execute-only: the instruction bus may fetch opcodes, while D-bus reads, DMA transfers, debugger reads, writes and erases all fail. The area is programmed through FLASH_PRAR_PRG, must be aligned to 256 bytes, and on this flash architecture only one region per bank can be defined. Code placed there has to be compiled with an execute-only option, because literal pools and jump tables would otherwise be fetched as data and return nothing.

    On STM32H7 a further subtlety applies. Dropping from level 1 back to level 0 triggers a full flash mass erase, as expected, but ST documents that the PCROP configuration itself survives that regression. Erasing the array does not quietly return the proprietary region to a readable state.

    Building A Defensible Image

    A usable delivery is more than a hex file. Capture the vector table at 0x08000000, the full 1 MB address range, the option byte state, and the OTP area, then verify that the interrupt vectors point inside the recovered range. ECC means marginal bits tend to present as read failures rather than silent corruption, so repeat the read and compare before declaring the image complete. Our method notes on bypassing read protection describe how these checks fit together, and the STM32F407 readout case shows the same evidence chain applied to an older M4 part.

    For boards where the debug pads are inaccessible or the protection level is already at 2, the IC readout service covers package-level and die-level approaches. Related material on Cortex-M3 F217 extraction and the STM32H725VGH6 power variant is useful when the schematic shows a different regulator than expected.

    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

  • STM32H7B0ABI6Q: Eight-Kilobyte Sectors And 1.4 MB Of RAM

    The slowest H7 in this batch has the most SRAM. The STM32H7B0ABI6Q runs its Cortex-M7 at 280 MHz, carries about 1.4 MB of on-chip RAM and only 128 KB of flash, and it is the part where the internal array is deliberately tiny. To extract encrypted STM32H7B0ABI6Q memory you need to understand both halves of that design: a small, finely divided boot array inside the chip and an encrypted application image outside it.

    01 / Eight-kilobyte sectors

    Most H7 flash is organised in 128 KB sectors. ST cut the H7B0 array into 8 KB sectors instead, specifically to make over-the-air updates and a dedicated boot sector practical. For a readout this changes the arithmetic. Write protection is applied per sector, so the protection bitmap has sixteen entries rather than one or two, and a partial erase can target a single 8 KB block without disturbing the rest. A script written for 128 KB granularity will misreport the protected range and may skip the one block that holds the bootloader.

    Parameter H7B0 H743/H745
    Internal flash 128 KB 1 MB to 2 MB
    Sector size 8 KB 128 KB
    OTP 1 KB present
    User SRAM 1.18 MB 864 KB

    02 / Two decryption engines

    This order code has two OTFDEC instances, one per Octo-SPI interface, each applying AES-128 in counter mode to memory-mapped reads. It also carries a crypto/hash accelerator covering AES in ECB, CBC, CTR, GCM and CCM modes, MD5, SHA-1, SHA-2 and HMAC, plus a true random generator and secure firmware install, secure boot and SBSFU. AN5281 documents the encryption flow: the image is encrypted before it is placed in external memory, and the key never leaves the MCU. Desoldering the serial flash produces ciphertext.

    03 / SECURITY, HDP and DMES

    Beyond RDP there is a SECURITY option bit. AN5601 describes the hidden delivery protection area for this family: with SECURITY enabled the device boots into a secure area first, and the DMES setting decides whether that area is erased when execution leaves it. CubeProgrammer requires RDP at 0xAA and SECURITY unchecked before a full chip erase is permitted. That combination is easy to misread as a broken debugger, so record both bits before touching anything. RDP remains 0xAA for level 0, 0xCC for level 2 and any other value for level 1, written through FLASH_OPTSR_PRG with a reload plus reset. Level 2 is irreversible.

    04 / Power and retention

    The -Q variant uses the internal SMPS, and ST quotes about 32 microamps in Stop mode with the full 1.4 MB of RAM retained. That retention has a practical consequence for a readout: configuration state, keys and runtime buffers can survive what looks like a power cycle. A board that appears freshly booted may still be holding data from a previous session in SRAM. Treat VCAP and VBAT as live rails during any attach, and do not assume a reset has cleared the memory you are about to inspect. The NVRAM content notes cover the same class of problem in battery-backed parts.

    04b / The 1.4 MB is not one pool

    ST describes the H7B0 RAM as scattered: 192 KB of TCM split into 64 KB of ITCM and 128 KB of DTCM, 1.18 MB of user SRAM, and 4 KB in the backup domain. One megabyte of the user space is contiguous, which is what allows a full graphical frame buffer to sit on-chip instead of in external memory. For a readout the distinction matters because these pools have different bus masters and different visibility to a debugger attached through one access port. A dump of one region is not evidence that another region was empty.

    04c / Graphics hardware is not program storage

    LCD-TFT control, Chrom-ART, Chrom-GRC and a JPEG codec make this part look as though it must be holding a large image bank internally. When a customer says the product contains graphical assets, confirm whether those bytes are in the encrypted external image, in on-chip RAM at run time, or in a separate storage device before adding them to the deliverable list.

    05 / Scoping the delivery

    Ask for the serial flash part number, the OTFDEC region configuration and the SECURITY bit state. Deliver the 128 KB internal image, the 1 KB OTP, the option bytes and the raw external dump labelled as encrypted. The ARM7 STM32F107 case shows a board where external memory dominated the job, and the STM32F358RC protection notes cover another ST part with a non-obvious protection layer.

    For the LQFP144 member of the same line, see STM32H7B0ZBT6 source code recovery. Where the 169-ball body leaves no test points, the device-level readout service handles package and die work.

    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

  • STM32H725VGH6: Two Regulators, One TFBGA100 Body

    Same 100 balls, same 0.8 mm pitch, same 1 MB flash: a different power tree. The STM32H725VGH6 sits in the TFBGA100 body that the H723VGH6 also uses, but the 5 in the type number marks the line with an internal SMPS alongside the LDO. To dump protective STM32H725VGH6 heximal reliably, treat the two regulators as part of the evidence, not as a background detail on the schematic.

    Supply choice: what the schematic reveals

    An H723 in this package is LDO-only. An H725 can scale VCORE through the buck converter while retaining the linear regulator for other configurations, and the board shows which one the designer selected by the inductor and the VCAP network. Mixed supply modes mean the core rail can sit at different voltages during run, stop and a debugger attach, so a read taken at one operating point is not automatically reproducible at another.

    That matters for fault injection. A glitch calibrated against an LDO-fed core will behave differently when a switching loop is correcting the same disturbance. Record the regulator configuration before choosing an injection point, and repeat any read at the same clock and voltage scaling. Our protection bypass methodology treats these electrical preconditions as a separate checklist.

    Array layout: unchanged from the 550 MHz line

    1 MB of embedded flash from 0x08000000, 564 KB of SRAM divided into 128 KB of DTCM, 432 KB of system RAM and 4 KB of backup SRAM, all with ECC. Two Octo-SPI interfaces support XiP, but H725 order codes are absent from the AN5281 OTFDEC product list, so external memory-mapped contents are not wrapped in an AES-128-CTR stream. If the board carries a serial flash, it is worth reading as plaintext rather than assuming a decryption problem.

    Regression: the H7 detail that survives an erase

    RDP here follows the standard H7 encoding: 0xAA is level 0, 0xCC is level 2, and any other value is level 1. Writes go through FLASH_OPTSR_PRG and need an option-byte reload plus a reset. Dropping from level 1 to level 0 is allowed, but it triggers a full mass erase of user flash.

    ST documents a second effect that is easy to overlook: after that regression the PCROP configuration remains active. A team that erases a board expecting every protection bit to clear will find the execute-only pocket still refusing data reads. PCROP regions are programmed through FLASH_PRAR_PRG, aligned to 256 bytes, and limited to one per bank; code inside must be compiled execute-only with no literal pools. On this family the OTP and memory-type comparison is a useful companion when someone assumes an erase resets one-time-programmable areas too.

    Pin compatibility: what it really means

    The H723VGH6 and the H725VGH6 share a 100-ball footprint and a 1 MB array, which invites a BOM substitution that is not actually drop-in. One is LDO-only, the other expects an SMPS network. Swapping the silicon without changing the inductor, feedback and VCAP components leaves the core rail outside its intended operating point, and a readout taken on such a board may fail for electrical reasons that look exactly like a protection response. Confirm the marking on the package, then confirm the supply components around it. Neither check is a substitute for the other.

    The two external windows

    Two Octo-SPI interfaces give this part separate memory-mapped windows for code and data, and a product can place a font bank, a waveform table or a secondary application in either of them. Because this order code has no OTFDEC engine, those windows carry plaintext. A delivery scoped only to the internal 1 MB will miss that material entirely. Ask which devices are fitted, record their part numbers, and include their raw contents alongside the on-chip image so the customer can rebuild the full memory map rather than guessing at a hole.

    Verification: what a finished image contains

    Capture the full 1 MB, the option byte snapshot, the sector write-protection bitmap and the OTP area. Read twice at a fixed supply configuration and compare. Flash ECC turns marginal cells into explicit failures, so moving failures between runs point back to the regulator rather than to the array. Confirm that the reset vector and stack pointer land inside the recovered range, and note whether any PCROP region was declared by the customer.

    The STM32F407IG source code dump walks through the same evidence chain on a larger M4 package. Where the 100-ball body leaves no accessible SWD test points, the device-level readout service covers package and die access. For the SMPS-only 68-pin sibling, see STM32H725RGV6 program restoration.

    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