Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cornelus@dell:~/dumpflash$ sudo python3 dumpflash.py
- Traceback (most recent call last):
- File "dumpflash.py", line 53, in <module>
- 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/cornelus/dumpflash/flashimage.py", line 24, in __init__
- self.SrcImage = flashdevice.IO(slow)
- File "/home/cornelus/dumpflash/flashdevice.py", line 56, in __init__
- self.__get_id()
- File "/home/cornelus/dumpflash/flashdevice.py", line 157, in __get_id
- flash_identifiers = self.__read_data(8)
- File "/home/cornelus/dumpflash/flashdevice.py", line 141, in __read_data
- return self.__read(0, 0, count)
- File "/home/cornelus/dumpflash/flashdevice.py", line 100, in __read
- return data.tobytes()
- AttributeError: 'bytearray' object has no attribute 'tobytes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement