I'm having trouble finding example code for libftdi mpsse (SPI) mode

This is not a home problem, although it is a work problem. Where months ago, I would just write a specification, and the boss would contract, the money would be difficult. So I try to do it myself.

I am a weak C-encoder, and I was lucky if gcc spat out something that would work without segfault, or sometimes nothing at all. However, I can handle it. Libftdi is built, I carefully reviewed its sample executable files / code and documentation. But I'm still lost.

Does anyone know of a software project that uses its MPSEE mode that is connected to an SPI device? Is anyone here enough to provide an example? I really can take help. I don’t need it to be presented to me on a silver platter, but I have problems even from the very beginning. If I could even figure out how to initialize it and send a byte to the chip on the other side of the FTDI ic, I think I can manage to get my way through it.

Any help was appreciated.

+4
source share
1 answer

Flashrom may use SPI FT2232 mode: http://flashrom.org/Downloads

+1
source

All Articles