PostHeaderIcon Retrieve Locked GD32F303ZGT6 Software: Full 1 MB Image

The GD32F303ZGT6 is the top of the range here: 1 MB of flash in an LQFP144 body, the most code and the most to lose if the owner is locked out. To retrieve the locked GD32F303ZGT6 software you capture the entire image past the level-1 security, verify it completely, and deliver a file that is the whole device — not a partial guess and not a mass-erased blank where the firmware used to be.

The whole device, not a region

A 1 MB array is addressed linearly from 0x08000000 with the option and information blocks held separately by the FMC. At level 1 the entire array is hidden behind one gate; there is no open region to start from, so a partial or sector-by-sector “creative” read cannot work. The retrieval has to open the gate for the full image at once. The recovery path is the same early-boot fault injection used on every member of the line, only longer and verified more carefully because there is more to lose.

Reading a megabyte reliably

At this size the capture is the main risk: a glitch that closes the port mid-read could waste a pass. The image is therefore read in blocks and each block is checksummed against a second pass before the next is taken, so a failure costs one block, not the whole job. The read is the most careful we do, because a 1 MB miss is the most expensive to repeat. The LQFP144 fixture holds the large part steady through the long read, and the verification is what lets a 1 MB recovery be trusted. If the lock is level 2 the read must be done at the die after a decapsulation rather than electrically, which changes the bench but not the verification.

Checking the software is whole

After capture the image is scanned for the vector table, the interrupt entries and the application boundaries to confirm it is genuine and complete. A 1 MB image that passes these checks is delivered as a binary plus a map of the boot and information regions, so you can see not just the code but where it sits. If the aim is a working unit, the file is written to a blank part with the lock cleared, as described in our restore notes and the duplicate workflow.

What the largest part costs and gives

More flash means a longer, more exposed read but also more internal redundancy to verify against, so a silent error is less likely than on a tiny device. The table shows the retrieval decision, which is identical in shape to the smaller parts and differs only in scale.

SPC level Electrical read Verified image
0 – open direct yes
1 – read lock glitch, blocked read yes
2 – chip lock decap required yes

Why the complete image beats a running part

Owners sometimes ask for a clone when what they actually need is the image, and the difference matters more on a 1 MB part than a small one. A clone gives you a running unit but hides the structure: you cannot see the boot layout, the encrypted regions or the option bytes that caused the lock. The complete image gives you all of that, and from it you can build as many clones as you want, or study the design, or simply archive it against the day the last working unit dies. On a part this large the image also outlives the original hardware, which a clone does not: the drive outlives the bench, the bench outlives the drawer of parts. We deliver the image first and treat the clone as an option, because once you have the whole 1 MB you have already won — the protective clone is then a formality. Recovering locked GD32F303ZGT6 software as a verified, complete array is the deliverable; a running copy is just one of the things you can do with it afterward.

Handing the software back

The complete 1 MB image is delivered with the extracted option bytes so you can see the original lock state, and with a disassembly where analysis is the goal. This is how we retrieve locked GD32F303ZGT6 software without a mass erase — the largest part in the family, recovered whole and returned intact, ready for the protective clone that may follow.

Comments are closed.