Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: AVRdude - initialization failed

Re: AVRdude - initialization failed

2004-12-17 by Jose

Since I am using a parallel programmer, and I already used it with 
AEC ISP software to program AT89S8252, I am sure it works fine (it 
just a cable that connects MISO, MOSI, SCK, RST and GND to the 
parallel port).
I checked continuity from the DB25 connector to the ATmega16 
programming pins, and everything is ok.  Also, I verified the power 
(5V).
I will check again the board circuit and the parallel port 
configuration.

Regards,
Jose

--- In AVR-Chat@yahoogroups.com, "Kenna" <wbounce@s...> wrote:
> I use it.  I do not have a 16 but a 128 so some thing may be 
different. 
> First double check the continuity of your cable end to end for 
each wire. My most recent problem with this error came from my 
ground wire coming loose because the board was in a different 
orientation
> 
> Second Check you battery power. With my 1st robot I would get this 
error if the 7.2 V battery was low. It would drop under the voltage 
required for the voltage regulator on the board and so the board 
work get < 5V.
> 
> Third, after a long discussion someone set me straight on what 
pins are used. for the 128 it is Port B pin 1 for SCK (clock) and 
Port E pin 0 for PDI (input) and Port E pin 1 for PDO (output)
> Check to see if you have anything external connected to these. And 
Maybe also your reset pin since the programmer needs to pull reset 
to ground for 20ms.
> 
> Your mileage may vary.
> 
> 
> 
> ---------- Original Message ----------------------------------
> From: "Jose" <josecarlosfuentes@y...>
> Reply-To: AVR-Chat@yahoogroups.com
> Date: Fri, 17 Dec 2004 17:31:21 -0000
> 
> >
> >
> >Does anybody use AVRdude software?  I installed it and tried to 
> >program an ATmega16 using a PPI programmer.  But AVRdude shows 
the 
> >following error message: 
> >
> >  avrdude: AVR device not responding
> >  avrdude: initialization failed, rc=-1
> >           Double check connections and try again, or use -F to   
> >override
> >           this check.
> >
> >
> >I checked all the connections and they seems ok.  Since this is 
my 
Show quoted textHide quoted text
> >first AVR board I have no clue about the cause of this failure.
> >
> >Regards,
> >Jose
> >

Re: [AVR-Chat] AVRdude - initialization failed

2004-12-17 by Kenna

I use it.  I do not have a 16 but a 128 so some thing may be different. 
First double check the continuity of your cable end to end for each wire. My most recent problem with this error came from my ground wire coming loose because the board was in a different orientation

Second Check you battery power. With my 1st robot I would get this error if the 7.2 V battery was low. It would drop under the voltage required for the voltage regulator on the board and so the board work get < 5V.

Third, after a long discussion someone set me straight on what pins are used. for the 128 it is Port B pin 1 for SCK (clock) and Port E pin 0 for PDI (input) and Port E pin 1 for PDO (output)
Check to see if you have anything external connected to these. And Maybe also your reset pin since the programmer needs to pull reset to ground for 20ms.

Your mileage may vary.



---------- Original Message ----------------------------------
From: "Jose" <josecarlosfuentes@yahoo.com.ar>
Reply-To: AVR-Chat@yahoogroups.com
Date: Fri, 17 Dec 2004 17:31:21 -0000
Show quoted textHide quoted text
>
>
>Does anybody use AVRdude software?  I installed it and tried to 
>program an ATmega16 using a PPI programmer.  But AVRdude shows the 
>following error message: 
>
>  avrdude: AVR device not responding
>  avrdude: initialization failed, rc=-1
>           Double check connections and try again, or use -F to   
>override
>           this check.
>
>
>I checked all the connections and they seems ok.  Since this is my 
>first AVR board I have no clue about the cause of this failure.
>
>Regards,
>Jose
>

RE: [AVR-Chat] Re: AVRdude - initialization failed

2004-12-17 by Larry Barello

You have to make sure AvrDude knows about your PARTICULAR cable wiring.  If
you look in "avrdude.conf" the required information should be really
obvious.  Avrdude is very nice in that way.

There are lots of parallel cable programmers out there and for some reason
they all seem to use a different connection scheme.
Show quoted textHide quoted text
-----Original Message-----
From: Jose [mailto:josecarlosfuentes@yahoo.com.ar]
Sent: Friday, December 17, 2004 10:58 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Re: AVRdude - initialization failed




