Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Xiaofan Chen
On Fri, Mar 8, 2013 at 4:04 AM, GORAN RADIVOJEVIC wrote: > I have a question: is ISO transfer works with libusbx or not? So far I > manage to send data but can't receive, using > https://github.com/walac/isochronous/blob/master/iso.c > source on 64bit Debian 6.0.6 with small modification for my ha

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Xiaofan Chen
On Friday, March 8, 2013, Tim Roberts wrote: > GORAN RADIVOJEVIC wrote: > > > I have a question: is ISO transfer works with libusbx or not? > > Yes. > Yes under Linux and Mac OS X, no under Windows. Xiaofan -- Xiaofan ---

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Tim Roberts
GORAN RADIVOJEVIC wrote: > uC is Atmel UC3A0512. According to Atmel docs USB controller is Low/Full speed > device capable to do ISO transfer with up to 256 bytes for endpoint > (wizard created INT and BULK endpoints 64 byte and ISO 256 byte). After many > experiment I can make it work with only 6

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread GORAN RADIVOJEVIC
> That's revealing. Are you quite sure that your Atmel device supports > isochronous endpoints? Which Atmel chip are you using? uC is Atmel UC3A0512. According to Atmel docs USB controller is Low/Full speed device capable to do ISO transfer with up to 256 bytes for endpoint (wizard created INT a

Re: [Libusbx-devel] Problem with Vendor class

2013-02-26 Thread Tim Roberts
GORAN RADIVOJEVIC wrote: > > Few minutes after I send previous message I remove last two endpoints > (Iso) and now SetAltInterface working as > expected (in libusbx and libusbK). That's revealing. Are you quite sure that your Atmel device supports isochronous endpoints? Which Atmel chip are you

Re: [Libusbx-devel] Problem with Vendor class

2013-02-25 Thread GORAN RADIVOJEVIC
Hello Tim, thanks for answer. Few minutes after I send previous message I remove last two endpoints (Iso) and now SetAltInterface working as expected (in libusbx and libusbK). "My firmware" is not my, it is generated by Atmel ASF. I only add debug console. Now I have working Interrupt (for comma

Re: [Libusbx-devel] Problem with Vendor class

2013-02-25 Thread Tim Roberts
GORAN RADIVOJEVIC wrote: > > interface[0].altsetting[0]: num endpoints = 0 >Class.SubClass.Protocol: FF.FF.FF > interface[0].altsetting[1]: num endpoints = 6 >Class.SubClass.Protocol: FF.FF.FF >endpoint[0].address: 81 >max packet size: 0040 > polling interval:

Re: [Libusbx-devel] Problem with Vendor class

2013-02-25 Thread GORAN RADIVOJEVIC
Finally CPU board is returned to me. Printout from xusb.exe program: * Using libusbx v1.0.14.10576 Opening device 03EB:2423... Device properties: bus number: 3 port path: 1 (from root hub) speed: 12 Mbit/s (USB FullSpeed) Reading device descriptor: length: 18 d

Re: [Libusbx-devel] Problem with Vendor class

2013-02-18 Thread Tim Roberts
GORAN RADIVOJEVIC wrote: > > I made typo error: my USB device have only one interface with one > Alternate settings (my first attempt was > HID+Vendor, HID part working correctly). At the moment I don't have > CPU card (only bare motherboard) so > I can't send you exact Xusb.exe printout. I hope in

Re: [Libusbx-devel] Problem with Vendor class

2013-02-16 Thread Xiaofan Chen
On Sun, Feb 17, 2013 at 12:53 AM, GORAN RADIVOJEVIC wrote: > In the meanwhile I have question about exact procedure to activate Vendor > class. Is this correct order: > 1. find device by VID and PID; > 2. claim interface; > 3. set configuration (is this step necessary?); > 4. set Alt. configuratio

Re: [Libusbx-devel] Problem with Vendor class

2013-02-16 Thread GORAN RADIVOJEVIC
Thanks for quick response from Xiaofan and Tim. I made typo error: my USB device have only one interface with one Alternate settings (my first attempt was HID+Vendor, HID part working correctly). At the moment I don't have CPU card (only bare motherboard) so I can't send you exact Xusb.exe print

Re: [Libusbx-devel] Problem with Vendor class

2013-02-13 Thread Tim Roberts
GORAN RADIVOJEVIC wrote: > > My previous experience with USB was PIC 18F4550 and HID device so > sorry if I ask something obvious. > I have a problem with AVR32 UC3A0512 device and Vendor class. Hardware > is EVK1100 clone (WaveShare EVK3A). > I manage to build firmware with AtmelStudio 6 and insta

Re: [Libusbx-devel] Problem with Vendor class

2013-02-13 Thread Xiaofan Chen
On Wed, Feb 13, 2013 at 7:45 PM, GORAN RADIVOJEVIC wrote: > I have a problem with AVR32 UC3A0512 device and Vendor > class. Hardware is > EVK1100 clone (WaveShare EVK3A). > I manage to build firmware with AtmelStudio 6 and install driver > (libUSBwin32 or libUSBK). Device is visible by > Windows w

[Libusbx-devel] Problem with Vendor class

2013-02-13 Thread GORAN RADIVOJEVIC
Hi to all.My previous experience with USB was PIC 18F4550 and HID device so sorry if I ask something obvious. I have a problem with AVR32 UC3A0512 device and Vendor class. Hardware is EVK1100 clone (WaveShare EVK3A). I manage to build firmware with AtmelStudio 6 and install driver (libUSBwin32 o