How to install/use under Windows XP?

Go To Last Post
16 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have made the same post at the AVRDUDE support forum, but haven't received any replies yet, so I will try here at AVRfreaks instead:

I just read about AVRDUDE and would like to try out this AVR programmer.

But I couldn't really find any useful info about AVRDUDE at http://savannah.nongnu.org/proje... . The site is very confusing to browse, and I din't really find any useful info about the program at all.
:(
How do I install and use it under Windows XP?

I went to the AVRDUDE files section and downloeded the avrdude-4.4.0.tar.gz and avrdude-4.4.0.tar.gz.sig files. But what do I do with them?
I opened avrdude-4.4.0.tar.gz with WinRAr but I didn't really help me.
Which files do I need to install it under Windows and where do I download them?

No offese, but I hope the program is easier to use than the AVRDUDE website.
I don't find this website very informative.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The easiest way is to install WinAVR, which come with avrdude.

Regards,
Alejandro.
http://www.ocam.cl

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

aweinstein wrote:
The easiest way is to install WinAVR, which come with avrdude.

Thanks for the answer, I tried to install WinAVR and read the AVRDUDE pdf.
It seems there's no support for ATtiny13 and ATtiny2312 :(

It seems stupid to install the 70MB WinAVR just to get AVRDUDE, if you're not interested in the rest of the WinAVR package, there must be an easier way to get AVRDUDE :?:

I can't understand why there's so little information about AVRDUDE software at http://savannah.nongnu.org/proje...
No user manual or install instructions at all; or a breif description of the program for that matter.

Where did WinAVR find the program and documentation for the program?
It seems the website is only made for the developers of the programs and not for users.
Is there another website for AVRDUDE, or why is there no information about it? Is it a secret project or has it not been released for the public yet?
Isn't there a place to dowload the AVRDUDE program alone without WinAVR?
I tried to unzip avrdude-4.4.0.tar.gz, but I couldn't find any exe or install files in this archive.

Am I the only one that think there is way too little user info at http://savannah.nongnu.org/proje... ?
I spent a lot of time browsing at this confusing website, and I didn't help me at all.
I know it's free and open source, but they must still be interested in others using their program or?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Using XP you could run the program in compatibility mode for say, win98

"faster than the speed of dark"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
It seems there's no support for ATtiny13 and ATtiny2312

You can add the support in the configuration file. From the documentation :

Quote:
AVRDUDE reads a configuration file upon startup which describes all of the parts and
programmers that it knows about. The advantage of this is that if you have a chip that
is not currently supported by AVRDUDE, you can add it to the configuration file without
waiting for a new release of AVRDUDE.

It seems that there is no easy way to install avrdude in windows (not counting the WinAVR alternative) :

This is what avrdude documentation said about installing it in windows :

Quote:

A.2.1 Installation
A Windows executable of avrdude is included in WinAVR which can be found at http://sourceforge.net/projects/.... WinAVR is a suite of executable, open source software development tools for the AVR for the Windows platform.

To build avrdude from the source You must have Cygwin (http://www.cygwin.com/).
To build and install from the source tarball for Windows (using Cygwin):
$ set PREFIX=
$ export PREFIX
$ gunzip -c avrdude-4.4.0.tar.gz | tar xf -$
cd avrdude-4.4.0
$ ./configure LDFLAGS="-static" --prefix=$PREFIX --datadir=$PREFIX
--sysconfdir=$PREFIX/bin --enable-versioned-doc=no
$ make
$ make install "


If you want, I can mail you (or post here) the avrdude exe and the documentation. However I am not sure if this will work.

Regards,
Alejandro.
http://www.ocam.cl

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys this is not hard... second link from the bottom....

http://savannah.nongnu.org/downl...

If you want the latest version, 4.4.0, which fixes the problems with bootloading butterflies, downloading the latest WinAVR package is the best way to do it. It really is faster to download 70mb than hack together a working win32 version.

EDIT: I got b*tched out when I asked a question about AVRDUDE, apparently anyone with anything to do with it believes the website is just fine. But it is very easy to overlook things on that page in my humble opinion.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

aweinstein wrote:
This is what avrdude documentation said about installing it in windows :
Quote:

A.2.1 Installation
A Windows executable of avrdude is included in WinAVR which can be found at http://sourceforge.net/projects/.... WinAVR is a suite of executable, open source software development tools for the AVR for the Windows platform..

Where did you find this documentation? I couldn't find it anywhere.

aweinstein wrote:
To build avrdude from the source You must have Cygwin (http://www.cygwin.com/).

Not according to the latests news at http://sourceforge.net/projects/winavr:

Announcing AVRDUDE Version 4.4.0
posted by bdean, Wed 07/21/04 at 23:12 - 0 replies

We are pleased to announce AVRDUDE Version 4.4.0. This release
includes several significant enhancements including:

* Native Win32 support: the need for Cygwin has been eliminated.

* More accurate delay timing on the Windows platform.

aweinstein wrote:
If you want, I can mail you (or post here) the avrdude exe and the documentation. However I am not sure if this will work.

Thanks for the offer, but I have already downloaded and installed the 70 MB WinAVR, so I can copy the files myself, but I'm not sure if the exe file is enough or I need some additional files too like avrdude.conf etc.?
My idea was to use this program at a remote PC for remote ISP updates, because it was a small program that was easy to mail and install, but I guess not.
Why is there no seperate Win install of AVRDUDE without WinAVR?

Maybe I should look for another free programmer instead that is easier to download and install?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ezcomp wrote:
Guys this is not hard... second link from the bottom....

http://savannah.nongnu.org/downl...

If you want the latest version, 4.4.0, which fixes the problems with bootloading butterflies, downloading the latest WinAVR package is the best way to do it. It really is faster to download 70mb than hack together a working win32 version.

EDIT: I got b*tched out when I asked a question about AVRDUDE, apparently anyone with anything to do with it believes the website is just fine. But it is very easy to overlook things on that page in my humble opinion.


Thanks, but I have already downloaded and unzippped avrdude-4.4.0.tar.gz from this site as you can see from one my previous posts. But this files doesn't help anything at all as it seems to miss both the documentation pdf and Windows install/exe files.

I agree with you about the site, it's not userfriendly at all and there isn't really any useful info about the program. The website almost scared me away from using this program, but I decided to give it a chance and ask for help here. But it seems I'm not the only one that finds the website un-informative.

Last Edited: Thu. Oct 28, 2004 - 12:45 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As ezcomp said, there is a windows version available in the avrdude website :

avrdude-4_3_0-win32-install.exe .

Quote:
Where did you find this documentation? I couldn't find it anywhere.

In the WinAVR documentation directory : WinAVR\doc\avrdude-4.4.0 .

Regards,
Alejandro.
http://www.ocam.cl

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AndersAnd wrote:
ezcomp wrote:
Guys this is not hard... second link from the bottom....

http://savannah.nongnu.org/downl...

If you want the latest version, 4.4.0, which fixes the problems with bootloading butterflies, downloading the latest WinAVR package is the best way to do it. It really is faster to download 70mb than hack together a working win32 version.

EDIT: I got b*tched out when I asked a question about AVRDUDE, apparently anyone with anything to do with it believes the website is just fine. But it is very easy to overlook things on that page in my humble opinion.


Thanks, but I have already downloaded and unzippped avrdude-4.4.0.tar.gz from this site as you can see from one my previous posts. But this files doesn't help anything att all as it seems to miss both the documentation pdf and Windows files.

I agree with you about the site, it's not userfriendly at all.


The win xp exe file is sitting right on that download page....

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

aweinstein wrote:
As ezcomp said, there is a windows version available in the avrdude website :

avrdude-4_3_0-win32-install.exe ..


Yes, but this is version 4.3 and not version 4.4. The point of using v4.4 is that apparently you don't need Cygwin as you do with v4.3. But the v4.4 Win install seems to be missing.
I would also prefer to install the newest version.

We are pleased to announce AVRDUDE Version 4.4.0. This release
includes several significant enhancements including:

* Native Win32 support: the need for Cygwin has been eliminated.

Quote:
Where did you find this documentation? I couldn't find it anywhere.

aweinstein wrote:
In the WinAVR documentation directory : WinAVR\doc\avrdude-4.4.0 .

Yes, but it's quite ironic that you first have install WinAVR to find out this in the WinAVR documentation:
"A Windows executable of avrdude is included in WinAVR"
There is not really any point reading this after you have installed WinAVR. At this point you are already aware of this, but how should you know before you install it.
For this information to be useful you should be able to read this somewhere at the AVRDUDE website, before you have downloaded and installed WinAVR.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ezcomp wrote:
The win xp exe file is sitting right on that download page....
´
I'm sorry, maybe it's me that's blind, but still can't find it. I can only see the old version 4.3.
Could you give me the direct link?

Last Edited: Thu. Oct 28, 2004 - 01:05 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AndersAnd wrote:
ezcomp wrote:
The win xp exe file is sitting right on that download page....
´
I'm soory, maybe it's me that's blind, but still can't find it. I can only see the old version 4.3.
Could you give me the direct link?

Sorry, I was referring to 4.3.0, so far as I can tell, the best/only way to get 4.4.0 is with WinAVR :(

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, thanks for the answers.
Can anyone tell me what the "*.sig" files are for? I have never heard of such files and don't know what to do with them. There's no info about it at the AVRDUDE site.
Is it some kind of integrity check files like "*.sfv" files?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

fastlap wrote:
Using XP you could run the program in compatibility mode for say, win98

Where did you find this info, is this necessary?
I couldn't find any info about this in the documentation.
Here's what it says:

Quote:
A.2.4.1 Windows NT/2K/XP
On Windows NT, 2000, and XP user applications cannot directly access the parallel port.
However, kernel mode drivers can access the parallel port. giveio.sys is a driver that can
allow user applications to set the state of the parallel port pins.
Before using AVRDUDE, the giveio.sys driver must be loaded. The accompanying
command-line program, loaddrv.exe, can do just that.
To make things even easier there are 3 batch files that are also included:
1. install giveio.bat Install and start the giveio driver.
2. status giveio.bat Check on the status of the giveio driver.
3. remove giveio.bat Stop and remove the giveio driver from memory.
These 3 batch files calls the loaddrv program with various options to install, start, stop,
and remove the driver.
When you first execute install giveio.bat, loaddrv.exe and giveio.sys must be in the
current directory. When install giveio.bat is executed it will copy giveio.sys from your
current directory to your Windows directory. It will then load the driver from the Windows
directory. This means that after the first time install giveio is executed, you should be able
to subsequently execute the batch file from any directory and have it successfully start the
driver.
Note that you must have administrator privilege to load the giveio driver.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

aweinstein wrote:
Quote:
It seems there's no support for ATtiny13 and ATtiny2312

You can add the support in the configuration file. From the documentation :

Quote:
AVRDUDE reads a configuration file upon startup which describes all of the parts and
programmers that it knows about. The advantage of this is that if you have a chip that
is not currently supported by AVRDUDE, you can add it to the configuration file without
waiting for a new release of AVRDUDE.

It seems like ATtiny13 and ATtiny2313 are supported although they are not listed in the documentation "avrdude.pdf" for ver.4.4.0.:
avrdude.pdf wrote:
1200 AT90S1200
2313 AT90S2313
2333 AT90S2333
2343 AT90S2343 (*)
4414 AT90S4414
4433 AT90S4433
4434 AT90S4434
8515 AT90S8515
8535 AT90S8535
m103 ATMEGA103
m128 ATMEGA128
m16 ATMEGA16
m161 ATMEGA161
m162 ATMEGA162
m163 ATMEGA163
m169 ATMEGA169
m32 ATMEGA32
m48 ATMEGA48
m64 ATMEGA64
m8 ATMEGA8
m8515 ATMEGA8515
m8535 ATMEGA8535
m88 ATMEGA88
t12 ATtiny12
t15 ATtiny15
t26 ATTINY26
(*) The AT90S2323 uses the same algorithm.

But I wrote this command in a dos promt: avrdude -p ?
With this coomand it lists all the support devices and ATtiny13 and ATtiny2313 are both in this list, so the pdf should probably be updated to match this list.