Search found 1013 matches

by christian
Sun Apr 13, 2008 12:28 pm
Forum: V-USB
Topic: USB interafce
Replies: 1
Views: 2812

You need an embedded USB host for that. For a pen drive, you need at least full speed USB. See section "Embedded USB Hosts" on http://www.obdev.at/products/avrusb/links.html.
by christian
Sun Apr 13, 2008 12:27 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34668

The 16 MHz version meets the specs reliably when you use bulk endpoints, the 12 MHz version is very close to the limit. Since one 8 byte chunk is duplicated, it's almost certain that this is a retry from the host. In principle, it's possible to filter out retries by checking data toggling. But I'd r...
by christian
Sun Apr 13, 2008 12:20 pm
Forum: V-USB
Topic: unknown device on some computers not on others..
Replies: 9
Views: 8995

I don't think that your USB adapter or host driver is broken. You can easily check this by connecting other devices. As already mentioned, the most likely cause is a signal level problem. If you are using zener diodes, the must be low power types (<= 500 mW). Try removing the zener diodes and insert...
by christian
Sat Apr 12, 2008 9:06 pm
Forum: V-USB
Topic: working nicely on my laptop, but fail on my PC?
Replies: 32
Views: 34668

This probably means that Sharity was not fast enough sending an ACK so that the host did a USB retry after some time. What clock frequency do you use? Can you reproduce this? If yes, do you have a digital storage scope to analyze it? Would be really interesting to find out why this happens since bul...
by christian
Sat Apr 12, 2008 8:59 pm
Forum: V-USB
Topic: unknown device on some computers not on others..
Replies: 9
Views: 8995

Windows always tries to refer to the device by name. If it does not know the name of the device, it was not able to read the device descriptor. Since this is a very basic thing, we must assume that USB does not work at all on these PCs. The most likely cause for this type of failure is in the hardwa...
by christian
Sat Apr 12, 2008 8:56 pm
Forum: V-USB
Topic: AVRUSBBoot ATMega1281
Replies: 19
Views: 18251

You can mail patches to Thomas Fischl. If he does not respond, please consider adding something to our Wiki at http://avrusb.wikidot.com/, then post a link here in the forum.
by christian
Thu Apr 10, 2008 12:00 pm
Forum: V-USB
Topic: CPU Load
Replies: 1
Views: 2815

AVR-USB needs the CPU as long as there is USB traffic. This is > 90% os the time if bulk endpoints are involved (as with CDC mode). For all other modes based on control transfers, it depends on how fast you respond to requests. As long as the host polls for a response, there's a lot of USB traffic.
by christian
Thu Apr 10, 2008 11:46 am
Forum: V-USB
Topic: AVR-USB frequency meter
Replies: 16
Views: 18182

You can do this with signals up to ~ 3 kHz. This gives an interrupt rate of ~ 300 microseconds which should be compatible with AVR-USB. For higher frequencies, you need a prescaler or simply count input pulses during a given period of time.
by christian
Thu Apr 10, 2008 11:43 am
Forum: V-USB
Topic: Shut down or sleep mode for AVR-USB
Replies: 8
Views: 9537

See the end of http://avrusb.wikidot.com/examples, the section about suspend mode. This explains how suspend mode can be implemented.
by christian
Mon Apr 07, 2008 7:10 pm
Forum: V-USB
Topic: AVR USB unknown device
Replies: 13
Views: 12614

This must be a problem with libusb-win32. Please remove everything related to this lib and install it from scratch. Maybe a web search brings up something relevant.
by christian
Mon Apr 07, 2008 4:19 pm
Forum: V-USB
Topic: Using an Obdev AVR-USB device with Labview
Replies: 7
Views: 11064

I must admit that I don't know what Labview is. CDC mode uses ~ 90% or more of the CPU's time. If you just want to generate a PWM signal, that can be done in hardware with timer1, the hardware should therefore be good enough. AVR-USB can implement all types of interfaces. I don't know D2XX, but I'm ...
by christian
Mon Apr 07, 2008 4:14 pm
Forum: V-USB
Topic: build usb interface
Replies: 9
Views: 7345

Regarding the previous question: You need the parallel port programmer only ONE TIME, when you program the AVR for your USB based programmer. Once that is done, you use USBasp on the USB port and no parallel port is needed any more. Regarding application development please see various examples on th...
by christian
Mon Apr 07, 2008 4:10 pm
Forum: V-USB
Topic: USB MIDI Interface
Replies: 93
Views: 458502

Please get in contact with me at the support address. We can sponsor an ID for the MIDI device class.
by christian
Mon Apr 07, 2008 12:26 pm
Forum: V-USB
Topic: build usb interface
Replies: 9
Views: 7345

Yes, that should be the procedure. You can also use avrdude for parallel port programming, not only for USBasp.
by christian
Mon Apr 07, 2008 10:10 am
Forum: V-USB
Topic: Substitute of INT0 pin for AVR-USB D+
Replies: 1
Views: 3482

Yes, this is possible. You need to modify the interrupt configuration at the end of usbconfig.h. And you MUST make sure that no higher level interrupt is used (except if you know exactly what you are doing).