Search found 162 matches

by Grendel
Mon Nov 05, 2007 10:16 am
Forum: V-USB
Topic: General joystick HID question
Replies: 35
Views: 49776

W/o going into detail (too late here..) -- you'll have to define multiple reports in the descriptor. Each report can carry 7 bytes data max (8th byte is the report ID). Details should be in the USB specs.
by Grendel
Fri Nov 02, 2007 10:19 pm
Forum: V-USB
Topic: AVR-USB on ATmega88/168
Replies: 6
Views: 9791

Nah, just making sure you changed -mmcu=atmega8 to -mmcu=atmega88 .. ;)
by Grendel
Fri Nov 02, 2007 7:44 am
Forum: V-USB
Topic: AVR-USB on ATmega88/168
Replies: 6
Views: 9791

Could you add your makefile to the sources ?
by Grendel
Fri Aug 31, 2007 11:24 pm
Forum: V-USB
Topic: AVR-Doper with 16Mhz crystal
Replies: 3
Views: 7811

You also have to change F_CPU in hardware.h BTW. Just tried it w/ the doper version currently up for grabs -- after switching to 16MHz, latest WinAVR (avr-gcc 4.1.2, avr-libc 1.4.6) errors when linking: avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8 -DDEBUG_LEVEL=0 -o main.bin usbdrv/usbdrv.o usbdrv/u...
by Grendel
Sat Aug 11, 2007 12:47 am
Forum: V-USB
Topic: My eeprom is empty!
Replies: 3
Views: 5356

Did you try setting the fuse bit EESAVE to 0 ?
by Grendel
Sat Jul 21, 2007 9:36 am
Forum: V-USB
Topic: Mega324P and AVR-USB
Replies: 14
Views: 15872

Does it enumerate if you comment out your timer handling and just have the USB stack running ? 2kHz is quite an ISR load and may interfer w/ the USB ISR.
by Grendel
Thu May 31, 2007 9:55 am
Forum: V-USB
Topic: Cant manage to receive Report > 8 byte
Replies: 5
Views: 7786

Well.. 5.6 Reports Using USB terminology, a device may send or receive a transaction every USB frame (1 millisecond). A transaction may be made up of multiple packets (token, data, handshake) but is limited in size to 8 bytes for low-speed devices and 64 bytes for high-speed devices . A transfer is ...
by Grendel
Wed May 09, 2007 10:19 am
Forum: V-USB
Topic: question of HID
Replies: 7
Views: 10992

That's a short item w/ a 2 byte value -- it's just the way the encoding is defined: 6.2.2.2 Short Items The short item format packs the item size, type, and tag into the first byte. The first byte may be followed by 0, 1, 2, or 4 optional data bytes depending on the size of the data. [..] A short it...
by Grendel
Tue May 08, 2007 11:44 pm
Forum: V-USB
Topic: question of HID
Replies: 7
Views: 10992

Well.. While Logical Minimum and Logical Maximum (extents) bound the values returned by a device, Physical Minimum and Physical Maximum give meaning to those bounds by allowing the report value to be offset and scaled. For example, a thermometer might have logical extents of 0 and 999 but physical e...
by Grendel
Wed Apr 18, 2007 2:22 am
Forum: V-USB
Topic: Getting HID report descriptors
Replies: 3
Views: 9844

Re: Getting HID report descriptors

I am playing around with some simple USB HID game devices. Hardware es essentially the same as my C64 USB keyboard . 1) Is there some tool that can show the HID report descriptor received when plugging in a device? I would like to use this to examine the report descriptor of some commercial HID dev...
by Grendel
Wed Apr 11, 2007 9:49 pm
Forum: V-USB
Topic: HIDKeyboard USB Makefile error
Replies: 6
Views: 8925

Try changing "awk" in the checksize script to "gawk". Worked for me.
by Grendel
Mon Apr 09, 2007 9:38 am
Forum: V-USB
Topic: atmega128
Replies: 15
Views: 14943

Odd that changing the M103C fuse doesn't change the behavior.. Could you post the values of the three fuse bytes ? I would suggest these values: Extended fuse byte -- 0xFF High fuse byte -- 0xD9 Low fuse byte -- 0x9F Also, what version of WinAVR are you using ? 20060421 or 20070122 ? (the latter is ...
by Grendel
Fri Apr 06, 2007 2:48 am
Forum: V-USB
Topic: atmega128
Replies: 15
Views: 14943

Hm, is the M103C fuse programmed (it is by default) ? If so, kill it.
by Grendel
Wed Apr 04, 2007 8:00 am
Forum: V-USB
Topic: Ich bekomms nicht hin
Replies: 3
Views: 5564

Wuerde mal auf nicht oder falsch programmierte fuse Bits tippen -- welche Werte hast Du programmiert ?

Edit: Der Tiny2313 hat nur 128 Bytes RAM, das koennte das Problem sein. Wieviel RAM ist von dem Programm belegt, wieviel Stack braucht es etwa ?
by Grendel
Mon Apr 02, 2007 9:27 pm
Forum: V-USB
Topic: AVR-USB Driver Updated
Replies: 1
Views: 4752

Thank you very much. I switched my project to the new stack, compiles fine in WinAVR 20060421 & 20070122 (latter creates bigger code tho.) I'll let you know if there are any problems.