Search found 1013 matches

by christian
Mon Apr 07, 2008 10:08 am
Forum: V-USB
Topic: Using an Obdev AVR-USB device with Labview
Replies: 7
Views: 11064

See the AVR-CDC example at http://www.recursion.jp/avrcdc/. This is a virtual COM port.

Please note that there seem to be problems with the driver on Vista which have not been resolved yet.
by christian
Mon Apr 07, 2008 10:04 am
Forum: V-USB
Topic: AVR doper firmware compile issue
Replies: 2
Views: 4565

The bundled hex file was built with gcc 3.4.6. The warnings you get suggest that you are not using the Makefile which ships with AVR-Doper. For the new WinAVR, the redefintion of F_CPU indicates that you pass it on the compiler command line (we have it in hardware.h in this project). And the "c...
by christian
Mon Apr 07, 2008 10:00 am
Forum: V-USB
Topic: build usb interface
Replies: 9
Views: 7345

I would recommend that you build USBasp, since it's simple. You could consider the metaboard variant at http://metalab.at/wiki/Avrprog-metaboard because it has programming sockets.

You still have to flash your first AVR with other means, though. I'd recommend a simple parallel port programmer on a desktop PC for this purpose.
by christian
Sun Apr 06, 2008 8:46 am
Forum: V-USB
Topic: AVR Doper Firmware Issue with AVR Studio Upgrade
Replies: 6
Views: 7237

That's indeed hard to find: in stk500protocol.c there's stkParam_t stkParam = {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 0, 50, 0, 1, 0x80, 2, 0, 0xaa, 0, 0, 0, 0, 0, }}; The type is defined as typedef union{ uchar bytes[32]; struct{ int buildVersionLow...
by christian
Fri Apr 04, 2008 7:13 pm
Forum: V-USB
Topic: Problems with AVRdoper
Replies: 5
Views: 6298

You can try which is faster: HID or CDC mode. And you can increase the ISP clock with the -B option to avrdude.
by christian
Thu Apr 03, 2008 11:50 am
Forum: V-USB
Topic: Problems with AVRdoper
Replies: 5
Views: 6298

Since AVR-Doper is intended as a drop in replacement for the STK500 version 2, simply use the STK's docs. 35 seconds for 5k is really slow. Since AVR-USB is firmware driven, USB activity costs CPU time. If the host polls aggressively, the AVR may almost freeze. We can work around this problem in HID...
by christian
Wed Apr 02, 2008 10:17 pm
Forum: V-USB
Topic: Problems with AVRdoper
Replies: 5
Views: 6298

Hmmm... The error indicates a problem on the MISO/MOSI/SCK interface. USB is working correctly. Please check the wiring and components around the HC126 and at the connector.

Did you specify "-c stk500hvsp" for the high voltage mode in avrdude? Otherwise it won't use HV.
by christian
Wed Apr 02, 2008 10:48 am
Forum: V-USB
Topic: AVRUSBBoot ATMega1281
Replies: 19
Views: 18251

You can try USBaspLoader. It requires some changes in the source code because it needs to know the signature bytes of the target chip, but it has an option for >64k flash blocks (although that has not been tested yet). For >64k addressing, you probably have to drop EEPROM support so that it fits int...
by christian
Tue Apr 01, 2008 9:32 pm
Forum: V-USB
Topic: AVR Doper Firmware Issue with AVR Studio Upgrade
Replies: 6
Views: 7237

The firmware has the version number hard-coded. Simply change the version number in the firmware to whatever AVR-Studio expects.
by christian
Tue Apr 01, 2008 9:31 pm
Forum: V-USB
Topic: build usb interface
Replies: 9
Views: 7345

First you need an AVR programmer. If your computer has a serial or parallel port (not USB adapters!), then you can build one of the simple programmers consisting of wire connections only. If your computer has USB only, build USBasp, a simple USB programmer. You still need another programmer for this...
by christian
Tue Apr 01, 2008 9:26 pm
Forum: V-USB
Topic: Making AVR Doper - Questions
Replies: 1
Views: 3190

For the fuse bits open Makefile in an editor and have a look at the fuse values described there. On Windows, you can use AVR-Doper in CDC mode and it behaves as if it were an STK500v2 on a serial port. If you use avrdude, you can also set the jumper for HID mode and tell avrdude to talk to an STK500...
by christian
Tue Apr 01, 2008 9:22 pm
Forum: V-USB
Topic: USB Device Not Recognised with AVR Studio and D1/2 for D-/+
Replies: 9
Views: 9308

See the USBaspLoader project. It uses Port D bits 2 and 4 in the default configuration.
by christian
Tue Apr 01, 2008 3:09 pm
Forum: V-USB
Topic: USB Device Not Recognised with AVR Studio and D1/2 for D-/+
Replies: 9
Views: 9308

Your code suggests that you have wired D+ to INT1 instead of INT0 since you have only configured INT1 as an input. If you use INT1, you must also change the interrupt configuration in usbconfig.h accordingly. Otherwise make INT0 an input without pull-up.
by christian
Tue Apr 01, 2008 2:55 pm
Forum: V-USB
Topic: AVRUSBBoot ATMega1281
Replies: 19
Views: 18251

This can't be a limitation of the driver because the same request is used for all pages. It may be a limitation of the bootloader, though.
by christian
Tue Apr 01, 2008 2:29 pm
Forum: V-USB
Topic: AVR USB unknown device
Replies: 13
Views: 12614

Regarding the console app: well, yes. It's intended to be called from the command line. Open a DOS window and run the command by typing its name.