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: [EMAIL PROTECTED] 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
AVR-chat@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-chat

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

Reply via email to