Code: Select all
import uctypes
ba=uctypes.bytearray_at(0x10000000,65536)
flash_ic=flash_drv.flash(icport,flash_cs)
flash_ic.readblocks(0,ba)
Traceback (most recent call last):
File "flash_drv.py", line 107, in readblocks
OSError: [Errno 110] ETIMEDOUT
if i use
Code: Select all
ba=bytearray(4096)
flash_ic=flash_drv.flash(icport,flash_cs)
flash_ic.readblocks(0,ba)
a quick note the 65536 I have reduced to 4096 errors still remain, also the flash_drv follows the defined block device examples.