Search found 1013 matches

by christian
Mon Jul 20, 2009 4:35 pm
Forum: V-USB
Topic: Still "Template"?
Replies: 5
Views: 4335

Re: Still "Template"?

Windows may have cached this info for your VID/PID pair. You can somehow flush that cache, but I'm not a Windows expert.
by christian
Wed Jul 15, 2009 4:49 pm
Forum: V-USB
Topic: v-usb as host for USB/Eth ?
Replies: 1
Views: 1911

Re: v-usb as host for USB/Eth ?

You need a USB host for that. V-USB is a USB device only.
by christian
Wed Jul 15, 2009 3:19 pm
Forum: V-USB
Topic: 20 cycles or 52 cycles interrupt disable?
Replies: 5
Views: 5226

Re: 20 cycles or 52 cycles interrupt disable?

You must look at the assembler listing and count the CPU cycles between every CLI and SEI instruction pair and the length of all interrupt routines until they either hit RETI or SEI. The longest count plus ~ 10 cycles is your maximum interrupt latency.
by christian
Fri Jul 10, 2009 6:15 pm
Forum: V-USB
Topic: 16MHz HIDKeys?
Replies: 1
Views: 2123

Re: 16MHz HIDKeys?

All driver versions should be compatible. Just drop in the new version in place of the old.
by christian
Fri Jul 10, 2009 6:13 pm
Forum: V-USB
Topic: 12800
Replies: 5
Views: 3556

Re: 12800

The code size exceeds the size of your AVR's flash, probably because the 12.8 MHz version is quite a bit bigger than the other versions of the driver. Your best option is to switch to the next bigger AVR.
by christian
Fri Jul 10, 2009 6:07 pm
Forum: V-USB
Topic: chip size
Replies: 1
Views: 2456

Re: chip size

Here are the code sizes of the driver for various options when you use gcc 3: Variation Flash RAM +F +RAM Minimum_with_16_MHz 1152 45 +0 +0 Minimum_with_12_MHz 1202 45 +50 +0 Minimum_with_12_8_MHz 1522 45 +370 +0 Minimum_with_15_MHz 1258 45 +106 +0 Minimum_with_16_5_MHz 1274 45 +122 +0 Minimum_with_...
by christian
Fri Jul 10, 2009 6:01 pm
Forum: V-USB
Topic: Question about pin configuration of the USB for ATMEGA1281
Replies: 3
Views: 3917

Re: Question about pin configuration of the USB for ATMEGA1281

And you will either have to run the AVR on 3.3 V or use zener diodes to limit the voltage on D+ and D-.
by christian
Fri Jul 10, 2009 5:57 pm
Forum: V-USB
Topic: Questions about the AVR-Doper license
Replies: 2
Views: 2556

Re: Questions about the AVR-Doper license

Of course. That's why the project is under GPL. The only requirement is that you put your modified version under the same license.
by christian
Fri Jul 10, 2009 5:56 pm
Forum: V-USB
Topic: AVR Studio Build error
Replies: 1
Views: 3483

Re: AVR Studio Build error

These errors indicate that you forgot to write your own code :-), or at least you did not include it in the compile. The compiler did not find your main() function and your usbFunctionSetup() function.
by christian
Fri Jul 10, 2009 5:54 pm
Forum: V-USB
Topic: V-USB and .NET
Replies: 3
Views: 3347

Re: V-USB and .NET

I can only answer the last of your questions: You can't build an MMC based data storage with V-USB because it's low speed USB only. Not only that it would be too slow, the standard does not allow bulk endpoints for low speed devices.
by christian
Thu Jun 11, 2009 3:53 pm
Forum: V-USB
Topic: AVRDoper - Entering HVSP mode
Replies: 1
Views: 2014

Re: AVRDoper - Entering HVSP mode

Please post the diffs here in the forum so that others who are interested can apply them. I'm not sure whether we should change the default implementation. I have tested it with most of the available 8 pin devices and am therefore reluctant to change anything. Our circuit has a only a programming so...
by christian
Mon Jun 08, 2009 4:50 pm
Forum: V-USB
Topic: BootloadHID with AVRDUDE?
Replies: 5
Views: 4441

Re: BootloadHID with AVRDUDE?

I doubt that it's an advantage to have the same configuration in the boot loader and the main application. You want to know whether you are talking to the boot loader or the main app, after all. It may be an advantage to use HID, though, since you need no separate drivers.
by christian
Mon Jun 08, 2009 10:32 am
Forum: V-USB
Topic: [UPDATED] SetFeature problems
Replies: 4
Views: 3904

Re: [UPDATED] SetFeature problems

Using sei() as the first instruction of the interrupt routine is not the best solution. It's better to declare the interrupt with attribute ISR_NOBLOCK (macro which expands to the gcc atribute __attribute__((interrupt))). Gcc will insert the sei automatically as the first instruction of your handler...
by christian
Mon Jun 08, 2009 10:11 am
Forum: V-USB
Topic: BootloadHID with AVRDUDE?
Replies: 5
Views: 4441

Re: BootloadHID with AVRDUDE?

It might be possible to use the main firmware for flashing firmware updates or it might be possible to re-use at least the AVR-USB part of the code in the boot loader and the main firmware. But it's much easier to sped 2k for a boot loader. These 2k are really worth the reduced complexity.
by christian
Sun Jun 07, 2009 8:52 pm
Forum: V-USB
Topic: odDebugInit() always neccessary?
Replies: 1
Views: 2172

Re: odDebugInit() always neccessary?

If you compile with -DDEBUG_LEVEL=0 or omit the define for DEBUG_LEVEL, all debug code is omitted. odDebugInit() emits code only if your debug level is at least 1. Having that said: You can of course omit the debug functions if you don't compile with debugging enabled.