I'm implementing a device compliant to the USBTMC Class ( Class 0xFE, Subclass 0x03, Protocol 0x00).
Processor is ATTINY861A.
I set up the vUSB firmware to have this configuration
Number of interfaces: 1
Configuration value: 0x1
Attributes: Bus powered
Max power: 50 mA
Interface Descriptor: 0, Alternate setting: 0
Number of endpoints: 2
Interface class: 0xfe - Application Specific Interface
Interface subclass: 0x3 - Test and Measurement
Interface protocol: 0x0 - Unknown
Endpoint address 0x1, Input, Bulk, max packet size: 64 bytes
Endpoint address 0x1, Output, Bulk, max packet size: 64 bytes
No problem working with the control 0 endpoint, but i am unable to use the bulk out or in endpoint.
According the firmware documentation for OUT transaction directed to an endpoint > 0 the driver should call
an user function
I wrote this function as a test for lighting a led. Just to see if it work.
When i send bulk data to device on endpoint 1 the function is never called.
I browse around the web to see other firmware implementation examples but it seem that most examples are only using control 0 endpoint of
are HID based. I need to be perfectly compliant to the USBTMC standard since the device has to interwork with LABVIEW 2015.
I need a simple tutorial (or a working example that is not HID based) that use bulk in and out communication on endpoint > 0.
Tnx for any help or suggestion.