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, 5 Jan 2009 08:14:40 +0100


I think I've isolated the different behaviour of AVRStudio 4.15 and avrdude 5.5. Maybe a kind soul sees the obvious, my SPI stream reading skills are not there yet. If we can boil it down to "please handle situation X such-and-such", I'd ask KEE to fix their firmware.

These are the transactions of AVRStudio (-->) with JTAGICE MKII (<--) while reading the signature (correct value would be 0x1e9007; observed with sniffUSB and fluff deleted):

the relevant part is a CMND_ISP_PACKET (0x2f) carrying an encapsulated CMND_SPI_MULTI (0x1b)


--> 00000000: 1b 05 00 09 00 00 00 0e 2f 04 00 1b 04 30 00 00
--> 00000010: 00 d3 40

<-- 00000000: 1b 05 00 05 00 00 00 0e 88 1b 00 1e 00 21 b0
-----------------------------------------------xx

--> 00000000: 1b 06 00 09 00 00 00 0e 2f 04 00 1b 04 30 00 01
--> 00000010: 00 2a c3

<-- 00000000: 1b 06 00 05 00 00 00 0e 88 1b 00 90 00 13 21
-----------------------------------------------xx

--> 00000000: 1b 07 00 09 00 00 00 0e 2f 04 00 1b 04 30 00 02
--> 00000010: 00 52 67

<-- 00000000: 1b 07 00 05 00 00 00 0e 88 1b 00 07 00 13 f0
-----------------------------------------------xx


here's the log what avrdude's doing - note the zeroes coming back from the JTAGICE clone.

avrdude: jtagmkII_send(): sending 11 bytes
avrdude: Sent: . [1b] . [06] . [00] . [0b] . [00] . [00] . [00] . [0e] / [2f] . [07] . [00] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [00] . [00] . [08] . [d0]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [06]
avrdude: Recv: . [00]
avrdude: Recv: . [08]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [88] . [1d] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude: Recv: . [b3]
avrdude: Recv: . [08]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 6 (command_sequence == 6)

avrdude: jtagmkII_send(): sending 11 bytes
avrdude: Sent: . [1b] . [07] . [00] . [0b] . [00] . [00] . [00] . [0e] / [2f] . [07] . [00] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [01] . [00] 7 [37] 1 [31]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [07]
avrdude: Recv: . [00]
avrdude: Recv: . [08]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [88] . [1d] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude: Recv: . [99]
avrdude: Recv: @ [40]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 7 (command_sequence == 7)
Reading | #################                                  | 33% 0.04s
avrdude: jtagmkII_send(): sending 11 bytes
avrdude: Sent: . [1b] . [08] . [00] . [0b] . [00] . [00] . [00] . [0e] / [2f] . [07] . [00] . [1d] . [04] . [04] . [00] 0 [30] . [00] . [02] . [00] . [87] . [1e]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [08]
avrdude: Recv: . [00]
avrdude: Recv: . [08]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [88] . [1d] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude: Recv: , [2c]
avrdude: Recv: . [e1]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 8 (command_sequence == 8)
Reading | ################################################## | 100% 0.06s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.


-Michael




reply via email to

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