Search found 1013 matches
- Wed Dec 26, 2007 11:11 pm
- Forum: V-USB
- Topic: problems with using external interrupt different from INT0
- Replies: 28
- Views: 28970
This is just for debugging. Disable the TWI initialization, disconnect TWI SCL and wire INT7 to INT0. If the device enumerates on the USB, then you have a working example to start with. If it does not, we know that the cause is probably something else, not the interrupt. I assume you have checked th...
- Wed Dec 26, 2007 9:15 pm
- Forum: V-USB
- Topic: problems with using external interrupt different from INT0
- Replies: 28
- Views: 28970
A similar documentation patch will be in the next release. Thanks for the hint! Regarding the original problem: We really recommend a high priority interrupt because USB processing does not tolerate any delays. INT0 is the highest priority interrupt. Please solder a wire from INT0 to INT7 and use th...
- Wed Dec 26, 2007 9:03 pm
- Forum: V-USB
- Topic: Problems with HIDkeys on atmega32 @WinXP
- Replies: 16
- Views: 16057
- Wed Dec 26, 2007 9:01 pm
- Forum: V-USB
- Topic: IAR AVR build error with new usbdrv lib 2007-12-01
- Replies: 5
- Views: 11327
Thanks for your feedback about the current status of IAR compatibility! I have added your .macro and .endm fix for the next release. Please define USB_INTR_PENDING to the appropriate register or memory address in usbconfig.h. The default is EIFR or GIFR in usbdrv.h, but these constants may not be de...
- Sun Dec 23, 2007 5:42 pm
- Forum: V-USB
- Topic: Atmega16+32 not found with 16MHz crystal on some Hosts
- Replies: 20
- Views: 22226
- Sat Dec 22, 2007 7:56 pm
- Forum: V-USB
- Topic: Atmega16+32 not found with 16MHz crystal on some Hosts
- Replies: 20
- Views: 22226
Yes, this is very likely a timing problem in the code. Since I have not been able to reproduce the problem here, it's very hard to figure out what it is and how to fix it. The 16 MHz timing is a bit critical since 16 is not a multiple of 1.5. We have to insert leap cycles every now and then. To debu...
- Mon Dec 17, 2007 2:11 pm
- Forum: V-USB
- Topic: How fast is Software-USB
- Replies: 26
- Views: 36513
This limit is not in the USB spec and it would be possible to extend AVR-USB for bigger message sizes. However, since this requires 16 bit arithmetics, it would bloat the driver size. Another #ifdef would make it harder to maintain. We have done some transfer speed measurements and found that increa...
- Fri Dec 14, 2007 10:15 pm
- Forum: V-USB
- Topic: How fast is Software-USB
- Replies: 26
- Views: 36513
Since your function name is sendUSBVendorCmdIn(), I guess you transfer 100 bytes from the device to the host. In and Out are defined from the host's point of view. But you are right, this should transfer 100 bytes unless an error occurs. A possible error would be that the host and the device don't a...
- Fri Dec 14, 2007 10:02 pm
- Forum: V-USB
- Topic: How fast is Software-USB
- Replies: 26
- Views: 36513
If your sendUSBVendorCmdIn() is defined analogous to sendUSBVendorCmdOut(), you receive one byte in the first case and two in the second. Please note that you actually transfer many more bytes, that's the overhead of control transfers. For efficient transfers, send or receive at least 100 bytes (if ...
- Fri Dec 14, 2007 7:54 pm
- Forum: V-USB
- Topic: Powerswitch modification
- Replies: 1
- Views: 3728
- Fri Dec 14, 2007 7:50 pm
- Forum: V-USB
- Topic: How fast is Software-USB
- Replies: 26
- Views: 36513
- Fri Dec 14, 2007 7:25 pm
- Forum: V-USB
- Topic: How fast is Software-USB
- Replies: 26
- Views: 36513
- Tue Dec 11, 2007 6:10 pm
- Forum: V-USB
- Topic: USB-joystick Atmega 16
- Replies: 9
- Views: 14822