Search found 1013 matches

by christian
Tue Apr 21, 2009 11:25 am
Forum: V-USB
Topic: Device not recognized after PC start
Replies: 5
Views: 4783

Re: Device not recognized after PC start

Interesting. Does this affect devices with interrupt endpoints only, or also custom class devices?

And can you track it down to a particular request, e.g. CLEAR_FEATURE or SET_FEATURE for an endpoint?
by christian
Thu Apr 16, 2009 7:40 pm
Forum: V-USB
Topic: Atmega8535 OK / Atmega328p FAIL
Replies: 34
Views: 34844

Re: Atmega8535 OK / Atmega328p FAIL

have a look at the libs-device directory. It contains example code for calibration at connect time and for continuous tuning.
by christian
Thu Apr 16, 2009 12:03 pm
Forum: V-USB
Topic: Atmega8535 OK / Atmega328p FAIL
Replies: 34
Views: 34844

Re: Atmega8535 OK / Atmega328p FAIL

Just posted the reply in the other thread, hope that does not cause too much confusion... Here's a copy: I have never tried one of the AVRs with P suffix. Maybe they need additional initialization? Or have other fuse values? If you take the HID Mouse project and change F_CPU to 12.8 MHz, it won't wo...
by christian
Thu Apr 16, 2009 12:01 pm
Forum: V-USB
Topic: about avrusb library
Replies: 11
Views: 8191

Re: about avrusb library

I have never tried one of the AVRs with P suffix. Maybe they need additional initialization? Or have other fuse values? If you take the HID Mouse project and change F_CPU to 12.8 MHz, it won't work. You must also add some kind of oscillator calibration and change the fuse values so that the internal...
by christian
Wed Apr 15, 2009 7:12 pm
Forum: V-USB
Topic: AVR-USB is now V-USB
Replies: 5
Views: 5378

Re: AVR-USB is now V-USB

This will be the next step. I don't know what options wikidot.com offers, but we'll check that next.
by christian
Wed Apr 15, 2009 6:34 pm
Forum: V-USB
Topic: AVR-USB is now V-USB
Replies: 5
Views: 5378

AVR-USB is now V-USB

We have renamed AVR-USB to V-USB to avoid conflicts with a trademark of Atmel Corporation.
by christian
Wed Apr 15, 2009 11:48 am
Forum: V-USB
Topic: about avrusb library
Replies: 11
Views: 8191

Re: about avrusb library

Let's start at the basics: Did you make sure that the fuse values are correct? In particular, there are settings to divide the clock by 8 and whether to use the internal RC oscillator. Since you can blink an LED, the processor seems to be running. Check that the clock rate is OK. Also, the mouse exa...
by christian
Tue Apr 14, 2009 7:58 pm
Forum: V-USB
Topic: Can't find device in windows, please help
Replies: 22
Views: 13974

Re: Can't find device in windows, please help

A VID/PID pair identifies a device type. No two device types may share the same VID and PID. E.g. you can't have a keyboard and a mouse with the same VID and PID, not even two different types of keyboard. To ensure that nobody else uses a given pair of VID and PID values, usb.org maintains a registr...
by christian
Tue Apr 14, 2009 10:55 am
Forum: V-USB
Topic: help with mouse hid exmaple
Replies: 2
Views: 2725

Re: help with mouse hid exmaple

Since these examples are intended to run on almost any hardware, there hardware initialization is kept at a minimum. In most cases it's only the code in usbInit().
by christian
Tue Apr 14, 2009 10:52 am
Forum: V-USB
Topic: Can't find device in windows, please help
Replies: 22
Views: 13974

Re: Can't find device in windows, please help

Ah, I overlooked that this is a keyboard. Good to know how keyboards and mice can be opened!

BTW: Please don't use the shared USB PID for HID devices with a keyboard. Windows permanently attaches the keyboard driver to this PID which causes all kinds of troubles.
by christian
Mon Apr 13, 2009 8:37 pm
Forum: V-USB
Topic: Can't find device in windows, please help
Replies: 22
Views: 13974

Re: Can't find device in windows, please help

Sorry, don't know the answers.

But where the hell is this line of code located in powerSwitch.c?
by christian
Mon Apr 13, 2009 7:53 pm
Forum: V-USB
Topic: usb debugging?
Replies: 4
Views: 3841

Re: usb debugging?

The following link should work until the big renaming is done:

http://www.obdev.at/downloads/avrusb/av ... 090323.zip
by christian
Mon Apr 13, 2009 11:06 am
Forum: V-USB
Topic: usb debugging?
Replies: 4
Views: 3841

Re: usb debugging?

There are examples which ship with the driver itself, most of them have no particular hardware requirements. For debugging, compile with -DDEBUG_LEVEL=1 or -DDEBUG_LEVEL=2. The debug output is a hex dump sent to the processor's TxD with 19200 bps. For debugging from the host side, use a USB sniffer....
by christian
Mon Apr 13, 2009 10:55 am
Forum: V-USB
Topic: Voltage Question
Replies: 6
Views: 4947

Re: Voltage Question

The limit of the resistor value does not depend on the type of AVR you use, it depends primarily on the characteristics of the zener diode and the voltage limit on the host side.
by christian
Mon Apr 13, 2009 10:54 am
Forum: V-USB
Topic: Can't find device in windows, please help
Replies: 22
Views: 13974

Re: Can't find device in windows, please help

PowerSwitch is not registering as a HID. If you have modified it to be HID, you may need the filter versin of the libusb-win32 driver.