avrdude-dev
[Top][All Lists]
Advanced

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

SV: [avrdude-dev] avrdude: stk500_getsync error message


From: Peter Warlich
Subject: SV: [avrdude-dev] avrdude: stk500_getsync error message
Date: Thu, 3 Jun 2004 17:40:09 +0200

> > Hi,
> >
> > I am using avrdude 4.3.0 and an STK500 (v1.46) to program
> my target board
> > with an ATmega16 on it.
> > If I attempt to program the flash or the fuses I get the
> following message
> > (have not tried the EEPROM):
> >
> > avrdude: stk500_getsync (): not in sync: resp=0x15
> >
> > If I retry the programming or power cycle the stk500 board
> before the
> > programming it works fine.
> > This occurs if I run avrdude from a command line or from
> WinAVR (040404).
> >
> > Example of fuse programming command I use:
> > avrdude -p m16 -c stk500 -U hfuse:w:0xC0:m -U lfuse:w:0c7F:m
> >
> > Can somebody help me to get around this problem?
> >
>
> Does the problem happen every time? Or only every once in awhile?
>
> For other reader's information: the avrdude in WinAVR 20040404 is the
> experimental win32 version from Martin Thomas (who I've CC'd).
>
> Eric
>

It does happen every time. I always have to execute the command two times
before it starts programming.

1. time: avrdude: stk500_getsync (): not in sync: resp=0x15
2. time: avrdude: AVR device initialized and ready to accept instructions
... (starts programming)

If I power cycle the STK500 before the programming then there is no error
message
and it starts programming at the first attempt.

/Peter






reply via email to

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