avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] FW: avrdude + avrstudio / stk500 / ATMEGA162 - program


From: Galen Seitz
Subject: Re: [avrdude-dev] FW: avrdude + avrstudio / stk500 / ATMEGA162 - programming problems
Date: Wed, 22 Dec 2004 14:40:50 -0800

Steve Bentley <address@hidden> wrote:

> Returning to the ISP issue. I believe Galen is correct with his
> suggestion regarding sck but currently I only receive the following:
> 
> ////
> Avrdude -p atmega162 -c stk500 -t
> 
> avrdude: stk500_program_enable(): failed to enter programming mode
> avrdude: initialization failed, rc=-1
>          Double check connections and try again, or use -F to override
>          this check.
> 
> 
> avrdude done.  Thank you.
> ////
> 
> Not being very familiar with avrdude, I was not sure when and how to set
> sck. My idea was to set sck in the terminal mode, is this correct?

Yes, you need to use terminal mode.  Try adding the -F switch to skip
the device signature check.  avrdude does a signature check which will
likely fail until you slow down SCK.  As an alternative, you could try to
adjust the SCK speed using avrstudio.

galen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]