Search found 1013 matches
- Mon Dec 10, 2007 6:33 pm
- Forum: V-USB
- Topic: USB-joystick Atmega 16
- Replies: 9
- Views: 14822
If usbInterruptIsReady() is never true, then the host does not poll the interrupt endpoint. There are two possilbe causes for this: (1) The endpoint is not declared correctly in the configuration descriptor, or (2) the device did not respond when the host polled the interrupt endpoint and the host t...
- Mon Dec 10, 2007 12:00 pm
- Forum: V-USB
- Topic: Where is the Control Endpoint?
- Replies: 1
- Views: 3693
- Mon Dec 10, 2007 11:56 am
- Forum: V-USB
- Topic: ATMEGA64 and AVR-USB
- Replies: 1
- Views: 4105
- Mon Dec 10, 2007 11:55 am
- Forum: V-USB
- Topic: General questions about USB (Frequency)
- Replies: 6
- Views: 6753
- Thu Dec 06, 2007 6:11 pm
- Forum: V-USB
- Topic: USB-joystick Atmega 16
- Replies: 9
- Views: 14822
Sorry, I don't have the time to go through your code and descriptors, but some comments: It's OK that D+ is at 0 V and D- at 3.3 V. This is the idle status when no data is transferred. Since data is transferred in bursts, you see the bus idle most of the time. If the device is recognized by Windows,...
- Tue Dec 04, 2007 10:11 am
- Forum: V-USB
- Topic: Interupt Out Heeelp :)
- Replies: 1
- Views: 3809
Please see my reply in the other thread: http://forums.obdev.at/viewtopic.php?t=1002 . When you move the descriptor to your own code, you can remove all the #ifs and many definitions because the values are known. That makes it MUCH easier to see the structure and find potential bugs.
- Tue Dec 04, 2007 10:08 am
- Forum: V-USB
- Topic: HID Report Descriptor
- Replies: 1
- Views: 4700
If you want more than the most basic configuration descriptor, please put the entire descriptor into your own C module and add #define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_LENGTH(xxx) to your usbconfig.h where xxx stands for the length of the descriptor in bytes. Alternatively you can add #def...
- Sun Dec 02, 2007 3:52 pm
- Forum: V-USB
- Topic: AVR-Doper: Serious bug in ISP
- Replies: 0
- Views: 5959
AVR-Doper: Serious bug in ISP
To everybody who uses the AVR-Doper firmware: There's a serious bug in the ISP MULTI command which is used (e.g.) by avrdude to read fuse values. The effect of the bug is to send uninitialized data to the device on the ISP interface. The commands may have undesired effects such as changing fuse valu...
- Sun Dec 02, 2007 3:40 pm
- Forum: V-USB
- Topic: AVR MacPack: AVR development on Mac
- Replies: 5
- Views: 8418
It's a matter of personal preference. Newer versions are not always better. I, personally, prefer gcc 3 because of the somewhat smaller code and because I'm used to its behavior (which warnings are on by default and so on). On the other hand, new features are only added to gcc 4. If you want any of ...
- Sat Dec 01, 2007 1:57 pm
- Forum: V-USB
- Topic: how can i transfer data by usb_control_msg from host to avr
- Replies: 5
- Views: 7612
I don't know how you want to control the communication direction of your RS485 interface. If the device should look like a serial interface, I'd recommend that you implement a CDC class device. See m for an example. This class of device does not need a Windows driver, only a .inf file which tells it...
- Sat Dec 01, 2007 1:47 pm
- Forum: V-USB
- Topic: [ATmega16 + AVRGCC] USB HID = Undefined procedure
- Replies: 1
- Views: 4318
usbFunctionWrite() should be defined in your own code. It is called by the driver when control data is received. See the documentation in usbdrv.h for details. usbCrc16() is defined in the assembler module. If the linker does not find it, you don't link usbdrvasm.S. Add this file to your project or ...
- Sat Dec 01, 2007 1:43 pm
- Forum: V-USB
- Topic: General questions about USB (Frequency)
- Replies: 6
- Views: 6753
A low speed USB device sends with a bit clock of 1.5 MHz. The driver is easier to implement if the CPU clock is a multiple of that. For crystal based designs, I would recommend 12 MHz as this is the oldest and therefore best tested implementation. But you can also use 15 or 16 MHz crystals, as long ...
- Sat Dec 01, 2007 1:40 pm
- Forum: V-USB
- Topic: usbasp and an Intel Mac w/ OS X (device not recognized)
- Replies: 10
- Views: 14048
- Tue Nov 27, 2007 7:55 pm
- Forum: V-USB
- Topic: USB cable detect
- Replies: 3
- Views: 5120