Open biboc opened 1 year ago
I read my SPI memory with
The flash.py program reads only two bytes, why? In the code, I don't get why you replace size variable at line https://github.com/jamesbowman/spidriver/blob/master/python/samples/flash.py#L97
if '-r' in optdict: read(0) chunk = 8 * 1024 size,chunk = 128,128 with open(optdict['-r'], "wb") as f:
By commenting the line size,chunk = 128,128, it works
size,chunk = 128,128
I read my SPI memory with
The flash.py program reads only two bytes, why? In the code, I don't get why you replace size variable at line https://github.com/jamesbowman/spidriver/blob/master/python/samples/flash.py#L97
By commenting the line
size,chunk = 128,128
, it works