Search found 1013 matches

by christian
Fri Sep 28, 2007 9:20 pm
Forum: V-USB
Topic: HID in at90s2313
Replies: 1
Views: 3838

Yes, but it's extremely tight. Look at the bootloadHID code at http://www.obdev.at/products/avrusb/prjprog.html

This code fits into 2k of boot loader section on the ATMega8.
by christian
Tue Sep 25, 2007 1:27 pm
Forum: V-USB
Topic: AVR USB and ICC compiler
Replies: 3
Views: 6527

If you want some help with confusing parts of the source, please contact me through the support form.
by christian
Tue Sep 25, 2007 1:26 pm
Forum: V-USB
Topic: AVR USB Queries, Please Help!!!
Replies: 7
Views: 9545

You don't need to change ANY file in the usbdrv directory. All user configurable parts are in usbconfig.h. Both, PowerSwitch and EasyLogger have the same files in usbdrv (unless they have different versions, but then it should be possible to upgrade the older to the newer driver).
by christian
Tue Sep 25, 2007 12:55 pm
Forum: V-USB
Topic: AVR USB Queries, Please Help!!!
Replies: 7
Views: 9545

Sorr, I can't explain this because I never did it and I don't have test hardware here to try your code. I can only give the obvious hints (usbconfig.h, USB specific code in main(), processor-specific code in the main module).
by christian
Tue Sep 25, 2007 10:12 am
Forum: V-USB
Topic: AVR USB Queries, Please Help!!!
Replies: 7
Views: 9545

Did you change the device type in the Makefile, or are you still compiling ATTiny45 code for the 2313?

You must change the code since the 2313 does not have ADC registers (no ADC included).
by christian
Tue Sep 25, 2007 10:03 am
Forum: V-USB
Topic: AVR USB and ICC compiler
Replies: 3
Views: 6527

No, at least we have not heard about it.

In principle, it should be possible to port AVR-USB to ICCAVR in a similar way as it was ported to the IAR compiler. It's only that nobody has done this so far.

Any volunteers?
by christian
Tue Sep 25, 2007 10:00 am
Forum: V-USB
Topic: Can AVR-USB register composite device. two HID, key/mouse?
Replies: 2
Views: 6349

Yes, that is possible with a composite HID descriptor. Getting the descriptor right is not always easy, especially with little experience in HID design. I would recommend that you borrow a USB keyboard with integrated trackball and run a diagnostic tool on it which prints the HID descriptor. This wo...
by christian
Tue Sep 25, 2007 9:57 am
Forum: V-USB
Topic: Easylogger not recognized
Replies: 7
Views: 7995

The RC oscillator clock must be calibrated to half of the system clock, that's 8.25 MHz. This is not one of the default rates which can be calibrated with AVRStudio. I did calibration by changing the fuse values temporarily so that the clock rate was output at the CLKOUT pin and measured it with a s...
by christian
Mon Sep 17, 2007 6:22 pm
Forum: V-USB
Topic: AVR-Dopper in HVSP propably cannot work for t11/t12/13!
Replies: 1
Views: 5745

I have heard reports that some of the 8 pin devices don't work in HVSP mode, maybe due to the difference you found! I have not gone through all the tedious diagrams in all data sheets when writing the original firmware. I'm quite confident that the Tiny11/12, 13 and 45 can be programmed in the same ...
by christian
Mon Sep 17, 2007 6:13 pm
Forum: V-USB
Topic: AVR-DOPER HID mode
Replies: 5
Views: 10152

You don't need libusb for AVR-Doper in HID mode. That's the advantage of this mode and why we implemented it this way!

Some avrdude binaries have broken support for AVR-Doper in HID mode. See the following thread:

http://forums.obdev.at/viewtopic.php?t=614
by christian
Mon Sep 17, 2007 6:09 pm
Forum: V-USB
Topic: PowerSwitch für SPI nutzen ?
Replies: 1
Views: 3867

Ich wuerde Ihnen da einen Blick auf das Projekt i2c-tiny-usb (verlinkt von m) raten. Das implementiert einen USB auf I2C konverter. SPI sollte mit noch weniger Aufwand moeglich sein. Falls Sie andere Gruende haben, auch Inputs zu lesen, dann wuerde ich Ihnen raten, den PowerSwitch Code dahingehend z...
by christian
Mon Sep 17, 2007 6:03 pm
Forum: V-USB
Topic: AVR Doper problem (HV mode doesn't work)
Replies: 17
Views: 21012

Thanks for the very positive information! I'm glad to hear that it was something simple (although hard to find). At least we don't have to fix anything in the firmware...
by christian
Fri Sep 14, 2007 6:12 pm
Forum: V-USB
Topic: AVR Doper problem (HV mode doesn't work)
Replies: 17
Views: 21012

With one debug -v more I get: Reading | | 0% 0.00savrdude: stk500hv_read_byte(.., signature, 0x0, ...) avrdude: stk500hv_read_byte(): Sending read memory command: Send: 8 bytes: 1b 0d 00 02 0e 3b 00 21 ".....;.!" Sending 8 bytes data chunk Received 29 bytes data chunk of to...
by christian
Fri Sep 14, 2007 1:10 pm
Forum: V-USB
Topic: AVR Doper problem (HV mode doesn't work)
Replies: 17
Views: 21012

First of all: Have you checked the programming voltage of 12 V on the RESET pin? And the -B option does not influence the HVSP clock, only the ISP clock. You would have to insert delays in the firmware. I've checked with avrdude and my ATTiny45 (it has the number 0613, don't know which revision this...
by christian
Thu Sep 13, 2007 10:00 pm
Forum: V-USB
Topic: AVR Doper problem (HV mode doesn't work)
Replies: 17
Views: 21012

The LED reflects the "programming mode" status. It's on during the entire programming. If programming fails, you probably see a short flash at best, since things go so fast. The function hvspEnterProgmode() definitely enables Vcc 40 microseconds before setting Reset to high voltage. See hv...