Category: Read Locked MCU Data

  • AT32F437VGT7: MII, RMII And The Pins They Eat

    Hundred pins is the threshold where the Ethernet options on this family open up. The 64-pin F437 is effectively an RMII-only design; the VGT7 has enough pads to route a full MII interface and still bring out the two QSPI ports, the external memory bus and enough UARTs to look like an industrial gateway. That difference in routing is the first thing to understand about a board that arrives with this marking.

    Sixteen Pins Versus Seven

    Interface Signals Practical fit
    MII TXD0-3, TXEN, TXCLK, RXD0-3, RXDV, RXCLK, RXERR, COL, CRS, MDC, MDIO 100-pin and above
    RMII TXD0-1, TXEN, RXD0-1, CRSDV, REFCLK, MDC, MDIO 64-pin and above

    The seven-signal version halves the pin cost and runs both directions from a single 50 MHz reference. The sixteen-signal version keeps separate transmit and receive clocks, which is what a design needs when the PHY runs at 10 Mbit and the two directions genuinely differ.

    For a recovery the difference is observational: an RMII bus carries everything on two data lines in each direction and is easy to overlook, while MII spreads traffic across eight lines that are hard to mistake for anything else.

    Why The Package Decides It

    The controller is the same block in both packages. What changes is whether the pads exist. On the 100-pin part the designer also has to choose between MII and the external memory interface for some pins, and the choice is frozen in the firmware’s pin configuration — which is one of the first things we read out of the startup code.

    The Array Behind It

    None of the network routing changes the memory system. One megabyte of flash in two banks, 4 KB sectors, the second bank behind its own register pair, 384 KB of SRAM configurable to 512, three 12-bit converters at 5.33 Msps, two DACs, thirteen general-purpose 16-bit timers of which three are motor-oriented, two CAN controllers, two USB full-speed controllers, two SDIO ports.

    The protection set is the family standard: whole-array access protection, per-sector erase and program protection, sLib with a password-protected range that executes but reads as 0xFF, and no irreversible advanced protection mode. A megabyte part can carry a large library, and boundaries fall on 4 KB multiples.

    Sector, sLib And The 512K Line

    Two boundaries matter and they are unrelated. The 512 KB line is a register boundary — above it the controller is driven through a second set of registers — and the sector boundary is the unit of protection. Confusing them produces the classic bad dump in which the upper half reads as zeros because it was addressed through the lower bank’s registers.

    On the library side, the same rules as everywhere: no first sector, nothing below four kilobytes, password required to clear, and clearing erases the whole array.

    Bench Notes: Clocks And The PHY

    A networked board arrives powered, with a PHY on the other side of the RMII or MII bus holding lines during reset. Two failures follow. The first is a part that will not enter a loader because the PHY drives a boot pin. The second is a brown-out during the read, because the PHY and its magnetics draw current the supply was never sized for.

    We isolate the PHY where the layout allows, or power the board from a supply that can absorb the transient. The reference clock is worth checking too: with RMII everything derives from one 50 MHz source, and a marginal oscillator makes the interface fail in ways that look like firmware bugs.

    What We Return

    Two bank images and a merged binary, the configuration byte governing the SRAM split, a sector and library map, and a note on the network interface the firmware configures — MII or RMII, the PHY address it polls, and whether the design expects a second image for updates. That last detail frequently decides whether the recovered code is complete or merely the bootloader.

    The 64-pin version with RMII is covered in extracting encrypted AT32F437RGT7 code; the same package without the network block is at copying a protected AT32F435VGT7 flash. Scope and lead times are on the services page, and specific boards can be discussed through contact.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F423RCT7: 2K Sectors And A 20K Boot Block

    The AT32F423 sits in the middle of Artery’s range and reads like a part designed by someone who was tired of running out of pins: 150 MHz with a single-precision FPU, 256 KB of flash, 48 KB of SRAM, twenty-four ADC channels at 5.33 Msps, two DACs, two CAN buses, eight UARTs, an external memory controller and a USB device port. On a 64-pin body that is a lot of function, and it changes what a recovery job has to look at.

    The Bus At The Edge

    XMC brings a 16-bit external bus out of the package and speaks to PSRAM, NOR flash, or an 8080/6800 style LCD. A design that puts its user interface in external memory still keeps its code on the die, but a design that streams fonts, waveforms or lookup tables from a NOR part does not. When we quote a recovery, we ask whether anything is stored off-chip, because the internal array will not contain it and no amount of work on the die will produce it.

    The same controller can drive a parallel LCD. That is not memory, but it occupies the same pins, and it means the visible pin activity during a capture may be display traffic rather than bus traffic.

    Twenty Kilobytes That May Be Yours

    The F423 ships with a 20 KB system memory holding the factory bootloader. One configuration step converts that block into user program and data space, taking the usable total from 256 to 276 KB. Two consequences follow. First, the linker script of the original project may place constants above 0x08040000, so an image that stops at 256 KB can look truncated when it is not. Second, if the block was converted, the bootloader is gone and the board can no longer be programmed through the serial port.

    We read the configuration before deciding how far up the array to sweep.

    EPP Bytes Before Content

    Erase and program protection is expressed per sector through the EPP bytes, and sLib is expressed as a range plus a password. Both are readable without touching the array, and both describe the job in advance. On a 256 KB device the sector size is 2 KB, so there are 128 sectors and 128 protection decisions — enough granularity for a vendor to lock the top half and leave the bottom open, which is exactly what most do.

    Reading those bytes first is also how we answer the question customers actually ask: not “can you read it” but “how much of it is protected”.

    What The Library Does To A Dump

    A protected instruction region answers instruction fetches and refuses data reads, returning 0xFF. From a block-read tool the region looks erased. The tell is behavioural: an erased sector does not execute. If the part boots and runs its application while a sector reads as blank, that sector is protected, not empty.

    Erasing does not help. The library survives a main-array erase, and clearing it needs the password and performs a full erase of everything including the protected block. This is the design intent: the password protects the vendor’s IP even from someone who can issue erase commands.

    Eight UARTs And Two CANs

    The peripheral count matters for a different reason: it tells us what the firmware is likely to be doing, and therefore which parts of the image are worth reconstructing first. A device with two CAN buses and eight UARTs is a protocol bridge or a controller hub; its tables are usually constant arrays near the end of the image, and its state machines are in the low half. Recognising the pattern shortens the disassembly work that follows a successful read.

    Sequencing The Job

    Access protection state, then EPP and sLib registers, then the unique ID, then two passes over the array with different supply settings, then a checksum executed by the part itself against our staging copy in SRAM. That last step is the cheapest independent confirmation and it catches a misread that a byte comparison between our own two passes would miss.

    Output is a binary at original addresses, an extended image if the system block was converted, a sector report and a confidence map. If the design used external memory, the report says so explicitly, because that is the one limitation no recovery method removes.

    The 100-pin version of this die is covered in dumping secured AT32F423VCT7 flash memory; the higher-clock part with two USB controllers is at extracting secured AT32F405RCT7 firmware. For background on why flash sectors behave differently from OTP, see how MCU program memory differs, and for scope and lead times see services.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F425RCT7: A Part Number That Was Never Built

    Every few months a board arrives with a BOM that names a part Artery does not make. AT32F425RCT7 is one of those names. The family exists, the 64-pin package exists, and the temperature code exists, but the flash letter does not: the AT32F425 line is offered in 32 KB and 64 KB only, so there is no 256 KB member for a C to describe.

    The Code Letter That Does Not Exist

    Artery’s numbering uses position four for density: 4 is 16 KB, 6 is 32 KB, 8 is 64 KB, B is 128 KB, C is 256 KB, G is 1 MB. The F425 tops out at 8. Its published table lists F8P7, K8T7, K8U7-4, C8U7, C8T7, R8T7-7 and R8T7 for 64 KB, and the same suffixes beginning with 6 for 32 KB. Nothing carries a C.

    The likely origin of the mistake is a cross-reference table: the F425 is positioned against entry-level Cortex-M0 and M0+ parts, and a substitution sheet that maps an STM32F072 or an STM32F030 to “the Artery equivalent” can pick up a density that the equivalent does not have. The second likely origin is a copy-paste from the F423 row, which does have a 256 KB member and does use C.

    What The 64-Pin Part Actually Is

    Take the suffix as R8T7: 64 pins in a 10 by 10 millimetre LQFP (R8T7-7 is the 7 by 7 outline, same die). Inside: a 96 MHz Cortex-M4 with DSP instructions and no FPU, 64 KB of flash, 4 KB of system memory that can be converted once into user code, 20 KB of SRAM with parity checking, 55 GPIO, sixteen ADC channels, one CAN controller with 256 bytes of dedicated buffer, a full-speed USB device controller with 1280 bytes of buffer that runs without a crystal, and twenty-four channels of PWM from a timer set that includes one advanced block.

    Twenty KB of SRAM on a 96 MHz part is the constraint that shapes firmware here. Buffers are small, stacks are small, and code tends to be written tightly with lookup tables placed in flash.

    Protection On A Small Part

    Three mechanisms apply, and they are independent.

    The first is access protection over the whole array, which blocks debug and in-system programming and is removed only by an operation that erases everything. The second is per-sector erase and program protection through the EPP bytes, set in 1 KB steps on this family because the device is below 256 KB. The third is sLib, a password-protected range that executes but returns 0xFF to any data read.

    Because the array is only 64 KB, the library granularity is 1 KB, and the four-kilobyte floor still applies: the vector table and startup code cannot be inside the library, so the opening four kilobytes of every F425 remain readable unless the whole-array protection is also set.

    Permanent Means Permanent

    There is a fourth state that is not really a protection level but a one-way door: the advanced access protection mode offered on this series disables the debug interface and cannot be undone by any tool, including the vendor’s own programmer. A part in that state will not answer a debugger, will not accept a loader connection, and looks electrically healthy.

    We check for it before quoting a physical route, because it changes the method and the risk. If a customer’s own production line set that byte, no recovery of the debug path is possible and the work moves to the die itself.

    If The Wrong Part Is In Hand

    Practical advice for the customer who has already populated boards: confirm the marking against the family table, then decide which part the design actually needs. If 64 KB is enough, the read is straightforward and cheap. If the firmware genuinely needs 256 KB, the board carries the wrong chip and no read will fix that — the F423 is the family with a 256 KB member and a similar peripheral set.

    What We Ask For

    Marking photographs of two units, a schematic extract showing the boot and debug pins, and a statement of whether the board still boots. With those three we can usually confirm the true part number before the parcel is opened, which saves a week and a wasted shipment.

    The 48-pin member of the same line is covered in extracting locked AT32F425CCT7 software; the value-line part with the same 64 KB array is at copying a locked AT32F421C8T7 heximal. For the general picture of what each protection layer stops, read reading an IC to bypass protection, and for turnaround see services.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F405CCT7: Forty-Eight Pins Of The Same Die

    Take the AT32F405RCT7, remove sixteen pins and the larger body, and you have the CCT7: same 216 MHz Cortex-M4F, same 256 KB of flash, same 102 KB of SRAM, same two USB controllers. From the outside the two parts look like a packaging decision. From the bench they are not, because every method that depends on reaching a signal depends on those sixteen pins existing.

    Same Silicon, Fewer Witnesses

    A 48-pin LQFP brings out the buses, the debug port, the USB pairs and a working set of GPIO, but it drops the pins a designer would have used for a parallel bus, extra UARTs, or a second CAN. That has a practical consequence for a read: the number of independent places where execution can be observed at the pin level is smaller, so more of the work shifts from passive monitoring to active access on the die itself.

    It does not change the array. The flash geometry, the sector size, the sLib rules and the protection bytes are identical to the 64-pin part, which is why we quote the two together and only separate them when the board layout matters.

    What The Pin Count Actually Costs

    Inside the 48-pin body the part still has three I²C, three SPI, six USART plus two UART, one CAN and both USB controllers. Those peripherals are multiplexed onto fewer pads, so any given board exposes a fraction of them. If the customer’s board uses CAN on the pins that also carry the SWD lines after remap, the debug port may be unavailable in circuit and the part has to come off.

    We ask for the schematic before quoting, not because the silicon differs, but because the escape route does.

    Boot Pins And The First 200 Milliseconds

    Artery’s boot configuration is sampled at reset, and the sampler decides whether the part starts the user application or the system bootloader. In circuit, holding those pins during power-up is often the easiest way to see whether the flash is readable at all through the factory loader. It is also the step most often ruined by a board that ties the pins to a divider and a capacitor.

    sLib Does Not Care About Packaging

    A library region set through sLib behaves the same here: instruction fetch runs, data reads return 0xFF, the range is sector aligned (2 KB on a 256 KB part), and the first sector is excluded because the vector table is fetched as data. What changes is only how much of the region a 48-pin board lets you examine without decapsulation.

    Mass erase is worth restating because it surprises people: erasing the main array does not remove the library, and clearing the library requires the password and triggers a full erase of everything. There is no configuration in which an erased chip still contains the protected block.

    Where The Code Usually Sits

    On this class of part the application tends to fill the lower half of the array, with a bootloader or an update stub in the first sectors and constants near the top. The 20 KB boot block is often left as a loader. Reading the vector table first tells us which of those patterns applies, and the 96-bit unique ID tells us whether the board we received is the same batch as the one the customer profiled.

    A Note On Advanced Protection

    The tool chain for this series exposes an advanced access protection mode that disables the debug interface permanently. It is offered on the F405, and once set it cannot be reversed by any tool, including the vendor’s own. When a customer says the part “cannot be connected”, this is one of the two explanations we check first; the other is a supply that never reaches the minimum for the debug logic to respond.

    Handover

    Output is the raw image, a comparison between two independent passes, a repaired file if any block disagreed, and a map showing which sectors were protected and which were merely blank. For the CCT7 we also record whether the boot block was still a loader, since that decides whether the linker script has to be rebuilt with an extra 20 KB.

    The 64-pin version of this die is described in extracting secured AT32F405RCT7 firmware; the mid-range part with the parallel bus is covered under recovering encrypted AT32F423RCT7 source code. Our services and contact details are one click away if you want a quote against a specific board.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F435RGT7: Crossing The 512K Bank Boundary

    A megabyte of flash on a 64-pin package, a 288 MHz core with a single-precision FPU, and 384 KB of SRAM that can be stretched to 512. The AT32F435RGT7 is the top of Artery’s M4 range, and it is the first part in this family where the address map itself is part of the puzzle rather than a given.

    Two Register Sets For One Array

    Up to 512 KB the flash controller is driven through one register pair. Beyond that boundary a second pair takes over, and a programmer that only knows the first pair will silently format its block addresses against the wrong half. For a read this is not a theoretical concern: an image that appears to be half zeros usually means the upper half was addressed through the lower bank’s registers.

    Region Address range Control
    Bank 1 0x08000000 – 0x0807FFFF FLASH_CTRL / FLASH_ADDR
    Bank 2 0x08080000 – 0x080FFFFF FLASH_CTRL2 / FLASH_ADDR2
    Protection bytes per sector EPP registers, one bit per sector
    Library range per sector sLib set-range and password

    The practical consequence is that a full read has to be planned in two halves with a register switch in the middle, and the switch is where bad dumps come from.

    The SRAM Byte That Moves The Map

    SRAM on this series is 384 KB as shipped and configurable up to 512 KB, with the split between flash and SRAM set through a system configuration byte — the vendor’s tool shows it as an EOPB0 field holding 384 KB or 512 KB. Change that byte and the boundary between the two memory types moves.

    For recovery this matters twice. It changes how much contiguous RAM a staging routine can use, and it changes what a compiled image expects: a project built for 512 KB of SRAM will not run on a part configured for 384. When we reassemble a working part from a dump, that byte is part of the reconstruction, not an afterthought.

    Four Kilobyte Sectors And A Block Erase

    Sector size here is 4 KB, larger than on the 256 KB parts, and this is the only series in the family where the vendor’s programmer offers a block erase alongside the sector erase. Both matter for interpreting a dump: a 4 KB sector that reads as 0xFF is a coarser statement than a 1 KB one, and a block erase explains large uniform gaps that would otherwise look like missing code.

    sLib At Megabyte Scale

    The library mechanism is unchanged: a sector-aligned range, a password, instruction fetch allowed, data reads returning 0xFF, and the exclusion of the first sector because the vector table is fetched as data. What changes is scale: with 256 sectors of 4 KB a vendor can protect a large middleware stack and still leave room for a customer application. A library spanning hundreds of kilobytes is normal here.

    Clearing it still requires the password and still erases the entire main array. On a megabyte part that is the whole product, which is why the operation is rarely attempted and a protected region here is usually resolved by other means.

    No Advanced Access Protection Here

    Unlike the smaller families, the F435 does not offer the irreversible advanced access protection mode. It offers whole-array access protection, which the vendor’s tool exposes through a protection byte, plus per-sector erase and program protection and sLib. For a recovery that is a meaningful difference: there is no permanent state in which the debug interface is destroyed, only states that erase everything when cleared.

    Why 288 MHz Changes The Timing

    At 288 MHz with a zero-wait-state arrangement, capture equipment that was adequate for a 96 MHz part starts missing events. We drop to a slower clock where the application permits, or capture on the peripheral side of the bus rather than the core side. Firmware that runs mostly from cache and prefetch is harder to fingerprint from outside than firmware that runs linearly.

    Sequence For A Full Read

    Configuration byte, access protection byte, EPP map, library range, then the unique ID, then bank one in two passes, then the register switch, then bank two in two passes, then a checksum computed by the part. The switch is repeated with a different supply setting on the second run so that a marginal read at the boundary cannot look consistent.

    Delivered as two bank images plus a merged binary, a sector map, and the configuration byte values needed to rebuild the part.

    The 100-pin version with the full external bus is at copying a protected AT32F435VGT7 flash; the same die with an Ethernet controller is covered under extracting encrypted AT32F437RGT7 code. Background on how flash differs from one-time-programmable memory is in this comparison, and commercial terms are on the services page.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F405RCT7: Two USB PHYs And One 256K Array

    The AT32F405RCT7 is the 64-pin, 256 KB member of Artery’s 216 MHz Cortex-M4F family, and it carries something most parts in this class do not: two USB controllers, each with an on-chip PHY. The high-speed block has 4 KB of dedicated buffer memory; the full-speed block is crystal-less in device mode. A design that uses both ends up with two independent data paths into the same 102 KB SRAM, and that arrangement is the first thing we map before touching the array.

    Two Controllers, Two Buffer Pools

    Neither USB buffer appears in a flash read. They sit peripheral-side, and their contents at the moment power drops are whatever the last transfer left behind. That matters when a customer asks whether the firmware is complete: a dump of the array gives code and constants, not runtime state, and on this part there are two separate places where runtime state lives.

    The SRAM split is worth knowing too. The flash-based part carries 96 KB plus a 6 KB block, and the first 48 KB is parity-checked. Parity does not protect against a read attempt, but it does tell you when a marginal supply has corrupted a capture.

    The Twenty Kilobyte Boot Block

    Twenty kilobytes of boot memory ship as a bootloader. One configuration step converts that region into ordinary user program and data memory, giving 256 plus 20 KB of usable space. Two boards with the same marking can therefore hold different amounts of code, and a read that stops at 0x08040000 may be stopping one block early.

    We ask for the memory map rather than assuming it. When the answer is unknown, the read runs to the top of the boot region and the last 20 KB is flagged as conditional in the report.

    Where sLib Can Sit

    sLib turns a password-protected range of the array into an execute-only library: instruction fetch works, data reads return 0xFF, and the range is set per sector. On this family it can be placed in main flash or in the boot block, but not in both at once, and it may not include the first sector because the vector table is read as data.

    That last rule is the one that decides most jobs. Sector zero and the first four kilobytes stay legible no matter how the library is configured, so the reset vector, the initial stack pointer and the startup code are always available as a sanity anchor.

    Sector Arithmetic At 256K

    Artery’s rule for the whole AT32F4 line is simple: 256 KB and above uses 2 KB sectors, below that uses 1 KB. Here that means 128 sectors, and the erase/program protection bytes map across them one for one. Reading those bytes, the sLib range registers and the access protection byte tells us the shape of the protection before any content is examined.

    Reading Order We Use

    Access and erase protection bytes first, then the 96-bit unique ID, then the array in two passes with a comparison between them, then the boot block if it is configured as user memory. The unique ID is not decoration: on a BOM that mixes three AT32 variants, it is how we prove which die the image came from.

    Where A Read Fails First

    The failure that wastes the most time is a library region that reads as 0xFF. A blank check reports empty flash, the technician concludes the part was erased, and the job is written off. It was never empty; the bus was simply refusing to answer.

    The second trap is the permanent one. The ICP tool offers an advanced access protection mode on this series that disables the debug interface and cannot be undone. Once that byte is set, no amount of tooling reopens the port, and the only remaining route is physical.

    Delivery

    The handover contains the raw binary with the original addresses, a repaired image where ECC or parity errors were corrected, a per-block confidence map, and a short note on which regions were protected and how that was resolved. If the boot block was configured as user memory, both the 256 KB image and the extended image are included so the linker script can be rebuilt either way.

    Related reading: reading a protected AT32F405CCT7 covers the 48-pin version of the same die, how program memory differs across MCU families explains why flash behaves unlike OTP, and what bypassing protection actually involves sets out the layers in order. Our service scope lists what we accept.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F421K8U7: The Five-Millimetre QFN, Not The Four

    Two markings that differ by one character can mean a different package outline and nothing else. The AT32F421K8U7 and the AT32F421K8U7-4 carry the same 64 KB of flash, the same 16 KB of SRAM and the same 120 MHz core; the first is a 5 mm QFN32 and the second a 4 mm QFN32. When a board is in front of us for a read, that distinction decides how the part is held, how it is decapsulated and, occasionally, whether it survives.

    Reading The Suffix

    Artery’s part numbering is regular enough to decode without a datasheet once the pattern is familiar.

    Field Meaning here Note
    K QFN32 package C is 48-pin, R is 64-pin, V is 100-pin
    8 64 KB flash 4 is 16 KB, 6 is 32 KB
    U QFN body T is LQFP, P is TSSOP
    7 -40 to +105 °C industrial range, not automotive
    -4 4 x 4 mm absent means 5 x 5 mm on this family

    The suffix rule catches people out because the plain U7 appears twice in the family table for different body sizes. On the F421 the 5 mm outline is the default and the 4 mm part is the exception, marked with the dash.

    Twenty-Seven Pins, Eleven Channels

    Inside a 32-pin leadless body the part still has two USARTs, two SPI/I²S blocks, two I²C buses, one advanced timer with three complementary pairs, five general-purpose timers, a comparator and a twelve-bit converter with eleven external channels. Compared with the 48-pin member, the difference is four ADC inputs and twelve GPIO. Nothing in the memory system changes.

    That is worth stating plainly for customers comparing quotes: the K8U7 is not a cut-down die, it is the same die with fewer bonds. The protection layout, the sLib granularity and the boot block are identical.

    What A Leadless Body Changes

    A QFN has no leads to clip. Every connection to the die has to be made through the pad array underneath, which means the board has to be removed first and the part re-mounted on a carrier before any in-system attempt is meaningful. On a 5 mm body the pads are also smaller than on the 4 mm part, so the carrier design has less margin.

    Once the part is on a carrier, the read follows the usual order: protection bytes, unique ID, array, comparison. The smaller body makes decapsulation slightly easier because there is less moulding compound to remove, and slightly riskier because the die occupies a larger fraction of the package.

    sLib On A 64 KB Array

    The library region is set in 1 KB steps here, and as everywhere in the family it cannot include sector zero. With sixty-four sectors total, a design that wants to protect a core algorithm typically locks the upper half and leaves the lower half for the customer’s application. That split is visible from outside: the readable portion ends at a 1 KB boundary, and everything above it returns 0xFF to a data read while still executing normally.

    The four-kilobyte floor applies as well. Whatever is protected, the first four kilobytes remain legible, and we use them to identify the compiler, the startup file and the vector layout before trusting anything else.

    Failure Modes We See On This Package

    Three recur. The first is mechanical: a pad lifted during removal, which is why we ask for a spare board whenever one exists. The second is a supply that is set from the datasheet’s minimum without accounting for the drop across a carrier, which makes the debug logic unresponsive and looks exactly like permanent protection. The third is a genuinely permanent byte — the advanced access protection mode offered on this series disables the debug interface for good.

    The three look identical from a tool prompt and completely different under a microscope, so the diagnosis is physical before it is electrical.

    Return Format

    A binary image with addresses, a sector map showing the library boundary, and a short statement of what could not be recovered. If the part had been configured with the boot block as user memory, we note the extra 4 KB and deliver the image at its full length.

    The 48-pin version is described under copying a locked AT32F421C8T7 heximal. For the 48-pin part in the F425 line, where the same body size carries a USB controller, see extracting locked AT32F425CCT7 software. Questions about a specific board go to our contact page.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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

  • AT32F425CCT7: What 64K Actually Leaves Readable

    Put the same question to the 48-pin member of the F425 line and the answer is arithmetic rather than physics. A 64 KB array with a 1 KB sector size has sixty-four protection decisions, and two of them are not available to the vendor: sector zero, which holds the vector table, and the rest of the first four kilobytes, which cannot be inside a library at all.

    Forty-Eight Pins, Thirty-Nine Signals

    The C-package brings out 39 GPIO against 55 on the 64-pin part, and ten of the sixteen ADC channels. The USB pair, the CAN pair, four USARTs and three SPI blocks are all still there, remapped onto fewer pads. For a read this is the ordinary trade: fewer observation points, same silicon. Where the 64-pin board can be entered through a loader on a spare UART, the 48-pin board sometimes cannot, and the part comes off.

    One thing that does not shrink is the USB device controller. It has 1280 bytes of buffer and runs without an external crystal in device mode, which is why this part shows up in dongles and small peripherals where there is no room for a resonator.

    The Four Kilobyte Floor

    Artery’s rules are explicit about two exclusions: the library may not include the first sector, and protected code must not sit in the first four kilobytes. The reasoning is mechanical, not arbitrary — the vector table is fetched as data, and a region that answers instruction fetches but returns 0xFF to data reads would break the part at the first interrupt.

    So four kilobytes always read back. On a 64 KB part that is six percent of the array, and it is the most valuable six percent at the start of a job: reset vector, stack pointer, startup code, the addresses of every interrupt handler the design actually uses, and usually the version string of the toolchain that built it.

    Sixty-Four Sectors, One Password

    Above that floor, protection is a range with a password. A vendor who wants to protect a motor control algorithm typically places the library in the upper half and leaves the lower half for the customer’s application code and parameters. That produces a very characteristic shape in a dump: readable code from address zero, a clean boundary at a 1 KB multiple, and 0xFF from there to the top.

    The boundary is a fact worth reporting precisely. It tells the customer where their own code ends, and it tells us how much of the array is genuinely unavailable rather than merely unused.

    Where Readable Code Ends

    Two configurations produce a boundary that is not a boundary. If the EPP bytes also lock the sectors above the library, a data read may fail differently — a protected-against-erase sector still reads, so the visible 0xFF run is shorter than the locked range. And if the whole-array access protection is set, nothing reads at all through the bus, including the four-kilobyte floor.

    Separating those three states from outside is the first task on every part in this family. It takes minutes and decides the method.

    USB Without A Crystal

    Crystal-less operation has a small consequence for recovery: the internal oscillator is trimmed and the trim values live in the part, so a board that boots over USB is telling us its clock path is intact. That is a useful health check before a read, and a reason to prefer a USB-based entry over a serial one when both are available.

    Reading A Part That Has Little To Hide

    Sixty-four kilobytes reads quickly. We run two passes with different supply settings and then have the part checksum its own array against a staging copy in the 20 KB of SRAM — a check that catches a marginal cell which would pass a comparison of our own two passes, because both would be wrong in the same place.

    The reported output lists the library range in sector numbers, the EPP map, whether the four-kilobyte floor was intact, and any run of 0xFF that could not be attributed to either erasure or protection.

    Handover

    A binary at original addresses, the sector map, and a one-page note on what the protection configuration was. If the 4 KB system block had been converted to user memory, the image is delivered at 68 KB and the note says the factory loader is gone.

    The 64-pin version, including why its density code does not exist, is discussed in readout of a locked AT32F425RCT7 binary. The 32-pin value-line part is at extracting protected AT32F421K8U7 program. Send board photographs and a schematic extract through contact and we will confirm the part before you ship it.

    Service scope and next steps

    If a part number does not appear on our previous work list, we still take it on: identify the device, read the protection state, and confirm the approach in a free evaluation. 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 firmware 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