09-10-2013 03:10 AM
Your device seems to have a CONTROL Endpoint at address 0x80 which is weird. 0x80 is normally the first INTERRUPT endpoint.
Could this be the cause of the confusion?
09-11-2013 04:07 PM - edited 09-11-2013 04:08 PM
Intaris,
That's certainly a revelation. I'm still working my way through the USB manual and it would have taken me some time before I could have figured that out for myself.
I knew the device had issues in terms of USB before going in but I'm resolved to see it through. Might go through your thread on USB with a different device that behaves so I can learn more before returning to this. In the meantime, do you have any thoughts on how to get around this so I could try the interrupt vi? Is it possible this device doesn't have interrupts? This stuff is quite a bit over my head for now.
Thanks again,
Yusif Nurizade
09-12-2013 01:44 AM
Have a look at the configuration descriptor and see if there's an Interrupt endpoint in there somewhere. If so, you can set the Endpoint to use for Comms via VISA (I think it's Interrupt Pipe or something). Set this to the address of the endpoint you want to communicate with.
Interrupt defaults to 0x80 as address but this in this device's case seems to be a CONTROL endpoint which to me seems to contradict the USB spec.
Shane
09-12-2013 11:55 PM - edited 09-12-2013 11:56 PM
Intaris,
Thanks for the input. I'll be sure to try your reccomendation.
I knew this device was tricky going in and have realized throughout this thread that it is more complicated than I anticipated. I think I'll benefit from going through your tutorial thread with a simpler device (USB mouse?) and reading further in the manual before coming back to this. I still intend on trying your suggestion but it's becoming clear to me this is not the device to learn on. Could you recommend any sources besides your thread and the manual that could help in learning how USB works?
Thanks for all the help,
Yusif Nurizade
09-13-2013 03:03 AM
As hard as it is to read, there's nothing to beat the official USB Spec. I can only claim to be inany way shape or form familiar with Chapter 9 but it is required reading if you want to start dabbling. Just make sure you take breaky from reading it at regular intervals. Otherwise it'll give you headaches.
09-16-2013 09:56 PM
@Intaris wrote:
Otherwise it'll give you headaches.
Already there. But you're right, even reading the preliminary chapters, I've come on nuggets that shed light on what I was doing wrong in a big way. I guess I'll keep plugging away at it.
Thanks again,
Yusif Nurizade