Since I am using a parallel programmer, and I already used it with
AEC ISP software to program AT89S8252, I am sure it works fine (it
just a cable that connects MISO, MOSI, SCK, RST and GND to the
parallel port).
I checked continuity from the DB25 connector to the ATmega16
programming pins, and everything is ok.  Also, I verified the power
(5V).
I will check again the board circuit and the parallel port
configuration.

Regards,
Jose

--- In AVR-Chat@yahoogroups.com, "Kenna" <wbounce@s...> wrote:
> I use it.  I do not have a 16 but a 128 so some thing may be
different.
> First double check the continuity of your cable end to end for
each wire. My most recent problem with this error came from my
ground wire coming loose because the board was in a different
orientation
>
> Second Check you battery power. With my 1st robot I would get this
error if the 7.2 V battery was low. It would drop under the voltage
required for the voltage regulator on the board and so the board
work get < 5V.
>
> Third, after a long discussion someone set me straight on what
pins are used. for the 128 it is Port B pin 1 for SCK (clock) and
Port E pin 0 for PDI (input) and Port E pin 1 for PDO (output)
> Check to see if you have anything external connected to these. And
Maybe also your reset pin since the programmer needs to pull reset
to ground for 20ms.
>
> Your mileage may vary.
>
>
>
> ---------- Original Message ----------------------------------
> From: "Jose" <josecarlosfuentes@y...>
> Reply-To: AVR-Chat@yahoogroups.com
> Date: Fri, 17 Dec 2004 17:31:21 -0000
>
> >
> >
> >Does anybody use AVRdude software?  I installed it and tried to
> >program an ATmega16 using a PPI programmer.  But AVRdude shows
the
> >following error message:
> >
> >  avrdude: AVR device not responding
> >  avrdude: initialization failed, rc=-1
> >           Double check connections and try again, or use -F to
> >override
> >           this check.
> >
> >
> >I checked all the connections and they seems ok.  Since this is
my
> >first AVR board I have no clue about the cause of this failure.
> >
> >Regards,
> >Jose
> >







Yahoo! Groups Links

RE: [AVR-Chat] Re: AVRdude - initialization failed

2004-12-17 by wbounce

Those are the 5 pins you need. On my cable I have the following
Grnd <- 18
MISO <- 10
MOSI <- 9
SCK  <- 8
RESET <- 7

And for the makefile paramters
MCU = atmega128
AVRDUDE_PROGRAMMER = bsd
AVRDUDE_PORT = lpt1 

AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) 

Which is basically 
Avrdude -p atmega128 -P lpt1 -c bsd -U flash:w:$(TARGET).hex
Or just to test the connection you can use the -t

Avrdude -p atmega128 -P lpt1 -c bsd -t
then type help
Show quoted textHide quoted text
-----Original Message-----
From: Jose [mailto:josecarlosfuentes@yahoo.com.ar] 
Sent: Friday, December 17, 2004 1:58 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Re: AVRdude - initialization failed




Since I am using a parallel programmer, and I already used it with 
AEC ISP software to program AT89S8252, I am sure it works fine (it 
just a cable that connects MISO, MOSI, SCK, RST and GND to the 
parallel port).
I checked continuity from the DB25 connector to the ATmega16 
programming pins, and everything is ok.  Also, I verified the power 
(5V).
I will check again the board circuit and the parallel port 
configuration.

Regards,
Jose

--- In AVR-Chat@yahoogroups.com, "Kenna" <wbounce@s...> wrote:
> I use it.  I do not have a 16 but a 128 so some thing may be
different. 
> First double check the continuity of your cable end to end for
each wire. My most recent problem with this error came from my 
ground wire coming loose because the board was in a different 
orientation
> 
> Second Check you battery power. With my 1st robot I would get this
error if the 7.2 V battery was low. It would drop under the voltage 
required for the voltage regulator on the board and so the board 
work get < 5V.
> 
> Third, after a long discussion someone set me straight on what
pins are used. for the 128 it is Port B pin 1 for SCK (clock) and 
Port E pin 0 for PDI (input) and Port E pin 1 for PDO (output)
> Check to see if you have anything external connected to these. And
Maybe also your reset pin since the programmer needs to pull reset 
to ground for 20ms.
> 
> Your mileage may vary.
> 
> 
> 
> ---------- Original Message ----------------------------------
> From: "Jose" <josecarlosfuentes@y...>
> Reply-To: AVR-Chat@yahoogroups.com
> Date: Fri, 17 Dec 2004 17:31:21 -0000
> 
> >
> >
> >Does anybody use AVRdude software?  I installed it and tried to
> >program an ATmega16 using a PPI programmer.  But AVRdude shows 
the 
> >following error message:
> >
> >  avrdude: AVR device not responding
> >  avrdude: initialization failed, rc=-1
> >           Double check connections and try again, or use -F to   
> >override
> >           this check.
> >
> >
> >I checked all the connections and they seems ok.  Since this is
my 
> >first AVR board I have no clue about the cause of this failure.
> >
> >Regards,
> >Jose
> >






 
Yahoo! Groups Links

