avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] avrdude problem with Attiny13 - works fine in AVRstudi


From: Haberler Michael
Subject: Re: [avrdude-dev] avrdude problem with Attiny13 - works fine in AVRstudio
Date: Mon, 16 Feb 2009 02:31:47 +0100

I eventually figured out that the Kee Electronics JTAGICE mkII clone fails to implement CMD_SPI_MULTI properly. JTAG programming works fine with avrdude.

AVRISP commands as per AVR069 and used by Avrstudio work fine.

I'v sent a lengthy bug report to Kee aksing them to fix this.

-Michael



Am 05.01.2009 um 08:37 schrieb Haberler Michael:

I wasnt totally sure wether giving -F flashes the chip or not (would be fine for me), so I retried.

No, it doesnt - flash verify fails after changing, recompiling and downloading the code with -F. fiddling -B params didnt change it either.

short log below, detailed log at http://static.mah.priv.at/public/avrdude.log

-Michael

Am 04.01.2009 um 23:58 schrieb Haberler Michael:


Am 04.01.2009 um 23:12 schrieb Joerg Wunsch:

As Haberler Michael wrote:

- second run should program target in ISP mode, but fails as the
signature is read back as 0x000000 .

Curious: can you proceed successfully when using the -F (force)
option?  This will make AVRDUDE ignore the signature mismatch.

I tried that already - it wont sucessfully program the chip.




Launching /usr/local/AVRMacPack-20081213/bin/avrdude -pt13 - cjtag2isp -Pusb -F -Uflash:w:tiny13rgb.hex:a
Output:

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.07s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATtiny13 is 1E 90 07
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
       To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "tiny13rgb.hex"
avrdude: input file tiny13rgb.hex auto detected as Intel Hex
avrdude: writing flash (872 bytes):

Writing | ################################################## | 100% 0.37s

avrdude: 872 bytes of flash written
avrdude: verifying flash memory against tiny13rgb.hex:
avrdude: load data flash data from input file tiny13rgb.hex:
avrdude: input file tiny13rgb.hex auto detected as Intel Hex
avrdude: input file tiny13rgb.hex contains 872 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.25s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x01b3
       0x7f != 0x7e
avrdude: verification error; content mismatch

avrdude done.  Thank you.

avrdude finished



_______________________________________________
avrdude-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avrdude-dev





reply via email to

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