Search found 12 matches

by mega_mozg_13
Wed Jun 26, 2013 7:32 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

ulao wrote:now your issue is the same right, endless loop?

yes... same as my first message in topic.
by mega_mozg_13
Wed Jun 26, 2013 3:58 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

Remember usbSetInterrupt3() is for the 3rd, (default + 1 in + 2 in) 1st - Endpoint is default builtin "endpoint 0" 2nd - Endpoint 81 3rd - Endpoint 82 Try One interface //Массив Дискриптор USB Configuration static char dynamical_usbDescriptorConfiguration[] = { /*9 USB configuration descr...
by mega_mozg_13
Wed Jun 26, 2013 1:42 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

let us go back to the need of the 3rd pipe here? You said "Yes. I want more reports per second, with legal tricks." Can you try to explain that in more detail. If I'm use standart 8 ms poll, and one endpoint - I'm have total 120 packets per second (report 1, report 2, report 1, report 2.....
by mega_mozg_13
Wed Jun 26, 2013 8:29 am
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

ulao maybe you mistake. I have two virtual devices "Virtual_Joystick#1" and "Virtual_Joystick#2" each virtual joystick have report: "Virtual_Joystick#1" report buffer gamepad_report_1 gamepad_report_1.report_id=1; HID 0x85, 0x01, // REPORT_ID (1) "Virtual_Joystick...
by mega_mozg_13
Tue Jun 25, 2013 4:50 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

Is there a reason you are trying to do this on its own pipe? Speed maybe? Yes. I want more reports per second, with legal tricks. If your going to do something like adding a pipe you need to define it in the config. config is made by "v-usb" engine. you can see my "USBLyser report&qu...
by mega_mozg_13
Tue Jun 25, 2013 4:42 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

Rar File "V_USB_EP81_EP82.rar" usbconfig.h #define USB_CFG_HAVE_INTRIN_ENDPOINT3 1 /* Define this to 1 if you want to compile a version with three endpoints: The * default control endpoint 0, an interrupt-in endpoint 3 (or the number * configured below) and a catch-all default interrupt-in...
by mega_mozg_13
Tue Jun 25, 2013 4:30 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

I'm confused by "Code is compiling without errors." do you mean the suggestion fixed the issue, or just that it compiles and you still have the endless loop? Nothing fixed. Code is compiling without errors. Firmware is uploaded to device, but program is freeze. But, if I hide //usbSendHid...
by mega_mozg_13
Tue Jun 25, 2013 4:05 pm
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Re: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

just a guess on the name here usbInterrup3tIsReady may not be the right name. usbdrv.h #if USB_CFG_HAVE_INTRIN_ENDPOINT3 USB_PUBLIC void usbSetInterrupt3(uchar *data, uchar len); #define usbInterruptIsReady3() (usbTxLen3 & 0x10) /* Same as above for endpoint 3 */ #endif Code is compiling withou...
by mega_mozg_13
Mon May 20, 2013 10:05 am
Forum: V-USB
Topic: Endless loop. usbInterruptIsReady3() usbSetInterrupt3()
Replies: 17
Views: 14463

Endless loop. usbInterruptIsReady3() usbSetInterrupt3()

Endless loop. usbInterruptIsReady3() usbSetInterrupt3() (sorry for my English, it is not native language) Hi, I make some explain: I want make joystick project with two virtual devices, and send reports: a) Virtual_Joystick#1 -> Report#1 -> EP81 b) Virtual_Joystick#2 -> Report#2 -> EP82 Every joyst...
by mega_mozg_13
Tue Mar 26, 2013 9:46 am
Forum: V-USB
Topic: "USB_SOF_HOOK" where examples or shared projects using this?
Replies: 2
Views: 3815

"USB_SOF_HOOK" where examples or shared projects using this?

Hi."USB_SOF_HOOK" - please give example or links to shared projects using this? /* #ifdef __ASSEMBLER__ * macro myAssemblerMacro * in YL, TCNT0 * sts timer0Snapshot, YL * endm * #endif * #define USB_SOF_HOOK myAssemblerMacro * This macro (if defined) is executed in the assembler module whe...
by mega_mozg_13
Tue Dec 11, 2012 4:44 pm
Forum: V-USB
Topic: Dynamic HID Report
Replies: 0
Views: 5314

Dynamic HID Report

Hi, I try to make device with fully dynamical HID Report. 1) In "usbconfig.h" #define USB_CFG_DESCR_PROPS_HID_REPORT (USB_PROP_IS_DYNAMIC) 2) In "main.c" PROGMEM char usbHidReportDescriptor [200] = { /* USB report descriptor, size must match usbconfig.h */ 0x06, 0x00, 0xff, // US...