Search found 162 matches

by Grendel
Thu Mar 12, 2009 8:20 pm
Forum: V-USB
Topic: usb polling disrupted by UART interrupts
Replies: 10
Views: 7144

The USB IRQ needs to be able to interrupt the USART ISRs -- either put a sli after saving the sr (assembler) or define your ISRs as

ISR( UARTn_.._vect, ISR_NOBLOCK )
{
..
}

when using GCC w/ avr_libc.
by Grendel
Fri Mar 06, 2009 1:54 am
Forum: V-USB
Topic: Can I work the AVRUSB on Mage88PA
Replies: 3
Views: 3229

I bet the electrical specs are different, there may be diffences in the registers/behavior too. Do you have a schematic to take a look at ? AVR GCC (and avr_libc) expects atmega88p as parameter for -mmcu..
by Grendel
Thu Mar 05, 2009 4:39 am
Forum: V-USB
Topic: MacroPad
Replies: 11
Views: 8577

AVR-USB requires IAR or AVR GCC for a compiler, WinAVR 20071221 works out-of-the-box. As for an IDE, Atmel's AVR Studio comes w/ native support for WinAVR. Correct, most OS's come w/ native HID drivers. USB itself is pretty complex, take a look at USB in a Nutshell to get an idea. Check out the comm...
by Grendel
Fri Feb 27, 2009 4:16 am
Forum: V-USB
Topic: HIDKeys: Exact purpose of idleRate/idleCount
Replies: 2
Views: 3265

Re: HIDKeys: Exact purpose of idleRate/idleCount

But before I simply kick out this idleRate-stuff as other people seem to do I'd like to know what it is exactly for. The Set_Idle request silences a particular report on the Interrupt In pipe until a new event occurs or the specified amount of time passes. [..] This request is used to limit the rep...
by Grendel
Thu Feb 26, 2009 3:52 am
Forum: V-USB
Topic: Dynamic Serial Number at runtime
Replies: 2
Views: 3509

I didn't use a dynamic serial no. in my project but various other dynamic descriptors -- try something like this: uchar usbFunctionDescriptor(usbRequest_t *rq) { uchar *p = 0, len = 0; if(rq->wValue.bytes[1] == USBDESCR_STRING && rq->wValue.bytes[0] == [your serial no. str i...
by Grendel
Tue Feb 24, 2009 10:07 am
Forum: V-USB
Topic: Surface mount components
Replies: 5
Views: 4769

I would expect any 5227 to work. The only difference should be the packaging. Just make sure the parameters are as close as possible.
by Grendel
Sun Feb 22, 2009 5:44 am
Forum: V-USB
Topic: Surface mount components
Replies: 5
Views: 4769

Like these ? Digikey has a neat component selection tool, just type "zener" into the search bar and go from there.. :wink:
by Grendel
Fri Feb 13, 2009 8:54 pm
Forum: V-USB
Topic: which AVR to use?
Replies: 7
Views: 6106

Take a look at the Tiny461.
by Grendel
Thu Feb 05, 2009 1:15 am
Forum: V-USB
Topic: UART - > Hidkeys
Replies: 5
Views: 4943

I don't see the defines for KEY_A..KEY_Q. Assuming they ae correct, I bet the index you pass into buildReport() isn't in the range 0..17. I dont use letters, as you see in recieving routine i only accept numbers and CR. And i think there is nowhere to change them during programm flow, so i dont hav...
by Grendel
Tue Feb 03, 2009 3:28 am
Forum: V-USB
Topic: UART - > Hidkeys
Replies: 5
Views: 4943

I don't see the defines for KEY_A..KEY_Q. Assuming they ae correct, I bet the index you pass into buildReport() isn't in the range 0..17.
by Grendel
Thu Jan 22, 2009 2:48 am
Forum: V-USB
Topic: Need help with bootloaderHID
Replies: 7
Views: 7868

The BOOTRST fuse isn't programmed -- try 0xC8 for the high fuse byte. Program space is organized by words (2 bytes), hence address 0x3800. 32kb = 16kw.
by Grendel
Fri Jan 09, 2009 2:16 am
Forum: V-USB
Topic: Report Defn
Replies: 3
Views: 3785

I was hoping someone could show me how to modify it to include 6 more buttons. //HID Report Descriptor PROGMEM char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH] = { //ZX-Joystick-1 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x09, 0x04, // USAGE (Joystick) 0xa1,...
by Grendel
Fri Jan 09, 2009 2:08 am
Forum: V-USB
Topic: Is it possible to...
Replies: 4
Views: 4583

Take a look at this.
by Grendel
Fri Jan 02, 2009 11:22 pm
Forum: V-USB
Topic: AVR CDC
Replies: 4
Views: 4496

No. It's a Windows issue, unfortunately.
by Grendel
Wed Dec 31, 2008 2:21 am
Forum: V-USB
Topic: AVR CDC
Replies: 4
Views: 4496

The MS virtual com driver is not PnP aware. Lots of problems w/ it (just do a google search). There are even companies offereing replacement drivers (for $$$ tho, eg. Jungo). SP3 contains a newer driver, may help w/ your specific problem.