Coder Social home page Coder Social logo

FT(2)232H Dual/Quad SPI about flashrom HOT 5 OPEN

flashrom avatar flashrom commented on May 24, 2024
FT(2)232H Dual/Quad SPI

from flashrom.

Comments (5)

c0d3z3r0 avatar c0d3z3r0 commented on May 24, 2024 1

One year is over, so it's time for a new comment :'D
Sync FIFO requires the RD and WR pins to be driven... so that is not possible.

from flashrom.

dhendrix avatar dhendrix commented on May 24, 2024

I took a quick look at the FT2232H datasheet (http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf) and didn't see a way to reconfigure the IO pins to work together to transfer bits in a single direction. I think the hardware support is simply lacking for that programmer.

LMK if you spot anything that might be of use, otherwise we can close this issue.

from flashrom.

c0d3z3r0 avatar c0d3z3r0 commented on May 24, 2024

Hi, I am sorry for the delay.
Since flashrom uses bitbang mode I think it wouldn't be that hard to add optional one/three more IO pins. (EDIT: After reading some more in the data sheet I'm not sure about this anymore.)

However, it seems FT(2)232H's FT1248 mode is exactly what we're looking for as it implements SPI with 1-8 bit wide data transfer but I have no clue what to do with that MISO input...

Page 22 here:
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232H.pdf

and this one:
http://www.ftdichip.com/Support/Documents/AppNotes/AN_167_FT1248_Parallel_Serial_Interface_Basics.pdf

from flashrom.

deeplyarnab avatar deeplyarnab commented on May 24, 2024

For FT2232H, can we implement it using Sync FIFO mode?
Page 14 & 27 Specifies Clock output Frequency in this mode as 60MHz so should work with QSPI supported chips (W25Q128FV itself supports 104MHz). Bitbang or the MPSSE protocol should be a painful option with 30Mhz or lower clocks & adaptive clock (if I'm not missing something).

from flashrom.

saraazizi76 avatar saraazizi76 commented on May 24, 2024

i have a problem . i wanna use ft2232_spi programmer , but when i connect this programmer to my laptop and run this command "./flashrom -r ../output_EEPROM -p ft2232_spi" in the terminal i got this error"Unable to open FTDI device: -3 (device not found).
Error: Programmer initialization failed."

Hi, I am sorry for the delay.
Since flashrom uses bitbang mode I think it wouldn't be that hard to add optional one/three more IO pins. (EDIT: After reading some more in the data sheet I'm not sure about this anymore.)

However, it seems FT(2)232H's FT1248 mode is exactly what we're looking for as it implements SPI with 1-8 bit wide data transfer but I have no clue what to do with that MISO input...

Page 22 here:
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232H.pdf

and this one:
http://www.ftdichip.com/Support/Documents/AppNotes/AN_167_FT1248_Parallel_Serial_Interface_Basics.pdf

from flashrom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.