RE: [AVR-Chat] Re: AVRdude - initialization failed

2004-12-18 by Jose Fuentes

I created a programmer definition in avrdude.conf.  I
am using Win XP, and have had to start giveio.sys to
make AVRdude to access the parallel port.  The pins
that I've used on the DB25 connector are 5,6,7 and 8
(GND is on pins 18 thru 25), so my programmer is
similar to the one you use.

I saw some articles about AVRdude and PPI programmers,
and they say that sometimes brand new AVR chips have
problems with fuses configuration so microcontroller
can not enter programming mode.  I have to try using
"-v" option to see data transferred.

Another possible problem would be the parallel port
configuration.  I will try the following:
Start -> Settings -> Control Panel -> System ->
Hardware -> Device Manager -> Ports -> LPT1 ->
Properties -> disable "Legacy Plug n Play Detection"


At this point I think the cause of this problems is
fuses configuration or parallel port configuration.


Jose

 --- wbounce <wbounce@safeplace.net> escribió: 
> 
> Those are the 5 pins you need. On my cable I have
> the following
> Grnd <- 18
> MISO <- 10
> MOSI <- 9
> SCK  <- 8
> RESET <- 7
> 
> And for the makefile paramters
> MCU = atmega128
> AVRDUDE_PROGRAMMER = bsd
> AVRDUDE_PORT = lpt1 
> 
> AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
> AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c
> $(AVRDUDE_PROGRAMMER) 
> 
> Which is basically 
> Avrdude -p atmega128 -P lpt1 -c bsd -U
> flash:w:$(TARGET).hex
> Or just to test the connection you can use the -t
> 
> Avrdude -p atmega128 -P lpt1 -c bsd -t
> then type help
> 
> 
> 
> 
> -----Original Message-----
> From: Jose [mailto:josecarlosfuentes@yahoo.com.ar] 
> Sent: Friday, December 17, 2004 1:58 PM
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] Re: AVRdude - initialization
> failed
> 
> 
> 
> 
> Since I am using a parallel programmer, and I
> already used it with 
> AEC ISP software to program AT89S8252, I am sure it
> works fine (it 
> just a cable that connects MISO, MOSI, SCK, RST and
> GND to the 
> parallel port).
> I checked continuity from the DB25 connector to the
> ATmega16 
> programming pins, and everything is ok.  Also, I
> verified the power 
> (5V).
> I will check again the board circuit and the
> parallel port 
> configuration.
> 
> Regards,
> Jose
> 
> --- In AVR-Chat@yahoogroups.com, "Kenna"
> <wbounce@s...> wrote:
> > I use it.  I do not have a 16 but a 128 so some
> thing may be
> different. 
> > First double check the continuity of your cable
> end to end for
> each wire. My most recent problem with this error
> came from my 
> ground wire coming loose because the board was in a
> different 
> orientation
> > 
> > Second Check you battery power. With my 1st robot
> I would get this
> error if the 7.2 V battery was low. It would drop
> under the voltage 
> required for the voltage regulator on the board and
> so the board 
> work get < 5V.
> > 
> > Third, after a long discussion someone set me
> straight on what
> pins are used. for the 128 it is Port B pin 1 for
> SCK (clock) and 
> Port E pin 0 for PDI (input) and Port E pin 1 for
> PDO (output)
> > Check to see if you have anything external
> connected to these. And
> Maybe also your reset pin since the programmer needs
> to pull reset 
> to ground for 20ms.
> > 
> > Your mileage may vary.
> > 
> > 
> > 
> > ---------- Original Message
> ----------------------------------
> > From: "Jose" <josecarlosfuentes@y...>
> > Reply-To: AVR-Chat@yahoogroups.com
> > Date: Fri, 17 Dec 2004 17:31:21 -0000
> > 
> > >
> > >
> > >Does anybody use AVRdude software?  I installed
> it and tried to
> > >program an ATmega16 using a PPI programmer.  But
> AVRdude shows 
> the 
> > >following error message:
> > >
> > >  avrdude: AVR device not responding
> > >  avrdude: initialization failed, rc=-1
> > >           Double check connections and try
> again, or use -F to   
> > >override
> > >           this check.
> > >
> > >
> > >I checked all the connections and they seems ok. 
> Since this is
> my 
> > >first AVR board I have no clue about the cause of
> this failure.
> > >
> > >Regards,
> > >Jose
> > >
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> $4.98 domain names from Yahoo!. Register anything.
>
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/dN_tlB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 
>  


	

	
		
