File:CMP-170HX-ff-calc-2026-11-21.py
More actions
CMP-170HX-ff-calc-2026-11-21.py (file size: 22 KB, MIME type: application/x-env)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.
ff_calc.py: a floorsweep and FF record calculator for the 8 GB card, posted by @meatsus on 2026-11-21 on the cmpunlocker Discord (the post). A Python script that reads a card's fuse rows and option registers, decodes the floorsweep, SM-speed and device-ID state, and computes the FF records needed for a chosen target (memory, shaders, SM speed, PCIe, NVLink, device ID), as a plan table and an optional burn sequence. Its header says it is read-only: it issues only read commands to the fuse controller and never burns. It writes a per-card text file named by the card's die ID, which a separate burn tool reads; that file identifies the card, so do not post it publicly. Every card needs its own plan: see Unlock without bricking. Member-provided, not verified by the site: cmp.wiki has not run or tested it; use it at your own risk. No licence was stated.
Warning It writes the fuse controller's command and address registers (FUSECTRL, FUSEADDR) through Python's struct.pack_into on a BAR0 mapping, and reads registers through struct.unpack_from. On CPython pack_into first stores zero and then writes the value one byte at a time, and unpack_from reads one byte at a time. The zero is the idle command (CMD=0), not a write command, so by itself it burns nothing; but the byte-split write of the read command reaches FUSECTRL while the read it has just started is running, with an effect nobody has measured. This comes from a code review of the script, not a hardware test (Reported). The fix is one aligned 32-bit store or load per register through memoryview(mm).cast("I"), with the view released before mm.close(); os.pwrite on the sysfs resource0 file is not a fix. The other tools with the same pattern and the fix in full: Cmpunlocker forks#Warning: BAR0 register access through struct.pack_into. Why one store per register matters: PCIe Gen4 on a burned 8 GB card#One store per register write.
Download: CMP-170HX-ff-calc-2026-11-21.py (22.4 KB)
Version: as posted on 2026-11-21
Upstream source: the post by @meatsus on the cmpunlocker Discord
sha256: dcd499b566a407c53b518e98bdcd56caf072a3a2148ad369cfa89aa18def5e85(matches the hash published upstream)
Uploaded by: @ImportBot on 2026-11-22 14:38 UTC
Member-provided, not verified by the site.
- File: 22,936 bytes, sha256
dcd499b566a407c53b518e98bdcd56caf072a3a2148ad369cfa89aa18def5e85.
Reported Source: @meatsus, 2026-11-21
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment | |
|---|---|---|---|---|
| current | 14:38, 22 November 2026 | (22 KB) | ImportBot (talk | contribs) | Member-provided file, delta-1122 |
You cannot overwrite this file.
File usage
The following page uses this file: