Search found 1013 matches

by christian
Wed Oct 24, 2007 4:25 pm
Forum: V-USB
Topic: Problems building bootloadHID
Replies: 14
Views: 17061

Sorry, I overlooked that Windows recognizes the device. If you have configured libusb-win32 to attach to the HID device, then bootloadHID will probably not be able to connect to it. Maybe the result of a previous experiment? The first thing bootloadHID does is to enumerate the devices, ask them for ...
by christian
Wed Oct 24, 2007 1:39 pm
Forum: V-USB
Topic: Problems building bootloadHID
Replies: 14
Views: 17061

It's hard to analyze the Windows problem with only this message. Is the device recognized as HID at all? You should see some kind of bubble info when you connect it.
by christian
Tue Oct 23, 2007 5:16 pm
Forum: V-USB
Topic: USB led fader
Replies: 4
Views: 7071

Sorry, I don't know the project so I can't comment on the function of the "test supply voltage" LED. However, if Windows does not bring up ANY alert, there is no 1.5k pull-up between the supply and D-, or the AVR outputs low level on D+ and D-.
by christian
Tue Oct 23, 2007 3:15 pm
Forum: V-USB
Topic: Problems building bootloadHID
Replies: 14
Views: 17061

The new version should be online already...
by christian
Tue Oct 23, 2007 1:55 pm
Forum: V-USB
Topic: USB led fader
Replies: 4
Views: 7071

If Windows does not even display the "device not recognized" message, you have a hardware problem. A simple pull-up of 1.5 k from Vcc to D- is sufficient to get this message. I don't understand your other question, though. If you connect your device to USB, the power LED does not light. Bu...
by christian
Tue Oct 23, 2007 1:51 pm
Forum: V-USB
Topic: Problems building bootloadHID
Replies: 14
Views: 17061

bootloadHID was compiled with gcc 3.3 and a more recent avr libc than you used.

I see that the most recent version is 2007-06-25. We have done some code optimizations since that version so that it fits into 2k even when compiled with gcc 4. I'll make a release soon...
by christian
Sat Oct 13, 2007 12:11 pm
Forum: V-USB
Topic: recompiling powerswitch.c
Replies: 3
Views: 5155

This look like a general problem with the MinGW installation. The make utility complains that it can't find the compiler (as far as I understand the error message). Either the make utility does not match the rest of the installation (I remember there were two "make" packages for MinGW, one...
by christian
Sat Oct 13, 2007 12:07 pm
Forum: V-USB
Topic: compiling remote sensor daemon
Replies: 3
Views: 5143

Have you ever been able to compile anything with this MinGW installation? This looks like a broken make utility or a missing compiler.
by christian
Sun Oct 07, 2007 9:33 pm
Forum: V-USB
Topic: compiling remote sensor daemon
Replies: 3
Views: 5143

Have you modified the Makefiles? This is an error message created by the make utility itself. It looks as if it tried to find a program named "gcc C:\MinGW\include -O -Wall -c sensord.c" instead of running "gcc" and passing the rest as parameter. This can happen if you have quote...
by christian
Sun Oct 07, 2007 9:26 pm
Forum: V-USB
Topic: Avr Doper with Vista
Replies: 5
Views: 8552

CDC mode does not work reliably on all operating system / hardware combinations. Osamu Tamura maintains a list of compatible and incompatible systems in his AVR-CDC project.
by christian
Sun Oct 07, 2007 9:24 pm
Forum: V-USB
Topic: Error during compilation
Replies: 1
Views: 3931

The error messages says that the macros USB_INTR_CFG and USB_INTR_ENABLE expand to invalid left-hand values for an assignment. These macros are defined in usbdrv.h to MCUCR and GIMSK (or similar registers). You may override these values in usbconfig.h, though. Please run your code through the prepro...
by christian
Sun Oct 07, 2007 9:19 pm
Forum: V-USB
Topic: Alternate clock speeds
Replies: 1
Views: 3702

The clock rate must be correct within a couple of 100 ppm (parts per million). 14.75 MHz is definitely out of this range. Please note that asynchronous protocols usually tolerate clock rate deviations of more than 1%. You can usually trim the baud rate precisely enough from any high frequency clock,...
by christian
Sun Oct 07, 2007 9:16 pm
Forum: V-USB
Topic: AVR-CDC Issues
Replies: 1
Views: 4180

Have you tried this on another operating system, e.g. Linux or Mac OS X? The most likely cause for your problem is that Windows has stalled the bulk endpoint after an error. The error could be that an USB packet was lost due to high CPU load (and long interrupt disable time) on the AVR. Other operat...
by christian
Tue Oct 02, 2007 12:11 pm
Forum: V-USB
Topic: AVR-USB and atmega88
Replies: 1
Views: 21755

You should not need to modify usbdrv.c. The macros you mentioned should expand to no-ops unless you have configured a HID device. When you use the Mega88, please make sure that your fuse settings are correct. You must ensure that the processor runs on external crystal clock. And you may have to chan...
by christian
Mon Oct 01, 2007 1:20 pm
Forum: V-USB
Topic: AVR 12Mhz with VCC 3V?
Replies: 1
Views: 4016

If you stick with the words of the data sheet, yes, then this is overclocking. There are AVRs with a more precise specification of supply voltage vs. allowed clock (in a diagram). Since the rating is consistent with the values given in other AVR data sheets, we assume that the other AVRs have a simi...