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.
Search found 162 matches
- Thu Mar 12, 2009 8:20 pm
- Forum: V-USB
- Topic: usb polling disrupted by UART interrupts
- Replies: 10
- Views: 7144
- Fri Mar 06, 2009 1:54 am
- Forum: V-USB
- Topic: Can I work the AVRUSB on Mage88PA
- Replies: 3
- Views: 3229
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...
- 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...
- Thu Feb 26, 2009 3:52 am
- Forum: V-USB
- Topic: Dynamic Serial Number at runtime
- Replies: 2
- Views: 3509
- Tue Feb 24, 2009 10:07 am
- Forum: V-USB
- Topic: Surface mount components
- Replies: 5
- Views: 4769
- 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..
- 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.
- 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...
- Tue Feb 03, 2009 3:28 am
- Forum: V-USB
- Topic: UART - > Hidkeys
- Replies: 5
- Views: 4943
- Thu Jan 22, 2009 2:48 am
- Forum: V-USB
- Topic: Need help with bootloaderHID
- Replies: 7
- Views: 7868
- Fri Jan 09, 2009 2:16 am
- Forum: V-USB
- Topic: Report Defn
- Replies: 3
- Views: 3785
- Fri Jan 09, 2009 2:08 am
- Forum: V-USB
- Topic: Is it possible to...
- Replies: 4
- Views: 4583
Take a look at this.