Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Stephan Esterhuizen
Ah yes, everything works now. See below: > On Fri, 9 Feb 2007, Stephan Esterhuizen wrote: > > > My usbmon shows the following: > > > > --- (1) Test for 12 bytes TX/RX _without_ writing the extra 1 byte bulk > > --- packet --- > > (12 byte tx/rx: run program for first time) > > eb13c640 42687653

Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Stephan Esterhuizen wrote: > My usbmon shows the following: > > --- (1) Test for 12 bytes TX/RX _without_ writing the extra 1 byte bulk > --- packet --- > (12 byte tx/rx: run program for first time) > eb13c640 4268765364 S Co:028:00 s 00 09 0001 0 > eb13c640 4268765

Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Stephan Esterhuizen
This is even more bizarre, the output below is from usbmon when I do two 12-byte writes/reads within the same program (in the previous example I posted I did 2 12-byte writes/reads by calling my program twice). --- (2x 12-byte writes/reads within the same program) eb0e9cc0 1713314624 S Co:030:00 s

Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Stephan Esterhuizen
Pardon the very long lines. This has been fixed now. My usbmon shows the following: --- (1) Test for 12 bytes TX/RX _without_ writing the extra 1 byte bulk --- packet --- (12 byte tx/rx: run program for first time) eb13c640 4268765364 S Co:028:00 s 00 09 0001 0 eb13c640 4268765473 C Co

Re: [linux-usb-devel] FX2 Bulk In/Out fails with bulkloop.hex

2007-02-09 Thread Alan Stern
On Fri, 9 Feb 2007, Stephan Esterhuizen wrote: > I'm using Cypress bulkloop.hex firmware on an fx2lp (CY7C68013A) with simple > host-side user-land code to transmit data to EP2 (out endpoint) and read the > 'echo' on EP6 (in endpoint). The very first time the code is run it writes, > say, 60 by