Yahoo Groups archive

AVR-Chat

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

Message

Bad signature error programming with Avrdude

2010-04-28 by Brewski

Using an STK500 and an Olimex board on 3 different mega8515 chips I get the following signature error, any ideas? Oh, a mega8535 programs perfectly on both the STK500 and the Olimex board. Of course the the Olimex boards are different, each was make for a specific chip, 8515 and 8535. This is on a Linux Ubuntu OS running Make and Avrdude. The code compiles fine, it is when Avrdude tries to program or erase the chip I get the error. This error was received trying to erase the chip in the Linux terminal. Also, I thought the -F option was to ignore an incorrect signature.

$ avrdude -c stk500 -p atmega8515 -P /dev/ttyUSB0 -e -F -U flash:w:sw-led.hex

avrdude: stk500v2_command(): command failed
avrdude: stk500v2_recv(): checksum error
avrdude: stk500v2_program_enable(): bad STK600 connection status: Unknown (0x64)
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA8515 is 1E 93 06

avrdude done.  Thank you.

Thanks,
Mike Bronosky
Mike@Bronosky.com

Attachments

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.