avr-chat
[Top][All Lists]
Advanced

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

[avr-chat] ATmega325 on STK501?


From: Ruud Vlaming
Subject: [avr-chat] ATmega325 on STK501?
Date: Wed, 2 Sep 2009 18:36:15 +0200
User-agent: KMail/1.9.1

The ATmega325 is listed for the addon device STK502. 
i don't have that one, but i have the STK501. And, the atmega325
is pin compatible in all relevant aspects with the atmega64 (supported
on the STK501). So i tried it out, but ... no succes, i cannot 
communicate with the device:

./avrdude -C ../etc/avrdude.conf -p m325  -F -c stk500v2 -P /dev/ttyS1 -t
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 ATMEGA325 is 1E 95 05

Looking into the avrdude configuation file i see this

#------------------------------------------------------------
# ATmega325
#------------------------------------------------------------

part
    id               = "m325";
    desc             = "ATMEGA325";
    signature        = 0x1e 0x95 0x05;
    has_jtag         = yes;
#   stk500_devcode   = 0x??; # No STK500v1 support?
#   avr910_devcode   = 0x??; # Try the ATmega16 one
    avr910_devcode   = 0x74;

So i played around with some values of these parameters,
but no succes eigther. (0xA0; 0x45;)

But i see no fundamental reason why this is not possible.
Has anyone an idea how to make this working?

Ruud





reply via email to

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