Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastTransfer doesn't work #30

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 2 comments
Open

FastTransfer doesn't work #30

GoogleCodeExporter opened this issue Mar 3, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

FastTransfer is called with pointer to a non empty output buffer, and an input 
buffer, transfer size : 2 bytes.

Expecting a 2-byte SPI transaction, but only the start and stop condition (CS 
going down and then up) appear on a logic analyzer.
Function returns MPSSE_FAIL.

Code :

    uint8_t outbuf[2];
    uint8_t inbuf[2];
[...]
    outbuf[0] = READ_ACCESS | (address & 0x7F);
    outbuf[1] = 0x00;
    i = Start(mpsse);
    j = FastTransfer(mpsse, (char *)outbuf, (char *)inbuf, 2);
    k = Stop(mpsse);


Using libmpsse 1.3 with a FT2232H on a Linux ARM system (Pcduino).


An similar subroutine calling
    j = FastWrite(mpsse, (char *)outbuf, 2);
is working properly.


Original issue reported on code.google.com by [email protected] on 24 Jul 2013 at 7:18

@GoogleCodeExporter
Copy link
Author

Looking at the code I think I see the issue. Will verify ASAP.

Original comment by [email protected] on 1 Oct 2013 at 7:12

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

This problem is not solved yet?

Original comment by [email protected] on 9 Apr 2014 at 11:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant