I am trying to detect Micron chip NAND ID using FTDI FT2232H mini module board and TSOP 48 Socket. First I had Connected pins CN3-pin 1 & 3 for getting power in bus powered mode then I had connected CN2 - pin 1 & 11, CN2-pin 3 & CN3-pin 12 to get correct 3.3 VDC operating voltage for VCCIO on the FT2232H chip. After making Initial connection of FT2232H I had started to connect FT22323H pins and corresponding TSOP48 socket pin like: Data Lines CN2- Pin 7,10,9,12,14,13,16 & 15 to corresponding TSOP48 socket pin no 29,30,31,32,41,42,43 & 44 Data Types bits: CN2-Pin 24, 23 & 26 to corresponding TSOP48 socket pin no 19,16 & 17 Synchronization and control CN3- pin 19, 18, 24 & 23 to corresponding TSOP48 socket pin no 9,7,8 & 18 Power CN2-pin 5 & 2 to corresponding TSOP48 socket pin no 12 &13
After completing all hardware connection then I plug USB to my computer after installing FTD2XX driver and library to detect NAND ID using writing python code on command terminal. But my NAND flash memory chip is not responding. I had tried python code but always got some garbage value like fafffaaa (after reading 4 byte)
import sys, ftd2xx as ftd
d = ftd.open(0) # Open first FTDI device
print(d.getDeviceInfo())
d.setBitMode(0x0, 0x02) # MPSSE mode
reset_command = bytes([0xFF])
d.write(reset_command)
init_command = bytes([0xAA])
d.write(init_command)
read_command = bytes([0x9F])
address = bytes([0x00])
d.write(read_command + address)
# Read Data
data = d.read(4)
d.close()
print(data.hex())
After spending 2 months on it still my nand flash memory chip is not responding. I had tried with Micron, TOshiba, Hynex. I didn't understand what's going wrong. If someone can help me to figure out this issue then it will be great help for me. Thanks