I tried to read the memory's flash content with my ft2232h.
I wrote a script to emulate the read's chronogram with pyftdi but i haven't able to communicate with the flash.(I don't receive flash's response)
Any idea of what happen?
from pyftdi.spi import *
fd = open('dump','wb')
spi = SpiController()
spi.configure('ftdi://ftdi:2232:2:7/1')
slave = spi.get_port(cs=0,freq = 10E6)
address = b'\x00\x00\x00'
read_command = b'\x03'
release_deep_power = b'\xAB'
slave.write(release_deep_power)
slave.write(read_command + address)
while 1:
data_out=slave.read(1)
fd.write(data_out)
In theory with a single read instruction you can dump the whole memory due to a internal counter