We have fixed a number of bugs with High Speed Isochronous
transactions, including memory crashers as you describe. This could
very easily be the OS, and not your code.
Many of these fixes will be in a future 10.3 update as well as in Tiger.
Sorry that this doesn't help you with 10.3.8 and earlier.
Rhoads Hollowell
USB Software Team
Apple Computer, Inc.
On Feb 28, 2005, at 7:46 PM, Juan Pablo Pertierra wrote:
Hello,
I am really hoping someone will point out a dumb error(as usual) in my
software and everything will suddenly work. :D
This software is based on the USBSimple example. I modified it to
read from an isochronous IN endpoint, and it worked perfectly in full
speed mode.
However, when I test my device running in high speed mode, the
software crashes the entire computer. I either get a white-on-black
system crash error text on my screen and have to turn off the
computer, or i get the "reset your computer" message.
It seems like it has something to do with the memory allocation, but
like I said the exact same code work in full speed, and I am only
allocating 16 bytes with malloc, and handing the buffer to
ReadIsochPipeAsync. I use free() at the end.
The weird thing is that the data is read and written to the file,
which makes me feel the error happens in free(). I tried removing
free but that results in the "reboot your computer error".
I am not sure if this is a problem with my code, or maybe
ReadIsochPipeAsync is doing something strange with the buffer.
I have attached my transferData() function where all gets done after
the device is open/configured, etc. Everything happens successfully
until this point, and i am sure the device is connecting at high-speed
according to USB prober. It is also reading all descriptors
correctly.
_______________________________________________
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
This email sent to email@hidden
_______________________________________________
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