dumpflash
dumpflash copied to clipboard
Low-level NAND Flash dump and parsing utility
This PR adds support for computing the four 512-byte subpage ECC values and includes the full 24-bit ECC. It also attempts to correct any detected errors during the `check_ecc` phase.
When running with an image file there is an error in the call to `ord()` on the body: ``` % python3 dumpflash.py -i raw.rom -P 0x2000 -O 64 --bp 64...
`python2 dumpflash.py` ``` Traceback (most recent call last): File "dumpflash.py", line 53, in flash_image_io = flashimage.IO(options.raw_image_filename, options.start_offset, options.length, options.page_size, options.oob_size, options.pages_per_block, options.slow) File "/home/dev/REVERSING/dumpflash/dumpflash/flashimage.py", line 24, in __init__ self.SrcImage =...
In lines 393 and 399 in flashdevice.py `self.PageSize/2` results in count becoming a real, causing `TypeError: 'float' object cannot be interpreted as an integer` when reading the chip I've changed...
The flashdevice.py is missing a lot of functions as I have installed the latest pyftdi. Could anybody please update the flashdevice.py that works with the latest version of pyftdi? or...
Hi, I have a couple of questions: What Linux Distribution should work ? I tested both Ubuntu 18.04 and 20.04. I already found that I should use pyftdi v0.48.3, otherwise...
=======old version==== size ok====== ./run2.7.sh -i Full ID: 2CDA90956000 ID Length: 6 Name: NAND 256MiB 3,3V 8-bit ID: 0xda Page size: 0x800 (2048 Byte) OOB size: 0x40 (64 Byte) Page...
The program time for 3D takes a long time. Is there any to make is faster? Like whole block write like erase? Or make specific def for 3d so that...
From the documentation and the code it seems like only small-block devices are supported..? what needs to be changed other than the command set defined in the flashdevice_def to work...