___________________________________________________________ 
250MB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar

RE: [AVR-Chat] Re: AVRdude - initialization failed

2004-12-18 by wbounce

>From a discussion with Brian Dean earlier this week or last week he
suggested as a last resort

"Another common reason for not being able to enter programming mode is
bad fuse bit values.  And the most common problem there is setting the
clock selection fuses to use an external clock instead of an external
crystal or internal oscillator.  If that's the case, try feeding an
external TTL square wave signal of at least 1 MHz (no more than 16
MHz) into the XTAL1 input, perhaps with a function generator or another
AVR chip programmed to do that.  While that is being fed, power up the
board and try to enter program mode.  If you can enter program mode,
reset the fuses back to defaults and you should be good.
"

Fortunately for me my problem was my cable. If I did have to go that
route I would have no way of generating a 1MHZ pulse on the pin. But I
have clobbered my fuses in the past and had to reset them using the -t
mode. But that only works if avrdude can get a connection.
Show quoted textHide quoted text
-----Original Message-----
From: Jose Fuentes [mailto:josecarlosfuentes@yahoo.com.ar] 
Sent: Friday, December 17, 2004 8:56 PM
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] Re: AVRdude - initialization failed



I created a programmer definition in avrdude.conf.  I
am using Win XP, and have had to start giveio.sys to
make AVRdude to access the parallel port.  The pins
that I've used on the DB25 connector are 5,6,7 and 8
(GND is on pins 18 thru 25), so my programmer is
similar to the one you use.

I saw some articles about AVRdude and PPI programmers,
and they say that sometimes brand new AVR chips have
problems with fuses configuration so microcontroller
can not enter programming mode.  I have to try using
"-v" option to see data transferred.

Another possible problem would be the parallel port configuration.  I
will try the following: Start -> Settings -> Control Panel -> System ->
Hardware -> Device Manager -> Ports -> LPT1 -> Properties -> disable
"Legacy Plug n Play Detection"


At this point I think the cause of this problems is
fuses configuration or parallel port configuration.


Jose

 --- wbounce <wbounce@safeplace.net> escribió: 
