Re: avrdude errors....
Brian Dean <[email protected]> Tue, 27 May 2003 11:29:18 -0400
| Newsgroups | gmane.comp.hardware.avr.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 27, 2003 at 02:54:59PM +0200, Joerg Wunsch wrote: > Sammy Mercieca <[email protected]> wrote: > > > bin]$ ./avrdude -p m8 -c stk500 -t > > > > avrdude: stk500_program_enable(): failed to enter programming mode > > avrdude: initialization failed, rc=-1 > > Trivia: did you make sure to configure your serial port in > avrdude.conf? Is this port actually available (or e. g. still > allocated by the vmware process)? > > If it continues to fail, use -v -v to get some debugging information. Based on where the error occured, I'm pretty sure it is communicating with the stk500 OK. But for some unknown reason, it just failed to enter programming mode. As Joerg mentioned, try getting the verbosity up to the point where avrdude prints out the actual byte values of the serial conversation with the stk500. That may shed some light on what the failure is. I think you'll need at least '-v -v -v -v' for that. Of course, double check that the device is powered and cabled up properly to the STK500, or if it is in an STK500 on-board socket, be sure that all the jumpers, etc, are correctly arranged to use that socket. -Brian -- Brian Dean, [email protected] BDMICRO - Maker of the MAVRIC ATmega128 Dev Board http://www.bdmicro.com/