User-agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716)
Hello,
Been struggling to get one of our devices working under apple. I have been looking
through various device drivers and my first task is to try to communicate with my device
and do an ISO transfer.
I am using an EZ-USB FX and using the sample code I can load my firmware and communicate
with the device using Bulk Out however when I initiate an ISO in I get several errors.
Firstly the device stops responding and secondly the USB frame count return is always
8388608l
I am including code starting from successful completion of a bulk write - confirmed by an
LED response form my device and this initiates an ISO read request. The completion routine
then follows.
I am allocating the buffer and ISOC status arrays with malloc as fer other driver samples.
if (kIOReturnSuccess != result)
{
printf("error from async ISO read (%08x) Bytes read - %x \n", result, numBytesRead);
(void) (*intf)->USBInterfaceClose(intf);
(void) (*intf)->Release(intf);
return;
}
}
Here is the output from the software
[Session started at 2005-09-07 08:42:22 +1200.]
Looking for devices matching vendor ID=4725 and product ID=128
Raw device added.
File to open is "12750080.HEX"
From directory /Users/xfffff/USBNotification Example
Hello !!!!.
Raw device removed.
Hello !!!!.
Bulk test device added.
Interface found.
Interface class 255, subclass 0
Interface has 2 endpoints.
pipeRef 1: direction in, transfer type isoc, maxPacketSize 128
pipeRef 2: direction out, transfer type bulk, maxPacketSize 64
Async event source added to run loop.
return 0, Frame 331837835l Time 3954
intf 302910
Async write complete.
Wrote "1111111111111" (1 bytes) to bulk endpoint
return 0, direction 1, number 8, transferType 1, interval 1 ,maxPacketSize 128
return 0, Frame 331838892l Time 3954
GetPipestatus return 0,
Return from ISOC Read request 0
intf 302910
intf 302910
Async ISO read complete.
async ISO read return (e00002ed) Bytes read - 0
return 0, Frame 8388608l Time 3954
error from async ISO read (e00002ed) Bytes read - 1801400
--
Jonathan Selby
Director - Software Development
Xaxero Marine Software Engineering Ltd
at skype.com - xaxjon
Satellite Phone (00) 88163 142 9922
Cell Argentina (54) 929 0160 2064
(00) 64 (0)9 412 7580 fax (00) 64 (0)9 412 7579
http://www.xaxero.com
Software for extending your horizon....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden