Re: Iyonix USB: Bulk IN endpoints



In message <4e5f895a01Ian.Hamilton@xxxxxxxx>
Ian Hamilton <Ian.Hamilton@xxxxxxxx> wrote:

In article <1157112192.766473.76330@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Dave
Higton <davehigton@xxxxxxxxxxxxx> wrote:

Ian Hamilton wrote:

Have you done the WakeUp call (SYS
"DeviceFS_CallDevice",3,0,devicefs_stream%!28)?

Where is this documented?

It isn't =:-O

Not apparently in the paper PRMs; there is
of course an entry for DeviceFS_CallDevice, but it doesn't elaborate on
any reason codes. The StrongHelp manual shows DeviceFS_CallDevice 3 as
requiring devicefs_stream% in R2, rather than devicefs_stream%!28.

See the csa.programmer thread called 'Castle USB stack programming'
around October 2004, it's mentioned in a posting by Dan Ellis.

I'm using DeviceFS_CallDevice,&80000003 to set the initial
devicefs_stream% variable rather than the method in the thread, this is
documented in the Castle USB API notes.

I don't think I've tried quite everything yet; but I've solved my
immediate problem by going over to the Simtec stack on the Risc
PC, which seems to do non-blocking inputs very well.

Thanks to everybody for your help. I will get back to this
another day. Meanwhile I have a USB device to write :-)

Dave
.