我无法找到 libftdi 的 mpsse (SPI) 模式的示例代码 [英] I'm having trouble finding example code for libftdi's mpsse (SPI) mode

查看:33
本文介绍了我无法找到 libftdi 的 mpsse (SPI) 模式的示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这不是家庭作业问题,尽管这是一个工作问题.几个月前,我会写一份规范,老板会把它承包出去,钱很紧.所以我正在尝试自己做.

This is not a homework problem, though it is a work problem. Where months ago, I would have just written up a specification and the boss would have contracted it out, money's tight. So I'm trying to do this myself.

我是一个弱 C 编码器,如果 gcc 吐出一些可以在没有段错误的情况下运行的东西,或者有时根本没有任何东西,我就很幸运了.不过,我管.Libftdi 已构建,我仔细阅读了它的示例可执行文件/代码和文档.但我还是迷路了.

I'm a weak C coder, and I'm lucky if gcc spits out something that will run without segfaulting, or sometimes anything at all. Still, I manage. Libftdi is built, I've carefuly perused both its example executables/code, and the documentation. But I'm still lost.

有谁知道使用 MPSEE 模式并连接到 SPI 设备的软件项目?这里有没有人足够聪明来提供一个例子?我真的可以使用帮助.我不需要把这个放在银盘上递给我,但我什至无法开始.如果我什至能弄清楚如何初始化它并向 FTDI ic 另一侧的芯片发送一个字节,我想我可能会设法解决它.

Does anyone know of a software project that makes use of its MPSEE mode, that's hooked into an SPI device? Is anyone here slick enough to provide an example? I could really use the help. I don't need this handed to me on a silver platter, but I'm having trouble even getting started. 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 might manage to muddle my way through it.

感谢任何帮助.

推荐答案

Flashrom可以使用FT2232 SPI模式:http://flashrom.org/下载

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

这篇关于我无法找到 libftdi 的 mpsse (SPI) 模式的示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