CMP 170HX -> A100-80G: FF Burn Record
Complete record of the fuseless-fuse (FF) burns that unlocked this card, performed via voltage fault injection (VFI) on a self-built RP2040 PWMVID glitcher. Read this before attempting any further burns.
The RP2040 glitcher firmware itself is NOT part of this release. The burns
below only require the burn-window register state; how you reach it is up
to you – the bundled ga100vfi/ and pico-ga100vfi/ public VFI toolchains
are the recommended starting point (see “Burn-window prerequisites”).
Card identity
| Field | Value |
|---|---|
| SKU | CMP 170HX 8GB (Hynix HBM) |
| PCI ID | 10de:20c2 |
| BDF | 0000:01:00.0 |
| Die | GA100 (PMC_BOOT_0 = 0x170000A1) |
| VBIOS | 92.00.6D.00.0A stock -> 92.00.A0.00.03 A100 80GB (see cmp_a100_conversion.md) |
| Stock config | 8 GB / 70 SM |
| Unlocked config | 80 GB (81920 MiB) / 128 SM / PCIe Gen3+Gen4 x16 (ECC not burned – see Remaining work) |
Result verified: GSP boots clean, nvidia-smi shows 81920 MiB, CUDA reports
128 SMs / 79.3 GiB usable, memtest_vulkan passed. 128 SM exceeds retail A100
(108 SM) because this die has zero defective GPC/TPC units.
Method overview
- Glitch the NVVDD rail at the PEX_RST release edge (fuse-sense window) to reach the burn-ready state: DSOV=0, SBFE=0, EFP=1, PLMs open.
- Enable the write path (software override + open FUSEWDATA_PLM).
- Append FF records that clear the floorsweep
_DISABLEmasks down to the_DEFECTIVEmasks, plus the PCIe Gen3/4 gates, Gen4 MAGIC_D bits, NVLink disable, and the device-ID override (last-record-wins; no physical fuse is unblown). - Power-cycle so the fuse controller replays the new FF chain.
All burns are in the FF region (main-array rows 222-487). Floorsweep (SM/HBM/PES) and NVLink are chain 1; the PCIe Gen3/4 gates, the Gen4 MAGIC_D completion and the device-ID override are chain 2. DEBUGCTRL.RWL=0 (main array, NOT the RIR macro).
Burn-window prerequisites (checked by ff_burn.py before every write)
| Register | Offset | Required |
|---|---|---|
| FUSECTRL | 0x820000 | IDLE (0xE0040000) |
| CRC_STATUS | 0x820070 | 0x55 |
| DISABLE_SW_OVERRIDE_STATUS (DSOV) | 0x820084 | 0 |
| OPT_SECURED_BURN_FEATURE_ENABLE (SBFE) | 0x821108 | 0 |
| ENABLE_FUSE_PROGRAM_STATUS (EFP) | 0x820078 | 1 |
| FUSEWDATA_PLM | 0x8200F4 | 0xFFFFFFFF |
| FUSECTRL_PLM | 0x8200F8 | 0xFFFFFFFF |
| DEBUGCTRL.RWL | 0x820060 bit1 | 0 |
| target row | - | blank (0x00000000) |
The glitch gives DSOV=0/SBFE=0/EFP=1 and opens FUSECTRL_PLM, but FUSEWDATA_PLM stays restricted (0xFFFFFF8F) and must be opened each session (it is volatile; resets on power-cycle).
Reaching this state is out of scope for the burn tools: use a VFI rig of
your choice. The bundled ga100vfi/ (STM32 PWMVID) and pico-ga100vfi/
(RP2350 I2C + PEX_RST) toolchains dip NVVDD across the fuse-sense window at
the PEX_RST release edge and classify the result (“Goldilocks” = DSOV=0,
CRC=0x55, PLMs open); see their READMEs and Kate’s write-up (References).
Enable sequence (each session, after glitching)
sudo python3 sw_override.py --bdf 0000:01:00.0 # EN_SW_OVERRIDE (0x820040) = 1
sudo python3 open_wdata_plm.py --bdf 0000:01:00.0 # OPT_SECURE_FUSE_WDATA_WR_SECURE (0x82048C) = 0
# -> FUSEWDATA_PLM = 0xFFFFFFFF
FF record format
32-bit record: (data << 16) | (block << 6) | chain, bit 5 = 0 (FF).
- bits 0-4: chain (1 = TOP_FS floorsweep)
- bits 6-15: block (block N occupies chain bits 16N..16N+15)
- bits 16-31: 16-bit data
Burn protocol: FUSECTRL=0 -> FUSEADDR=row -> FUSEWDATA=value -> FUSECTRL=CMD_WRITE(2) -> poll IDLE -> CMD_READ row -> verify. 0->1 only.
Defect masks (burn targets = disable reduced to defective-only)
| Option | Defective | Defective units |
|---|---|---|
| GPC | 0x00000000 | none |
| TPC (all GPC) | 0x00000000 | none |
| FBP | 0x00000840 | 6, 11 |
| FBPA | 0x00C03000 | 12, 13, 22, 23 |
| FBIO | 0x00C03000 | 12, 13, 22, 23 |
| PES | 0x00000000 | none |
| ROP_L2 | 0x00C03000 | 12, 13, 22, 23 |
| SYS_PIPE | 0x00000000 | none |
Pass 1 — SM + HBM floorsweep (rows 293-301)
Cleared GPC/TPC/FBP/FBPA/FBIO disable masks. Derived by ff_derive.py
(plans are generated per-die, not shipped; the records below are the
burned reference).
| # | Row | Chain | Block | Old | New | Encoded |
|---|---|---|---|---|---|---|
| 0 | 293 | 1 | 5 | 0x9867 | 0x8007 | 0x80070141 |
| 1 | 294 | 1 | 6 | 0x6601 | 0x0601 | 0x06010181 |
| 2 | 295 | 1 | 7 | 0x0198 | 0x0180 | 0x018001C1 |
| 3 | 296 | 1 | 8 | 0xF91E | 0xF806 | 0xF8060201 |
| 4 | 297 | 1 | 11 | 0xF800 | 0x0000 | 0x000002C1 |
| 5 | 298 | 1 | 12 | 0x0FFF | 0x0000 | 0x00000301 |
| 6 | 299 | 1 | 14 | 0x0FF8 | 0x0000 | 0x00000381 |
| 7 | 300 | 1 | 15 | 0xF808 | 0xF800 | 0xF80003C1 |
| 8 | 301 | 1 | 19 | 0x4290 | 0x4200 | 0x420004C1 |
Option words changed:
- OPT_FBIO_DISABLE 0xC0330C -> 0xC03000
- OPT_FBPA_DISABLE 0xC0330C -> 0xC03000
- OPT_FBP_DISABLE 0x000852 -> 0x000840
- OPT_GPC_DISABLE 0x000023 -> 0x000000
- OPT_TPC_DISABLE_GPC0/1/5 0xFF -> 0x00
- OPT_TPC_DISABLE_GPC2/6/7 0x01 -> 0x00
- (GPC3/GPC4 TPC already 0x00)
Result after pass 1: GSP BOOT FAILURE
Card failed GSP firmware boot (failed to wait for GFW boot complete: 0x55,
progress 0x1) with both stock and cmpunlocker drivers. Cause: SMs were
enabled (GPC/TPC) but PES and ROP_L2 were still disabled — these blocks
are required for an SM to function (blog; chain-1 TOP_FS floorsweep includes
PES/ROP_L2). Incomplete record set, not marginal silicon.
Pass 2 — PES/ROP_L2 completion (rows 302-304)
Cleared PES (defective=0 -> fully enable) and ROP_L2 (-> defective-only).
Derived by ff_derive_pes.py (generated plan; records below are the reference).
| # | Row | Chain | Block | Old | New | Encoded |
|---|---|---|---|---|---|---|
| 0 | 302 | 1 | 15 | 0xF800 | 0x0000 | 0x000003C1 |
| 1 | 303 | 1 | 16 | 0x1C01 | 0x0000 | 0x00000401 |
| 2 | 304 | 1 | 20 | 0x1986 | 0x1800 | 0x18000501 |
Option words changed:
- OPT_PES_DISABLE 0x03803F -> 0x000000 (PES_DEFECTIVE = 0)
- OPT_ROP_L2_DISABLE 0xC0330C -> 0xC03000 (ROP_L2_DEFECTIVE = 0xC03000)
Blocks 17 (PES[23:21]), 19 (ROP[0]), 21 (ROP[23:17]) were already at target and needed no write — verified by full-field extraction across all blocks.
Result after pass 2: SUCCESS
Power-cycle -> GSP boots clean. 128 SM, 80 GB. memtest_vulkan passed.
Pass 3 — PCIe Gen3/Gen4 option gates (rows 305-307, chain 2)
Cleared the PCIe generation option fuses so the card advertises Gen3/Gen4
capability. Derived by ff_derive_pcie.py (generated plan; records below).
| # | Row | Chain | Block | Old | New | Encoded | Clears |
|---|---|---|---|---|---|---|---|
| 0 | 305 | 2 | 39 | 0x0782 | 0x0580 | 0x058009C2 | DISABLE_GEN3_SPEED (bits 1+9 candidates) |
| 1 | 306 | 2 | 47 | 0x0059 | 0x0051 | 0x00510BC2 | PCIE_MAGIC_BITS_D[25] Gen4 flag |
| 2 | 307 | 2 | 49 | 0x00E4 | 0x0024 | 0x00240C42 | BOOT_GEN23 + BOOT_GEN3 disable |
Verified shadows: OPT_DISABLE_GEN3_SPEED(0x820250)=0, MAGIC_D(0x820520) bit25=0, BOOT_GEN23(0x82057C)=0, BOOT_GEN3(0x820580)=0. Device Max went 2->4. Note: the block39 Gen3 bit identity is unresolved (blog: bit1 or bit9); both were cleared. Capability only – the link still needs the PHY enable (Gen2/Gen3 post-GSP sequence + retrain); see cmp_gen3.md.
Pass 4 — NVLink (row 308, chain 1)
| # | Row | Chain | Block | Old | New | Encoded | Clears |
|---|---|---|---|---|---|---|---|
| 0 | 308 | 1 | 23 | 0x0FEF | 0x0FE8 | 0x0FE805C1 | NVLINK_DISABLE bits 0-2 (SYS_PIPE bits 4-11 preserved) |
NVLINK_DEFECTIVE read 0x0 (no defective links), target 0x0. Derived by ff_derive_nvlink.py (generated plan). NVLink bring-up also needs the U11 hardware mod + an undocumented ROM-check bypass (blog) – the burn is necessary, not sufficient.
Pass 5 — Gen4 MAGIC_D capability completion (rows 309-310, chain 2)
Gen4 needed more than MAGIC_D bit25. MAGIC_D was 0x14680000 (bits 19,21,22,26,28) vs the A100 reference 0x00200000 (bit21 only): four extra bits {19,22,26,28}, matching Amogh’s “Gen4 needs four fuses.” The FF bit->MAGIC_D mapping is scrambled and undocumented (only bit25->block47 bit3 was known), so it was DERIVED EMPIRICALLY:
- Volatile MAGIC_D=0x00200000 (glitch window) lifted LnkCap to Gen4 (0x00456104), proving the bits gate Gen4 (tools/pcie_gen4_fuse_test.py).
- Burned block47 -> 0x0000 (row 309): MAGIC_D 0x14680000 -> 0x00280000 (cleared bits 22,26,28).
- Burned block46 bit13 (row 310): MAGIC_D 0x00280000 -> 0x00200000 (cleared bit19).
| # | Row | Chain | Block | Old | New | Encoded | Clears |
|---|---|---|---|---|---|---|---|
| 0 | 309 | 2 | 47 | 0x0051 | 0x0000 | 0x00000BC2 | MAGIC_D bits 22,26,28 |
| 1 | 310 | 2 | 46 | 0xA000 | 0x8000 | 0x80000B82 | MAGIC_D bit19 (block46 bit13) |
Derived with tools/ff_magic_derive.py (live block read + guarded burn). Result: MAGIC_D = 0x00200000 (A100-exact). This is a THIS-DIE empirical map; verify with the volatile test before burning another card.
Pass 6 — Device-ID override for A100 conversion (rows 311-312, chain 2)
Fused device ID 0x20C2 (CMP) -> 0x20B5 (A100 80GB PCIe) so a genuine NVIDIA-signed A100 ROM passes the boot gate (which checks VBIOS device ID against the fused ID). FF block stores device_id « 1: 0x20C2«1 = 0x4184 -> 0x20B5«1 = 0x416A. Burned via ff_magic_derive.py (auto blank-row pick); records below are the reference.
| # | Row | Chain | Block | Old | New | Encoded | Changes |
|---|---|---|---|---|---|---|---|
| 0 | 311 | 2 | 37 | 0x4184 | 0x416A | 0x416A0942 | DEVIDA 0x20C2 -> 0x20B5 |
| 1 | 312 | 2 | 38 | 0x4184 | 0x416A | 0x416A0982 | DEVIDB 0x20C2 -> 0x20B5 |
After these burns the card cold-boots and enumerates as 10de:20b5 (A100) with the CMP VBIOS still on it – it POSTs but is NOT functional (wrong BIOS for the fused ID); it IS flashable. Normal in-band nvflash then accepts the genuine A100 ROM (IDs match); a HW SPI flasher is recommended for backup/recovery but not required. Full conversion + recovery: cmp_a100_conversion.md / a100-flash/README.md.
Total burns: 20 records (rows 293-312)
| Chain | Rows | Purpose |
|---|---|---|
| 1 (TOP_FS) | 293-304, 308 | SM/HBM floorsweep + PES/ROP_L2 + NVLink |
| 2 (CHIPLET_LOGIC) | 305-307, 309-310, 311-312 | PCIe Gen3/4 gates + Gen4 MAGIC_D + DEVID |
Blank rows remaining: 313-487.
Tools (in tools/)
Plan JSONs are NOT shipped: the ff_derive* tools generate them per-die from
your own FF dump + defect snapshot. tools/ff.json is the pre-burn reference
dump of THIS card (also the ff_restore.py input); the record tables below
are the burned reference.
| Tool | Purpose |
|---|---|
| ff_dump.py | Read-only FF row dump + decode (CMD_READ) |
| ff_derive.py | Pass-1 derivation (SM/HBM masks) |
| ff_derive_pes.py | Pass-2 derivation (PES/ROP_L2) |
| ff_burn.py | Guarded single-record burn (dry-run default, –confirm + type BURN) |
| sw_override.py | EN_SW_OVERRIDE = 1 |
| open_wdata_plm.py | Open FUSEWDATA_PLM |
| ff_restore.py | Derive restore records to revert to stock |
| ff_magic_derive.py | Empirical MAGIC_D/DEVID bit derivation + guarded burn (–block N, –restore) |
| pcie_gen4_fuse_test.py | Volatile MAGIC_D write test (glitch window; verifies DSOV=0) |
| pcie_gen4_probe.py | E1 Gen4 PHY cap-lift (0x88CE0/CE4 + A100 CYA_0) |
| pcie_bandwidth.py | libcuda H2D/D2H bandwidth test (no CUDA toolkit needed) |
| pcie_phy_probe.py / pcie_phy_enable.py | Read-only PHY dump / runtime PHY experiments |
| set_pcie_speed.c / cmp-gen3.sh / cmp-gen4.sh | RM SET_PCIE_SPEED tool + staged training scripts (live in cmpunlocker-v0.5-oc-80g/tools/, not here) |
Reverting (if needed)
FF burns are permanent but reversible by appending restore records
(last-record-wins). ff_restore.py derives records carrying the original
block values (from pre-burn ff.json) at rows 313+. Re-glitch for the
window, burn the restore records, power-cycle -> stock config.
Safety rules
- Every burn is IRREVERSIBLE (0->1 OTP). ff_burn.py verifies all prerequisites and the read-back; it ABORTS on any failure and never retries.
- Never retry a failed/partial burn (risk of cell damage).
- The burn window (DSOV=0 etc.) is volatile; re-glitch each session.
- DEBUGCTRL.RWL must be 0 for main-array FF burns (RWL=1 routes to RIR macro and can wedge the die if left set).
- Burn only blank rows; verify the target row reads 0x00000000 first.
Remaining work / known limitations (not yet done)
- Fuse-set completeness: NOT 100% confident passes 1-6 are all the fuses that need burning. They are what this card needed for the observed results; other option words (NVDEC, MIG, …) are untested. A working subset, not a proven-complete fuse map.
- 128 SM / full FMA speed are driver-dependent: the 128 SM result here used cmpunlocker TPC/GPC overrides on the CMP VBIOS. With the A100 VBIOS the GSP floorsweeps to 124 SM natively; 124 -> 128 needs cmpunlocker-a100-minimal –sm-unlock (volatile pre-boot override), and full FP32 FMA speed needs its always-on SM_SPEED override EVEN with the A100 BIOS – the SM_SPEED_SELECT throttle fuse is unchanged by the conversion.
- NVLink bring-up: the NVLINK_DISABLE burn (row 308) is done, but actual NVLink still needs the U11 hardware mod + an undocumented ROM-check bypass (blog). Bring-up was never tested. The fuse alone is necessary, not sufficient.
- NVDEC / MIG: additional option words, untested.
- ECC: no ECC fuse was ever burned (passes 1-6 cover floorsweep, PES/ROP_L2, PCIe gates, NVLink, MAGIC_D, DEVID only). Pre-conversion ECC was the cmpunlocker volatile software override; the GPU-side ECC datapath is fused off on CMP (cmprir/gpcprobe). Post-conversion ECC is COMPLETELY UNVALIDATED AND UNTESTED – the A100 InfoROM carries the ECC object, but nothing here proves ECC works. Do not rely on it.
- Cooling + sustained validation: the card was weak-cooled during the PCIe work; run extended compute + memory stress and watch for Xid errors. SMs can be reduced via cmpunlocker CTRL_OPT_TPC/GPC overrides (volatile, no burn) or power/clock limits for heat.
Final state (A100 conversion)
PCIe Gen3 x16 (13.6 GB/s) and Gen4 x16 (24.7/26.3 GB/s) were both proven via the post-GSP sequences + retrain. The final permanent conversion is the device-ID FF override (pass 6) + flashing a genuine NVIDIA-signed A100 80GB PCIe ROM, giving native Gen4 x16 with correct reporting and 300W. See cmp_a100_conversion.md / a100-flash/README.md.
References
- Blog: https://blog.kate.land/posts/using-voltage-glitching-to-unlock-the-a100
- ga100vfi (fuse map, classifier): github.com/kate-land/ga100vfi
(vendored copy bundled in
ga100vfi/) - pico-ga100vfi (RP2350 I2C/PEX_RST port): github.com/dalzyu/pico-ga100vfi
(vendored copy bundled in
pico-ga100vfi/) - cmpunlocker: github.com/amoghmunikote/cmpunlocker
- Local research: cmprir/ga100-fuse-re/ (FINDINGS.md, artifacts/)