avr-chat
[Top][All Lists]
Advanced

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

RE: [avr-chat] "double check connections"


From: Weddington, Eric
Subject: RE: [avr-chat] "double check connections"
Date: Tue, 13 Nov 2007 09:59:40 -0700

Hi Marge,

Can you swap out the one student's stk500 and/or chip with a known good one (that works with avrdude)? This would determine if it can be isolated to either the chip or the board and verify that the student's serial port is working correctly and avrdude is working correctly.

Eric Weddington

PS: Where are you teaching this class?

-----Original Message-----
From: address@hidden on behalf of Marge Coahran
Sent: Tue 11/13/2007 9:35 AM
To: AVR-CHAT
Subject: [avr-chat] "double check connections"

I am using several STK500s with ATmega8515L chips to teach assembly
language in a computer science course. Today two students got the
error (below) from avrdude. As best I can tell, the serial port
connections are correct and solid. Can this error also mean something more
ominous, say that something on the chip or the board just got blown?

For background, we were also plugging a speaker into the expandion header
on the STK500. I'm pretty sure this was the problem for one student, who
wired the speaker between CT1 and GND -- and the AVR socket is now
corroded! However, another student with the same error message wired his
speaker between PB0 and GND, which I believe should be fine (and works
correctly for me and others).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quine$ make program
/usr/local/bin/avrdude -y \
         -C /usr/local/etc/avrdude.conf \
         -p m8515 \
         -c stk500v2 \
         -P /dev/ttyS0 \
         -U flash:w:speaker.hex

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
          Double check connections and try again, or use -F to override
          this check.

~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks!
Marge


_______________________________________________
AVR-chat mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-chat


reply via email to

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