We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following ouput when I executed the nand-decoder script:
./nand_dump_decoder.sh -i /chipoff/ -o test.bin -m ATMEL --atmel-config
[] Found one binary input file (138412032 bytes) [] Using ECC mode ATMEL [*] Used configuration Block size: 131072 bytes (64 pages) Page size: 2048 bytes Sector size: 512 bytes Spare size: 64 bytes ECC offset: 36 bytes ECC errors: 4 errors per sector (max.) ECC bytes: 7 bytes per sector Use ECC: True File offset: 0x0 (skip 0 blocks) Traceback (most recent call last): File "nand-dump-tools/nand_dump_decoder.py", line 1425, in ecc_method(input_files, args.outfile, config) File /nand-dump-tools/nand_dump_decoder.py", line 158, in atmel_error_correction bch = bchlib.BCH(config['ecc_polynom'], config['ecc_errors'], False) RuntimeError: unable to inititalize bch, invalid parameters?
Do you have any suggestion? Thanks in advance.
The text was updated successfully, but these errors were encountered:
Been slamming my head into this for the better part of a day. It appears that when bchlib moved to version 1.0.0, it changed everything about the lib.
Run 'pip uninstall bchlib' and then 'pip install bchlib==0.7'
This change worked for me.
Sorry, something went wrong.
No branches or pull requests
I have the following ouput when I executed the nand-decoder script:
./nand_dump_decoder.sh -i /chipoff/ -o test.bin -m ATMEL --atmel-config
[] Found one binary input file (138412032 bytes)
[] Using ECC mode ATMEL
[*] Used configuration
Block size: 131072 bytes (64 pages)
Page size: 2048 bytes
Sector size: 512 bytes
Spare size: 64 bytes
ECC offset: 36 bytes
ECC errors: 4 errors per sector (max.)
ECC bytes: 7 bytes per sector
Use ECC: True
File offset: 0x0 (skip 0 blocks)
Traceback (most recent call last):
File "nand-dump-tools/nand_dump_decoder.py", line 1425, in
ecc_method(input_files, args.outfile, config)
File /nand-dump-tools/nand_dump_decoder.py", line 158, in atmel_error_correction
bch = bchlib.BCH(config['ecc_polynom'], config['ecc_errors'], False)
RuntimeError: unable to inititalize bch, invalid parameters?
Do you have any suggestion? Thanks in advance.
The text was updated successfully, but these errors were encountered: