Search found 1013 matches

by christian
Tue Feb 03, 2009 3:26 pm
Forum: V-USB
Topic: win32-libusb bulk or interrupt transfers
Replies: 2
Views: 3273

Did you set a configuration and claim the interface? Otherwise you can't use any endpoints other than 0 with libusb.
by christian
Tue Feb 03, 2009 3:25 pm
Forum: V-USB
Topic: Device stuck in "suspend" and blocking USB port
Replies: 5
Views: 5011

You need to declare all Arduino interrupts with __attribute__((interrupt)) so that they can be interrupted by USB traffic. The timer0 ISR is not well optimized, BTW, which makes the problem worse. And much of the Arduino code contains cli() sections, some of them long enough to cause problems with U...
by christian
Tue Feb 03, 2009 3:21 pm
Forum: V-USB
Topic: Interrupt-IN?
Replies: 1
Views: 2673

The semantics are different for interrupt/bulk endpoints. There is no usbFunctionReadIn(). You need to call usbSetInterrupt*() and check for buffer space with usbInterruptIsReady*().
by christian
Fri Jan 30, 2009 6:08 pm
Forum: V-USB
Topic: compile hid-data host software sample
Replies: 3
Views: 4034

Just remove the "-lusb" from Makefile.windows. It is not required.
by christian
Thu Jan 22, 2009 9:40 pm
Forum: V-USB
Topic: apparently AVR Doper Clone published in Elektor
Replies: 2
Views: 4659

I just came across this... Want to mention one thing: The first time Elektor missed the citation, it was not the author's fault. It's probably the same here.

Legally, they are not required to cite AVR-USB, as long as the code is published under GPL.
by christian
Thu Jan 22, 2009 8:13 pm
Forum: V-USB
Topic: AVR Doper
Replies: 34
Views: 47061

It's not a question of USB 1 or 2, it's a question of the chipset. Some USB chipsets accept voltages outside the specified range, others don't. Older chipsets accept 5 V levels on D+ and D-, most newer chipsets get outside their common mode range.
by christian
Wed Jan 21, 2009 7:50 pm
Forum: V-USB
Topic: Linux Host Application for AVR-USB
Replies: 2
Views: 3795

usbtool is an example included with the driver download.

If you want a real-world GUI application, have a look at the Automator example.
by christian
Wed Jan 21, 2009 7:48 pm
Forum: V-USB
Topic: Is it possible to...
Replies: 4
Views: 4592

You may also have a look at USBaspLoader.

A boot loader is a short program which sits at the end of the controller's flash memory and takes control after Reset. The boot loader waits for commands via USB and programs the rest of the flash memory.
by christian
Wed Jan 21, 2009 7:46 pm
Forum: V-USB
Topic: compile hid-data host software sample
Replies: 3
Views: 4034

Please post more info, e.g. the error messages you get.
by christian
Wed Jan 21, 2009 7:45 pm
Forum: V-USB
Topic: Easylogger not enumerated on one computer
Replies: 2
Views: 3670

This is most likely a voltage level problem. Please check the voltage level on D- in idle mode.
by christian
Wed Jan 21, 2009 7:43 pm
Forum: V-USB
Topic: problems occur when compile
Replies: 1
Views: 2868

Make sure that C code in any of the headers (and includes of headers with C code) are in an #ifndef __ASSEMBLER__. The assembler module includes some of the header files, but the assembler can't understand C syntax, of course.
by christian
Wed Jan 21, 2009 7:41 pm
Forum: V-USB
Topic: AVR USB example "usbtool" compiled PLEASE!!
Replies: 2
Views: 3313

Is this on Windows? If you use Windows, you need libusb-win32 installed (the filter driver!).
by christian
Wed Jan 21, 2009 7:39 pm
Forum: V-USB
Topic: Atmega8 cannot hard reboot
Replies: 1
Views: 2342

Please check your boot loader init and boot loader condition code. This code determines how long the boot loader is active and whether it becomes active at reset.
by christian
Wed Jan 21, 2009 7:37 pm
Forum: V-USB
Topic: Interrupt-in endpoint: What am I missing?
Replies: 1
Views: 2737

Do you get an error for setting the configuration and claiming the interface? You can't use the interrupt endpoint without claiming the interface.

See the RemoteSensor example for how the interrupt endpoint can be used.
by christian
Wed Jan 21, 2009 7:33 pm
Forum: V-USB
Topic: AVR Doper
Replies: 34
Views: 47061

If it works with some computers and not with others, it's most likely a problem with the zener diodes. Either they are not built-in, or they are not low power types or have the wrong threshold voltage. AVR-Doper does not support AT89 chips. Don't know whether your source has modified the code, though.