> 
> Those are the 5 pins you need. On my cable I have
> the following
> Grnd <- 18
> MISO <- 10
> MOSI <- 9
> SCK  <- 8
> RESET <- 7
> 
> And for the makefile paramters
> MCU = atmega128
> AVRDUDE_PROGRAMMER = bsd
> AVRDUDE_PORT = lpt1
> 
> AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
> AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c
> $(AVRDUDE_PROGRAMMER)
> 
> Which is basically
> Avrdude -p atmega128 -P lpt1 -c bsd -U
> flash:w:$(TARGET).hex
> Or just to test the connection you can use the -t
> 
> Avrdude -p atmega128 -P lpt1 -c bsd -t
> then type help
> 
> 
> 
> 
> -----Original Message-----
> From: Jose [mailto:josecarlosfuentes@yahoo.com.ar]
> Sent: Friday, December 17, 2004 1:58 PM
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] Re: AVRdude - initialization
> failed
> 
> 
> 
> 
> Since I am using a parallel programmer, and I
> already used it with
> AEC ISP software to program AT89S8252, I am sure it
> works fine (it 
> just a cable that connects MISO, MOSI, SCK, RST and
> GND to the 
> parallel port).
> I checked continuity from the DB25 connector to the
> ATmega16 
> programming pins, and everything is ok.  Also, I
> verified the power 
> (5V).
> I will check again the board circuit and the
> parallel port 
> configuration.
> 
> Regards,
> Jose
> 
> --- In AVR-Chat@yahoogroups.com, "Kenna"
> <wbounce@s...> wrote:
> > I use it.  I do not have a 16 but a 128 so some
> thing may be
> different.
> > First double check the continuity of your cable
> end to end for
> each wire. My most recent problem with this error
> came from my
> ground wire coming loose because the board was in a
> different 
> orientation
> > 
> > Second Check you battery power. With my 1st robot
> I would get this
> error if the 7.2 V battery was low. It would drop
> under the voltage
> required for the voltage regulator on the board and
> so the board 
> work get < 5V.
> > 
> > Third, after a long discussion someone set me
> straight on what
> pins are used. for the 128 it is Port B pin 1 for
> SCK (clock) and
> Port E pin 0 for PDI (input) and Port E pin 1 for
> PDO (output)
> > Check to see if you have anything external
> connected to these. And
> Maybe also your reset pin since the programmer needs
> to pull reset
> to ground for 20ms.
> > 
> > Your mileage may vary.
> > 
> > 
> > 
> > ---------- Original Message
> ----------------------------------
> > From: "Jose" <josecarlosfuentes@y...>
> > Reply-To: AVR-Chat@yahoogroups.com
> > Date: Fri, 17 Dec 2004 17:31:21 -0000
> > 
> > >
> > >
> > >Does anybody use AVRdude software?  I installed
> it and tried to
> > >program an ATmega16 using a PPI programmer.  But
> AVRdude shows
> the 
> > >following error message:
> > >
> > >  avrdude: AVR device not responding
> > >  avrdude: initialization failed, rc=-1
> > >           Double check connections and try
> again, or use -F to   
> > >override
> > >           this check.
> > >
> > >
> > >I checked all the connections and they seems ok.
> Since this is
> my
> > >first AVR board I have no clue about the cause of
> this failure.
> > >
> > >Regards,
> > >Jose
> > >
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> $4.98 domain names from Yahoo!. Register 
> anything.
>
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/dN_tlB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 
>  


	

	
		
___________________________________________________________ 
250MB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar



 
Yahoo! Groups Links

RE: [AVR-Chat] Re: AVRdude - initialization failed (solved!)

2004-12-19 by Jose Fuentes

To All,
thanks for all your help.  I tried several things, and
finally found out that although the cable, port
configuration and fuses were ok, the voltage at the
parallel port pins was not as high as needed by
ATmega16.  It was Ok for AT89S8252 but not for AVR.  I
assembled a STK200 programmer and it works fine with
AVRdude and PonyProg.

Regards,

Jose

 --- wbounce <wbounce@safeplace.net> escribió: 
