avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] avrdude fails to write STK500 & AT90S8515


From: Jose I. Monreal
Subject: Re: [avr-chat] avrdude fails to write STK500 & AT90S8515
Date: Sat, 17 Nov 2007 15:47:13 -0300
User-agent: Thunderbird 2.0.0.4 (X11/20070604)

Thanks, that was the problem lol.

Could anyone please give me a hand? I want to turn the leds on, but one by one, how can i make that possible?

Thanks


Marge Coahran wrote:
My new STK500 came with an ATMEGA8515L chip instead. Thus, I need to use the following command. (Note the different chip specifier: "m8515", not "8515".) Could that be your difficulty?

avrdude -p m8515 -c stk500v2 -P /dev/ttyS0 -U flash:w:$(FILE).hex

Marge

On Thu, 13 Sep 2007, jmonreal wrote:

Hi, I'm new in the field. I have just acquire an STK500 AVR Starter Kit. It comes with AT90S8515 micro-controller. I work only under GNU/Linux and I've
followed the steps to install all necesary software to work with this
"board". The thing is I keep getting the same error with avrdude

$ avrdude -p 8515 -c stk500v2 -P /dev/ttyS0 -e -U flash:w:simple.hex:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9306
avrdude: erasing chip
avrdude: reading input file "simple.hex"
avrdude: writing flash (96 bytes):

Writing | | 0% 0.00s
***failed;
Writing | # | 1% 0.08s
***failed;

and it goes like that until 100%

then,

avrdude: 96 bytes of flash written
avrdude: verifying flash memory against simple.hex:
avrdude: load data flash data from input file simple.hex:
avrdude: input file simple.hex contains 96 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.39s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0xff
avrdude: verification error; content mismatch

avrdude done. Thank you.


I've been Googleing but nothing, hope you could help, Thanks.

PS: I've tried windows but avr studio told me something about ISP frequency
mistaken :s

this is what i get with avrdude -v option

Using Port : /dev/ttyS0
Using Programmer : stk500v2
AVR Part : AT90S8515
Chip Erase delay : 20000 us
PAGEL : P00
BS2 : P00
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW
MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
eeprom 4 12 128 0 no 512 0 0 4000
9000 0x80 0x7f
flash 4 12 128 0 no 8192 0 0 4000
9000 0x7f 0x7f
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
fuse 0 0 0 0 no 1 0 0 0
0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000
9000 0x00 0x00

Programmer Type : STK500V2
Description : Atmel STK500 Version 2.x firmware
Programmer Model: STK500
Hardware Version: 2
Firmware Version: 2.10
Topcard : Unknown
Vtarget : 5.1 V
Varef : 5.0 V
Oscillator : 3.686 MHz
SCK period : 10.9 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9306
avrdude: safemode: Fuse reading not support by programmer.
Safemode disabled.

avrdude done. Thank you.


Tanks!




--
View this message in context: http://www.nabble.com/avrdude-fails-to-write-STK500---AT90S8515-tf4433510.html#a12648491
Sent from the AVR - General mailing list archive at Nabble.com.



_______________________________________________
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]