|
From: | Brian Korsedal |
Subject: | [avr-gcc-list] avrdude with new firmware gets serial_recv() error |
Date: | Mon, 11 Aug 2003 14:38:26 -0700 |
Hi, I'm getting the same error as this person was getting with the avr910 programmer. I updated the firmware recently and now I cannot use avrdude with it. I'd like to compile the source from CVS but I do not know the commands to do so. Here is the file list from CVS:
address@hidden avrdude]# ls
AUTHORS avrdude.1 avr.h ChangeLog-2001 config.h COPYING fileio.h lists.h par.c pindefs.h README stk500.c term.h
avr910.c avrdude.conf.in avrpart.h ChangeLog-2002 configure.ac CVS lexer.l main.c par.h ppi.c serial.h stk500.h windows
avr910.h avrdude.pdf bootstrap config.c confwin.c doc linux_ppdev.h Makefile.am pgm.c ppi.h ser_posix.c stk500_private.h
avr.c avrdude.spec.in ChangeLog config_gram.y confwin.h fileio.c lists.c NEWS pgm.h ppiwin.c ser_win32.c term.c
there is no ./configure. I know I need to make one using aclocal, autoheader, autoconf and automake somehow. Does anyone know the exact order to perform these in?
Re: [avrdude-dev] ATMega8535 on avr910
From: Eric Williams
Subject: Re: [avrdude-dev] ATMega8535 on avr910
Date: Tue, 05 Aug 2003 23:50:38 -0700
At 11:41 AM 8/5/2003 -0700, Theodore A. Roth wrote:
On Tue, 5 Aug 2003, Brian Dean wrote:
> On Mon, Aug 04, 2003 at 11:21:04PM -0700, Eric Williams wrote:
>
> > Has anyone had any luck programming the ATMega8535 with avrdude
on a avr910
> > programmer? (DigiKey has discontinued the AT90S8535.) I tried
modifying
> > the avrdude.conf file to give the m8535 the avr910_devcode of
the Mega83,
> > and the program cycle ran, but the verify fails on the first
byte. I'm not
> > afraid of hacking my avr910 if that's what it takes, but I
don't have the
> > tools to build a binary of avrdude. I'm running v4.1.0 under
Win2K.
>
> Not sure if you did this or not, but be sure and erase the chip
before
> programming the flash. You can use the '-e' option to do this at
the
> time you program the flash. Without doing this, you'll typically
get
> verify errors if the chip previously contained a program.
I don't think that the avr910 firmware is mega85xx aware. You're
probably going to have to hack that. You can get a version of the
firmware here:
[1]http://savannah.nongnu.org/cgi-bin/viewcvs/avrdude/avr910/
Ted Roth
I found a version of the avr910 firmware with added mega devices here:
[2]http://www.avrfreaks.net/phorum/download.php?f=3&file=AVR910_2313_v
3.asm
The downside for some is that it requires a 2313 to run.
Avrprog still doesn't list the meg8535 when I use it with this
firmware, but it does list the mega8515, and the 8535 seems to program
OK on that setting. I'm back in business.
Avrdude doesn't want to work with the updated firmware, serial_recv()
says the programmer is not responding. Not sure what's up with that.
--
eric
References
1. http://savannah.nongnu.org/cgi-bin/viewcvs/avrdude/avr910/
2. http://www.avrfreaks.net/phorum/download.php?f=3&file=AVR910_2313_v3.asm
http://mail.gnu.org/archive/html/avrdude-dev/2003-08/msg00004.html
[Prev in Thread] | Current Thread | [Next in Thread] |