> 
> >From a discussion with Brian Dean earlier this week
> or last week he
> suggested as a last resort
> 
> "Another common reason for not being able to enter
> programming mode is
> bad fuse bit values.  And the most common problem
> there is setting the
> clock selection fuses to use an external clock
> instead of an external
> crystal or internal oscillator.  If that's the case,
> try feeding an
> external TTL square wave signal of at least 1 MHz
> (no more than 16
> MHz) into the XTAL1 input, perhaps with a function
> generator or another
> AVR chip programmed to do that.  While that is being
> fed, power up the
> board and try to enter program mode.  If you can
> enter program mode,
> reset the fuses back to defaults and you should be
> good.
> "
> 
> Fortunately for me my problem was my cable. If I did
> have to go that
> route I would have no way of generating a 1MHZ pulse
> on the pin. But I
> have clobbered my fuses in the past and had to reset
> them using the -t
> mode. But that only works if avrdude can get a
> connection.
> 
> -----Original Message-----
> From: Jose Fuentes
> [mailto:josecarlosfuentes@yahoo.com.ar] 
> Sent: Friday, December 17, 2004 8:56 PM
> To: AVR-Chat@yahoogroups.com
> Subject: RE: [AVR-Chat] Re: AVRdude - initialization
> failed
> 
> 
> 
> I created a programmer definition in avrdude.conf. 
> I
> am using Win XP, and have had to start giveio.sys to
> make AVRdude to access the parallel port.  The pins
> that I've used on the DB25 connector are 5,6,7 and 8
> (GND is on pins 18 thru 25), so my programmer is
> similar to the one you use.
> 
> I saw some articles about AVRdude and PPI
> programmers,
> and they say that sometimes brand new AVR chips have
> problems with fuses configuration so microcontroller
> can not enter programming mode.  I have to try using
> "-v" option to see data transferred.
> 
> Another possible problem would be the parallel port
> configuration.  I
> will try the following: Start -> Settings -> Control
> Panel -> System ->
> Hardware -> Device Manager -> Ports -> LPT1 ->
> Properties -> disable
> "Legacy Plug n Play Detection"
> 
> 
> At this point I think the cause of this problems is
> fuses configuration or parallel port configuration.
> 
> 
> Jose
> 
>  --- wbounce <wbounce@safeplace.net> escribió: 
> > 
> > Those are the 5 pins you need. On my cable I have
> > the following
> > Grnd <- 18
> > MISO <- 10
> > MOSI <- 9
> > SCK  <- 8
> > RESET <- 7
> > 
> > And for the makefile paramters
> > MCU = atmega128
> > AVRDUDE_PROGRAMMER = bsd
> > AVRDUDE_PORT = lpt1
> > 
> > AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
> > AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c
> > $(AVRDUDE_PROGRAMMER)
> > 
> > Which is basically
> > Avrdude -p atmega128 -P lpt1 -c bsd -U
> > flash:w:$(TARGET).hex
> > Or just to test the connection you can use the -t
> > 
> > Avrdude -p atmega128 -P lpt1 -c bsd -t
> > then type help
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: Jose [mailto:josecarlosfuentes@yahoo.com.ar]
> > Sent: Friday, December 17, 2004 1:58 PM
> > To: AVR-Chat@yahoogroups.com
> > Subject: [AVR-Chat] Re: AVRdude - initialization
> > failed
> > 
> > 
> > 
> > 
> > Since I am using a parallel programmer, and I
> > already used it with
> > AEC ISP software to program AT89S8252, I am sure
> it
> > works fine (it 
> > just a cable that connects MISO, MOSI, SCK, RST
> and
> > GND to the 
> > parallel port).
> > I checked continuity from the DB25 connector to
> the
> > ATmega16 
> > programming pins, and everything is ok.  Also, I
> > verified the power 
> > (5V).
> > I will check again the board circuit and the
> > parallel port 
> > configuration.
> > 
> > Regards,
> > Jose
> > 
> > --- In AVR-Chat@yahoogroups.com, "Kenna"
> > <wbounce@s...> wrote:
> > > I use it.  I do not have a 16 but a 128 so some
> > thing may be
> > different.
> > > First double check the continuity of your cable
> > end to end for
> > each wire. My most recent problem with this error
> > came from my
> > ground wire coming loose because the board was in
> a
> > different 
> > orientation
> > > 
> > > Second Check you battery power. With my 1st
> robot
> > I would get this
> > error if the 7.2 V battery was low. It would drop
> > under the voltage
> > required for the voltage regulator on the board
> and
> > so the board 
> > work get < 5V.
> > > 
> > > Third, after a long discussion someone set me
> > straight on what
> > pins are used. for the 128 it is Port B pin 1 for
> > SCK (clock) and
> > Port E pin 0 for PDI (input) and Port E pin 1 for
> > PDO (output)
> > > Check to see if you have anything external
> > connected to these. And
> > Maybe also your reset pin since the programmer
> needs
> > to pull reset
> > to ground for 20ms.
> > > 
> > > Your mileage may vary.
> > > 
> > > 
> > > 
> > > ---------- Original Message
> > ----------------------------------
> > > From: "Jose" <josecarlosfuentes@y...>
> > > Reply-To: AVR-Chat@yahoogroups.com
> > > Date: Fri, 17 Dec 2004 17:31:21 -0000
> > > 
> > > >
> > > >
> > > >Does anybody use AVRdude software?  I installed
> > it and tried to
> > > >program an ATmega16 using a PPI programmer. 
> But
> > AVRdude shows
> > the 
> > > >following error message:
> > > >
> > > >  avrdude: AVR device not responding
> > > >  avrdude: initialization failed, rc=-1
> > > >           Double check connections and try
> > again, or use -F to   
> > > >override
> > > >           this check.
> > > >
> > > >
> 
=== message truncated === 


	

	
		
___________________________________________________________ 
250MB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.