logo       

Re: FW: avrdude + avrstudio / stk500 / ATMEGA162 - programming problems: msg#00009

hardware.avr.avrdude.devel

Subject: Re: FW: avrdude + avrstudio / stk500 / ATMEGA162 - programming problems

Steve Bentley <steve.bentley@xxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise