avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] avrisp mk II in linux


From: Naveen Goswamy
Subject: Re: [avrdude-dev] avrisp mk II in linux
Date: Wed, 20 Dec 2006 18:09:08 -0500 (EST)


Which part should I specify?

looking at the guts of the avrisp2 i can see a mega128 on board, though doing

# avrdude -c avrispv2 -p m128 -P usb -tuF

I get

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0xffffff
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA128 is 1E 97 02

avrdude >



On Wed, 20 Dec 2006, Joerg Wunsch wrote:

As Naveen Goswamy wrote:

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1

I'm assuming this error is mine, when trying to connect the chip to
the device via breadboard.

Slow down the AVRISP.  Make your first connection attempt with "-tuF",
so you can talk to just the AVRISP in terminal mode.  Adjust the SCK
frequency to 100 kHz (10 ┬Ás SCK period) using the command "sck 10".

Try again then.  If it still fails, it might be the breadboard
wiring, or a poor Vcc bypass.
--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


--

Naveen Goswamy

pub  1024D/6C240D73 2004/10/21 navz at dreaming.org <address@hidden>
     Key fingerprint = CAE2 7531 7226 727E 1716  CFE1 9152 6A45 6C24 0D73

keyserver.net, pgpkeys.mit.edu

reply via email to

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