Search found 1013 matches

by christian
Wed Sep 12, 2007 10:14 pm
Forum: V-USB
Topic: 20 cycles or 52 cycles interrupt disable?
Replies: 5
Views: 5233

I think (would have to check the source to be sure), the 20 cycles were for an older version. The current release may allow longer latencies even at 12 MHz.
by christian
Wed Sep 12, 2007 9:05 pm
Forum: V-USB
Topic: Interrupts
Replies: 5
Views: 8458

Yes, AVR-Doper ships with the latest library (as the version indicates).

If you want just AVR-USB, please download PowerSwitch. We prefer to ship a working example because that saves a lot of questions about how the library should be used.
by christian
Wed Sep 12, 2007 6:28 pm
Forum: V-USB
Topic: 20 cycles or 52 cycles interrupt disable?
Replies: 5
Views: 5233

The statement in usbdrv.h is for the worst case of the 12 MHz module. Timing is more relaxed if you switch to 16.5 MHz. Therefore the discrepancy.
by christian
Wed Sep 12, 2007 6:26 pm
Forum: V-USB
Topic: Interrupts
Replies: 5
Views: 8458

Please also note that you need the most recent version (2007-08-07) of AVR-USB. Older versions had the interrupt vector hardcoded in the assembler modules.
by christian
Tue Sep 11, 2007 11:59 am
Forum: V-USB
Topic: AVR Doper problem (HV mode doesn't work)
Replies: 17
Views: 21012

The logic signals look perfectly OK on the first glance. When you look at the clock signal (SCI), you can see the end of a byte at the two short pulses. You can also see delays (when SCI does not change level) which indicate that the AVR processes an interrupt, most likely a USB interrupt. The data ...
by christian
Sun Sep 09, 2007 5:56 pm
Forum: V-USB
Topic: AVR Doper problem (HV mode doesn't work)
Replies: 17
Views: 21012

I don't think that you need a logic analyzer. You can easily slow down the clocks in hvsp.c/hvspExecute() by inserting delays. I had no problem flashing a Tiny45 with avrdude so far. Either you have a newer chip revision which introduces an incompatibility or you experience some kind of hardware pro...
by christian
Sat Sep 08, 2007 8:41 pm
Forum: V-USB
Topic: HIDKeys.. several keys input on the same time
Replies: 1
Views: 3874

For real keyboard features (such as multiple keys pressed), please look at the C64 keyboard in the projects section. The code published there is capable to do that (among other things).
by christian
Sat Sep 08, 2007 8:37 pm
Forum: V-USB
Topic: AVR Only HID Mass Storage Device
Replies: 2
Views: 5126

AVR-USB can't do full speed, only low speed. However, if you implement the same functionality (bulk endpoints) in low speed, most operating systems accept them as if it were full speed. I don't see how you can implement a mass storage device as HID, though, without custom drivers. As far as I know, ...
by christian
Sat Sep 08, 2007 8:34 pm
Forum: V-USB
Topic: Automator, WinAVR, AVR Studio ELF Link Error
Replies: 3
Views: 7048

I guess you compiled the wrong file for the assembler module. Please enter usbdrvasm.S in your project makefile, not one of the specific files. This file contains the usbCrc16Append() function. If you just want to evaluate the size, download PowerSwitch. If you define the TEST_DRIVER_SIZE macro, it ...
by christian
Sat Sep 08, 2007 8:30 pm
Forum: V-USB
Topic: AVR-Doper with 16Mhz crystal
Replies: 3
Views: 7813

Yes, the relative branch range is exceeded by one instruction if all endpoints are enabled (as it is required for AVR-Doper). You can fix this by moving the code block around handleIn3: #if USB_CFG_HAVE_INTRIN_ENDPOINT && USB_CFG_HAVE_INTRIN_ENDPOINT3 handleIn3: lds cnt, usbTxLen3 ;[43] sbrc...
by christian
Sat Sep 08, 2007 8:08 pm
Forum: V-USB
Topic: Support for at90usbkey
Replies: 6
Views: 9186

Thanks for your updates!
by christian
Fri Aug 24, 2007 8:10 pm
Forum: V-USB
Topic: AVR USB Queries, Please Help!!!
Replies: 7
Views: 9545

You can't run EasyLogger on any other device than the ATTiny45 (and similar) because it uses special features of this chip, in particular the high speed I/O clock PLL. This allows the Tiny45 to run at 16.5 MHz from the internal RC oscillator. The AT90S2313 does not even have an internal RC oscillato...
by christian
Fri Aug 17, 2007 10:56 am
Forum: V-USB
Topic: Problems with ATMega88
Replies: 12
Views: 13275

I've completely overlooked that... PD1 is not a good choice if you compile with debugging enabled or if you otherwise enable the UART transmitter.

If you can ensure that the UART transmitter is off, the driver should work with PD1.
by christian
Thu Aug 16, 2007 11:03 am
Forum: V-USB
Topic: My Project Stop from working after some hour
Replies: 3
Views: 5127

Sorry, I've somehow overlooked your posting... Regarding the first question: If the device stops working after some hours, it probably had a RESET due to EMI, brownout or whatever. If the host does not detect this RESET, it won't re-enumerate the device and the device-ID won't match. There are two w...
by christian
Thu Aug 16, 2007 10:56 am
Forum: V-USB
Topic: Problems with ATMega88
Replies: 12
Views: 13275

Sorry, but then I'm out of ideas...

Since the firmware has been tested very well, I would suspect that there is something wrong in the circuit...