Search found 162 matches

by Grendel
Thu Jun 25, 2009 1:15 am
Forum: V-USB
Topic: joystick with mouse? [ resolved ]
Replies: 7
Views: 6856

Re: joystick with mouse?

Two methods:

1. create an interface for each device (see viewtopic.php?f=8&t=2911)
2. define two reports in a single HID report descriptor (there should be examples of that in the reference/public projects)
by Grendel
Wed Jun 24, 2009 8:33 am
Forum: V-USB
Topic: How to implement two interface (composite device)?
Replies: 10
Views: 8877

Re: How to implement two interface (composite device)?

I am trying to implement two different interface in a single device, Not using ReportID, i.e. there should be two different interface descriptor each containing HID and endpoint descriptor, each HID descriptor has its Report descriptor(say one for keyboard with boot capabilities and the other is mo...
by Grendel
Wed Jun 24, 2009 8:19 am
Forum: V-USB
Topic: Question about pin configuration of the USB for ATMEGA1281
Replies: 3
Views: 3907

Re: Question about pin configuration of the USB for ATMEGA1281

Looks good, make sure you setup usbconfig.h accordingly. BTW, you will need a 1.5K pullup resistor on D- to V+ or, alternatively, a port pin. From the usbconfig.h file: /* ---------------------------- Hardware Config ---------------------------- */ #define USB_CFG_IOPORTNAME D /* This is the port wh...
by Grendel
Wed Jun 24, 2009 8:14 am
Forum: V-USB
Topic: avr309 help
Replies: 4
Views: 3693

Re: avr309 help

V-USB is very well documented actually. You may want to take a closer look at the v-usb distribution package..
by Grendel
Mon Apr 13, 2009 6:37 pm
Forum: V-USB
Topic: Voltage Question
Replies: 6
Views: 4935

Re: Voltage Question

That were physically the same Z-diodes and the same USB port tho. Odd, I better recheck that.
by Grendel
Mon Apr 13, 2009 4:37 am
Forum: V-USB
Topic: avrusb with external power source
Replies: 2
Views: 2801

Re: avrusb with external power source

Most self-powered devices seem to request 2mA (smallest value possible) via config descriptor for that reason it seems.
by Grendel
Mon Apr 13, 2009 4:32 am
Forum: V-USB
Topic: Voltage Question
Replies: 6
Views: 4935

Re: Voltage Question

2k2 worked for me w/ mega8 & tinyX61 devices. I tested a bit, 6k8 still works w/ m8, 2k2 is pretty much max. for the tinys (trying to minimize power use.. :))
by Grendel
Tue Apr 07, 2009 7:32 pm
Forum: V-USB
Topic: bootloadHID atmega128
Replies: 7
Views: 7698

Re: bootloadHID atmega128

i think maybe i dont need a far pointer address Correct. You only need the far access w/ devices that have more than 64k of FLASH memory. In other words: If a device doesn't have the RAMPZ (extended Z-pointer) register you don't need far access. #if defined(RAMPZ) [use far routines] #else [use norm...
by Grendel
Wed Apr 01, 2009 3:39 am
Forum: V-USB
Topic: swithcing from atmeg8 to atmega168
Replies: 17
Views: 14386

Re: swithcing from atmeg8 to atmega168

Check out Replacing ATmega8 by ATmega88 , Migrating between ATmega48, ATmega88 and ATmega168 , and Migrating from ATmega48/88 and ATmega48P/88P to ATmega48PA/88PA . Also, IIRC the electrical specs for the I/O pins are different betw. the 8 and 88. If you use Z-diodes on D+/D-, they HAVE to be 3V6/<=...
by Grendel
Sat Mar 28, 2009 2:08 am
Forum: V-USB
Topic: about avrusb library
Replies: 11
Views: 8172

Re: about avrusb library

i have read usbdrv have to be LINKED to the base-project, but i cant do that since im working on codevisionAVR.. i tried to "include" it and correct it to fit codevision, but i still got many errors when i compile it... any comments? You could use AVR Studio/WinAVR to build the boot loade...
by Grendel
Wed Mar 25, 2009 7:21 am
Forum: V-USB
Topic: MacroPad
Replies: 11
Views: 8577

Grendel wrote:Check out the community HID projects for references as well (esp. the HIDKeys).

;)
by Grendel
Wed Mar 25, 2009 4:52 am
Forum: V-USB
Topic: look for protocol of USB keyboard PC
Replies: 2
Views: 2990

Check out this project. More can be found here.
by Grendel
Sun Mar 22, 2009 7:47 am
Forum: V-USB
Topic: 1k5 k pull-up on D-
Replies: 9
Views: 63188

Well, first, the 500uA are really only 300uA -- a host has 15k pull-downs on D- & D+, you get a 16.5k base load to Vterm; 200uA. That is new to me. What I don't understand is why they specify 500uA for the device if the host consumes some of that. Side effect of USB 2.0 HS -- USB 2.0 spec, chap...
by Grendel
Wed Mar 18, 2009 3:15 am
Forum: V-USB
Topic: 1k5 k pull-up on D-
Replies: 9
Views: 63188

Well, first, the 500uA are really only 300uA -- a host has 15k pull-downs on D- & D+, you get a 16.5k base load to Vterm; 200uA. If you want timely wakeup you should only use Standby (note that INT0 can only be used as a level ISR) -- ~150uA if you also shut everything else down (BOD, AC, ADC .....
by Grendel
Tue Mar 17, 2009 9:06 am
Forum: V-USB
Topic: 1k5 k pull-up on D-
Replies: 9
Views: 63188

I use a 2k2 resistor to 5V, works fine, uses less power. Shouldn't be a problem since you need a self powered device to met the specs for suspend. Leakage over the Zeneres is probably neglegtable if you use 3V6 ones.

Most (non OTG) hosts will do nothing if you draw 5-10mA during suspend tho.