Search found 1013 matches

by christian
Wed Jan 10, 2007 11:15 pm
Forum: V-USB
Topic: Change PORT
Replies: 1
Views: 5758

Please see the thread "usb driver problem". You probably have not set the I/O ports used for USB as inputs without pull-up or other parts of your firmware still output data to these pins.
by christian
Sat Dec 30, 2006 4:02 pm
Forum: V-USB
Topic: usb driver problem
Replies: 3
Views: 8697

You may use ANY port, provided that USB D+ and D- are both on the same port AND D+ is also wired to hardware interrupt 0 (INT0). When you change usbconfig.h (or the Makefile or any other header file), do a "make clean" to ensure that all modules are compiled. Our Makefile does not contain ...
by christian
Mon Dec 25, 2006 5:51 pm
Forum: V-USB
Topic: Suggestion for a project.
Replies: 4
Views: 10388

I think this is the best way to implement data streams on top of HID. I've done this in AVR-Doper. The first byte is the number of bytes available and the rest of the report is the payload.
by christian
Mon Dec 25, 2006 5:48 pm
Forum: V-USB
Topic: USB to Serial
Replies: 1
Views: 7394

Please look at Osamu Tamura's avrcdc: http://www.recursion.jp/avrcdc/. I think this is exactly what you want.
by christian
Mon Dec 18, 2006 12:11 pm
Forum: V-USB
Topic: connection failed
Replies: 2
Views: 6703

Implementing the CDC device class with AVR-USB is slightly outside the specs. It may therefore be unreliable on some computers. The driver you mentioned may change the USB timing and thus cause the CDC implementation to fail, although it's otherwise completely OK. If you have a choice, I would recom...
by christian
Mon Dec 18, 2006 12:07 pm
Forum: V-USB
Topic: Suggestion for a project.
Replies: 4
Views: 10388

As Sarge pointed out, one of the FT232 chips is probably the best solution for this. However, if you want a solution with DIL chips (not SMD) and still small, you may want to look at Osamu Tamura's avrcdc: m. Implementing CDC based on AVR-USB is a bit demanding and I admit that a HID to serial conve...
by christian
Mon Dec 18, 2006 11:39 am
Forum: V-USB
Topic: Using 5V AVR's with AVR-USB
Replies: 8
Views: 17511

There is no maximum clock vs. supply voltage specification directly available from Atmel. However, if you look at the diagrams in the electrical specification of the ATMega8, especially "Active Supply Current vs. Frequency", parametrized by supply voltage (Figure 119), you see that the sup...
by christian
Tue Dec 12, 2006 10:20 am
Forum: V-USB
Topic: Firmware idVendor/idProduct don't match
Replies: 4
Views: 18022

The device descriptor you quote is of class 9 which means "USB Hub". This is probably the root hub in the USB controller chip. If Windows identifies the device by name ("PowerSwitch"), then it must have read the descriptors correctly. This rules out voltage level problems. I can'...
by christian
Mon Dec 11, 2006 12:15 pm
Forum: V-USB
Topic: How to send on Interrupt transfer more than 8 bytes ?
Replies: 5
Views: 11308

I have not tested this approach, but I think it should work.

Yes, this is rather dirty coding, but that's what I meant with "The driver is not really prepared to handle interrupt-IN transfers of more than 7 bytes".
by christian
Mon Dec 11, 2006 12:12 pm
Forum: V-USB
Topic: Firmware idVendor/idProduct don't match
Replies: 4
Views: 18022

10DE/00E7 is the PCI identification of your USB controller, not a USB ID pair. If nothing else is listed for the bus, no USB devices have been found.
by christian
Mon Dec 11, 2006 12:06 pm
Forum: V-USB
Topic: PPM RC to USB Interface
Replies: 13
Views: 19531

I doubt that the supply voltage has any influence. Yes, it's true that the ATMega8 is not specified for 3.3V operation. However, parts of the data sheet (such as figure 121 "Active Supply Current vs Vcc" in section "ATMega8 Typical Characteristics") suggest that the same parts ca...
by christian
Thu Dec 07, 2006 11:56 am
Forum: V-USB
Topic: USB-Serial have problem!!!
Replies: 2
Views: 6474

Are you referring to a CDC-ACM device and you use VisualBasic on the host side to read data from a serial-to-USB converter?

In this case you may be out of luck. Using AVR-USB to implement CDC-ACM devices is outside the specification. It may not work on some hosts or with some drivers.
by christian
Thu Dec 07, 2006 11:50 am
Forum: V-USB
Topic: How to send on Interrupt transfer more than 8 bytes ?
Replies: 5
Views: 11308

The driver is not really prepared to handle interrupt-IN transfers of more than 7 bytes (one USB transaction indicating End Of Transfer). Larger (interrupt-) transfers are built from multiple transactions. You should be able to simulate a 16 byte interrupt transfer with the following procedure: &sdo...
by christian
Tue Dec 05, 2006 11:47 pm
Forum: V-USB
Topic: Can AVRUSB simulate two or more serial port at same time?
Replies: 1
Views: 6387

If you want to create your own driver, then yes. If you want to use existing drivers and implement a CDC ACM device (a modem), then no. There are not enough endpoints available.
by christian
Thu Nov 30, 2006 9:39 pm
Forum: V-USB
Topic: transfer characters from parallel DB25 to USB 2.0 Type B
Replies: 3
Views: 10625

What do you mean with "there is no hub"? The firmware on the USB-OTG [yes, "On The Go" is the correct term] is usually limited in the support of devices. Maybe it's usual that these OTG devices don't support hubs. The low level protocol between cameras and printers is definitely ...