FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: Reading EEPROM memory with FT4222H bridge  (Read 138 times)

medbsl

  • Newbie
  • *
  • Posts: 1
    • View Profile
Reading EEPROM memory with FT4222H bridge
« on: October 02, 2020, 10:28:50 AM »

I would like to read an EEPROM Memory (SPI Flash Winbond) using an FTDI USB/SPI bridge (FT4222H). I developed a c++ application that connects to the FTDI and reads data from the memory(and using the FTDI library). I am using the continuous mode read because it's much faster than the buffer read. The problem is that the FTDI transfer limit is 64Kbytes and the total memory is 256MBytes so I have to read 64Kbyte in a loop of 4096 times and then save it in a file. The problem is that each time you have to send the OpCode of reading memory followed by 7 Dummy Bytes, which I lost each time 8Bytes in each 64Kbyte.

I tried to read less then 64Kbye (for example 60Kbyte +8Byte) but I realize that the data was corrupted and is not properly read. Also, I tried to fix the starting reading page in each 60Kbyte but the same, the data was corrupted.

Does anyone have an Idea about that or he reads data through an FT4222H bridge?

And Thank you very much :)
Logged

FTDI Community

  • Administrator
  • Sr. Member
  • *****
  • Posts: 484
    • View Profile
Re: Reading EEPROM memory with FT4222H bridge
« Reply #1 on: October 05, 2020, 04:40:19 PM »

Hello,

We will need some additional information in order to help you on this issue:

1.            What is the winbond spi flash model number?
2.            What is the operating IO mode (single/dual/quad)?
3.            Can you request provide your source code?

Please send us an email with this information:

https://www.ftdichip.com/FTContact.htm

Best Regards,
FTDI Community
Logged