Search found 1013 matches

by christian
Sun May 20, 2007 11:00 pm
Forum: V-USB
Topic: PowerSwitch not recognized by Windows
Replies: 2
Views: 4536

If Windows complains about a malfunctioning device, there's most likely a very fundamental problem. Your postings suggest that you have checked the supply voltage and that the device is actually running at the external crystal clock, not internal RC oscillator. Since the circuit is very simple, ther...
by christian
Tue May 15, 2007 7:51 pm
Forum: V-USB
Topic: usb bootloader for win32
Replies: 1
Views: 4009

Please contact me through the AVR support form. I have a boot loader which is based on HID and should therefore be easier to compile on Windows. It's just not released to the public yet...
by christian
Tue May 15, 2007 7:48 pm
Forum: V-USB
Topic: RemoteSensor humidity sensor
Replies: 3
Views: 6430

Sorry for the delay, I don't check the forum too often.

Any resistive humidity sensor should work. I have used conrad.com (Austrian site, but others should have them, too) order number 156545 and 182630. Both should work.
by christian
Tue May 15, 2007 7:25 pm
Forum: V-USB
Topic: The 1.5k pullup to D-
Replies: 1
Views: 4362

The spec demands a relatively tight tolerance, but in practice the value does not matter too much. The messages you see indicate that the host sees ONLY the pull-up resistor. There seems to be no (useful) communication with the device at all. Are you sure your AVR is running on external clock and no...
by christian
Mon May 07, 2007 1:13 pm
Forum: V-USB
Topic: avrdebug.exe binary for Windows - please compile...
Replies: 4
Views: 7433

CDC or HID, Windows attaches a class driver to the device in both cases. In order to run avrdebug, you would have to attach a second (device specific) driver, in this case the libusb driver. I don't know Windows driver development well enough to tell how this can be done. I have not tried it, though...
by christian
Mon May 07, 2007 11:56 am
Forum: V-USB
Topic: USB and AC power
Replies: 1
Views: 4431

The LE33 is even better from the USB perspective. We decided for the LE35 because the higher supply voltage allows higher clock rates. This is not so much of a problem with modern AVRs. You should compile the driver for bus-power because the device CAN draw power from the bus. In my opinion, you can...
by christian
Mon May 07, 2007 11:49 am
Forum: V-USB
Topic: Other Devices
Replies: 1
Views: 4383

Don't know, it depends on the clock speed and instruction set of the processor.

Look at the developer article (linked from AVR-USB's main page) for optimization ideas...
by christian
Mon May 07, 2007 11:48 am
Forum: V-USB
Topic: HID Keys Newbie Question
Replies: 1
Views: 4461

If you want to control inputs and outputs from a host application, you should make a HID which is neither a keyboard nor a mouse. Look at the "Automator" example. HIDs which are neither keyboard nor mouse are more or less ignored by the operating system and the application can use read/wri...
by christian
Mon May 07, 2007 11:44 am
Forum: V-USB
Topic: avrdebug.exe binary for Windows - please compile...
Replies: 4
Views: 7433

Don't know whether avrdebug will run on Windows, since it uses libusb for connecting to a HID compliant device. This could result in a driver conflict. Any Windows experts out there? We need to attach two applications to the same device, one using the HID interface, the other plain control transfers...
by christian
Mon Apr 30, 2007 9:15 pm
Forum: V-USB
Topic: AVR-USB and device access in OSX
Replies: 6
Views: 10596

If you know the device, you don't need to decode the HID descriptor because you know it. Only if you want to build a general driver (e.g. for joysticks, not only your particular joystick) you need to parse the descriptor. In this case I'd recommend using the operating system's functions, if there ar...
by christian
Sun Apr 29, 2007 10:08 pm
Forum: V-USB
Topic: AVR-USB and device access in OSX
Replies: 6
Views: 10596

Please see the function usbGetStringAscii() in the file sensord.c of the RemoveSensor project. This function reads a string descriptor in Unicode and converts it to ASCII. If you want to read the HID report descriptor, you don't need the ASCII conversion, but you (probably) need to interpret the str...
by christian
Sun Apr 29, 2007 9:56 pm
Forum: V-USB
Topic: AVR-Doper problems prog ATMEGA2561
Replies: 6
Views: 7945

Thanks for that hint and thanks for testing the patch with large devices!

We'll include it in the next release of AVR-Doper.
by christian
Thu Apr 26, 2007 6:16 pm
Forum: V-USB
Topic: AVR-Doper problems prog ATMEGA2561
Replies: 6
Views: 7945

AVR-Doper is not compatible with devices larger than 128 kB. The ISP protocol we have implemented only supports 16 bit word addresses. If you know how to extend this protocol, please provide a patch. See the file isp.c in AVR-Doper's firmware source code and search for "stkAddress". This y...
by christian
Thu Apr 26, 2007 6:09 pm
Forum: V-USB
Topic: AVR-USB and device access in OSX
Replies: 6
Views: 10596

For an example which uses an interrupt-in endpoint, see RemoteSensor. For an example with the full set of endpoints, see Osamu Tamura's AVR-CDC or our AVR-Doper. I usually base my code on libusb because it offers the same API on all platforms. If your application is Mac only, you can use the Mac spe...
by christian
Tue Apr 17, 2007 5:14 pm
Forum: V-USB
Topic: usb avr / debugwire
Replies: 4
Views: 8766

As far as I know, the debugWire protocol has not been published. It's therefore hard to implement an Open Source debugWire adapter.

Please correct me if I'm wrong!