Re: USB Bulk Reads via Cypress EZ-USB FX2



jetmarc@xxxxxxxxxxx wrote:
"usb_submit_async: submitting request failed, win error: The parameter
is incorrect"

So far, we have established that the problem is on the peripheral (8051
FX2) side, and *not* on the host side.

How have you established that?


We tested a different device with it's own firmware. The program used to load the .HEX file into the device memory, (r)enumerate USB devices and issue vendor requests etc was still the same.

This setup worked fine and so therefore the problem was not with the host end of things.

What parameters do you use to call the driver function?


Well, here's the function call:


r = usb_bulk_read(hCurrent_reader, 0x86, buffer, USB2_BUFFER_SIZE, 1000);
if (r != USB2_BUFFER_SIZE){
printf("Bulk Read failed (%d).\n",r);
printf("%s\n",usb_strerror());
} else {
printf("Bulk read success\n");
}

You may almost certainly require more specific information; if this is so then please ask.

Thank you,
Gavin Brewer.
.



Relevant Pages

  • VINA eLink-208
    ... I ran nmap -p 1-65535 against a host, and it came back with port 23 open. ... is supposed to be an interactive session as a static page: ... Too many incorrect logins...login disabled ... Incorrect login... ...
    (Pen-Test)
  • Re: VINA eLink-208
    ... you just telnet to its public ip. ... I ran nmap -p 1-65535 against a host, and it came back with port 23 open. ... Too many incorrect logins...login disabled ... Incorrect login... ...
    (Pen-Test)
  • Re: routing to two subnets over the same interface
    ... There was a typo in the dhcp table that caused the host ... I was trying to connect to as my test target to have an incorrect ...
    (comp.unix.solaris)
  • Re: USB Bulk Reads via Cypress EZ-USB FX2
    ... is incorrect" ... FX2) side, and *not* on the host side. ... What parameters do you use to call the driver function? ...
    (comp.arch.embedded)
  • Re: Must USB Iso transfer use selectInterface ?
    ... I find that the transfer to host always use DATA0, ... transfer in a microframe.....but FX2 seems that "can only reset toggle" ...
    (microsoft.public.development.device.drivers)