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: Wayne L. Contello
Subject: Re: [avrdude-dev] avrdude problem with Attiny13 - works fine in AVRstudio
Date: Sun, 4 Jan 2009 07:49:35 -0600

I am using an ATTiny85 on Mac OS X (but using an AVR Dragon interface):

        avrdude -c dragon_isp -p t85 -B 50 -P usb -U flash:w:main.hex:i -vvv
        avrdude -c dragon_isp -p t85 -B 50 -P usb -U flash:w:main.hex:i



I think the -B option will help you.... it slows the programming clock frequency down as the ATTiny has a limit.

Wayne

On Jan 4, 2009, at 6:55 AM, Haberler Michael wrote:

I am able to program a Attiny13 from AVRStudio 4
I am unable to program the same chip, using the same programmer, with avrdude.

Target = attiny13 with fusebit DWEN=0 (debugWire enabled)
Platform: Mac OS 10.5.6 /avrdude 5.5 and XP SP3 under Parallels 4 running AVRStudio 4.15 respectively
Programmer: KEE Electronics JTAGICE MKII clone, USB connected

Symptom:
- First avrdude run detects DW mode, temporarily enables ISP mode, which seems to work fine. - second run should program target in ISP mode, but fails as the signature is read back as 0x000000 .
- programming with the AVRStudio "Program tool" works fine.

I'm at loss on how to debug further. I'd appreciate a hint.

Regards

- Michael


AVRStudio Screenshots:

Signature reading : http://mah.priv.at/gallery2/main.php?g2_itemId=60463
Programming: http://mah.priv.at/gallery2/main.php?g2_itemId=60466
Fuse bits: http://mah.priv.at/gallery2/main.php?g2_itemId=60470
Lock bits: http://mah.priv.at/gallery2/main.php?g2_itemId=60468

--- log of frist avrdude run (sets ISP mode temporarily)

imac:programISP mah$ /usr/local/AVRMacPack-20081213/bin/avrdude - pt13 -cjtag2isp -Pusb -v -v -v -v -v -Uflash:w:tiny13rgb.hex:a

avrdude: Version 5.5, compiled on Dec 13 2008 at 13:58:50
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "/usr/local/ AVRMacPack-20081213/etc/avrdude.conf"
        User configuration file is "/Users/mah/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

        Using Port            : usb
        Using Programmer      : jtag2isp
avrdude: stk500v2_jtagmkII_open()
avrdude: usbdev_open(): Found JTAGICE mkII, serno: 00A000400539
avrdude: jtagmkII_getsync()
avrdude: jtagmkII_getsync(): Sending sign-on command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . [00] . [0e] . [01] . [f3] . [97]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [1c]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [86] . [01] . [ff] , [2c] . [05] . [01] . [ff] , [2c] . [05] . [01] . [00] . [a0] . [00] @ [40] . [05] 9 [39] J [4a] T [54] A [41] G [47] I [49] C [43] E [45] m [6d] k [6b] I [49] I [49] . [00]
avrdude: Recv: k [6b]
avrdude: Recv: . [a7]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0)

Raw message:
0x860x010xff0x2c0x050x010xff0x2c0x050x010x000xa00x000x400x050x39
0x4a0x540x410x470x490x430x450x6d0x6b0x490x490x00
Sign-on succeeded

JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
 boot-loader FW version:        255
 firmware version:              5.44
 hardware version:              1
S_MCU:
 boot-loader FW version:        255
 firmware version:              5.44
 hardware version:              1
Serial number:                   00:a0:00:40:05:39
Device ID:                       JTAGICEmkII
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1 bytes):
avrdude: jtagmkII_send(): sending 3 bytes
avrdude: Sent: . [1b] . [01] . [00] . [03] . [00] . [00] . [00] . [0e] . [02] . [03] . [03] . [89] f [66]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [a0]
avrdude: Recv: . [cf]
avrdude: Recv: . [a2]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1)

Raw message:
0xa0
FAILED

avrdude: jtagmkII_setparm(): bad response to set parameter command: RSP_FAILED
avrdude: jtagmkII_getsync(): ISP activation failed, trying debugWire
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1 bytes):
avrdude: jtagmkII_send(): sending 3 bytes
avrdude: Sent: . [1b] . [02] . [00] . [03] . [00] . [00] . [00] . [0e] . [02] . [03] . [00] { [7b] [20]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [02]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [1d]
avrdude: Recv: . [09]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 2 (command_sequence == 2)

Raw message:
0x80
OK

avrdude: jtagmkII_reset(): Sending reset command:
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [03] . [00] . [02] . [00] . [00] . [00] . [0e] . [0b] . [04] . [be] . [00]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [03]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [a2]
avrdude: Recv: . [88]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 3 (command_sequence == 3)

Raw message:
0x80
OK

avrdude: jtagmkII_close()
avrdude: jtagmkII_close(): Sending sign-off command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [04] . [00] . [01] . [00] . [00] . [00] . [0e] . [00] . [a4] . [90]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [04]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [ac]
avrdude: Recv: . [14]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 4 (command_sequence == 4)

Raw message:
0x80
OK

avrdude: Target prepared for ISP, signed off.
avrdude: Please restart avrdude without power-cycling the target.
                              imac:programISP mah$
----------------

---- second run: signature comes back as 0x000000, ISP programing aborts:



imac:programISP mah$ /usr/local/AVRMacPack-20081213/bin/avrdude - pt13 -cjtag2isp -Pusb -v -v -v -v -v -Uflash:w:tiny13rgb.hex:a

avrdude: Version 5.5, compiled on Dec 13 2008 at 13:58:50
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "/usr/local/ AVRMacPack-20081213/etc/avrdude.conf"
        User configuration file is "/Users/mah/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

        Using Port            : usb
        Using Programmer      : jtag2isp
avrdude: stk500v2_jtagmkII_open()
avrdude: usbdev_open(): Found JTAGICE mkII, serno: 00A000400539
avrdude: jtagmkII_getsync()
avrdude: jtagmkII_getsync(): Sending sign-on command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . [00] . [0e] . [01] . [f3] . [97]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [1c]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [86] . [01] . [ff] , [2c] . [05] . [01] . [ff] , [2c] . [05] . [01] . [00] . [a0] . [00] @ [40] . [05] 9 [39] J [4a] T [54] A [41] G [47] I [49] C [43] E [45] m [6d] k [6b] I [49] I [49] . [00]
avrdude: Recv: k [6b]
avrdude: Recv: . [a7]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0)

Raw message:
0x860x010xff0x2c0x050x010xff0x2c0x050x010x000xa00x000x400x050x39
0x4a0x540x410x470x490x430x450x6d0x6b0x490x490x00
Sign-on succeeded

JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
 boot-loader FW version:        255
 firmware version:              5.44
 hardware version:              1
S_MCU:
 boot-loader FW version:        255
 firmware version:              5.44
 hardware version:              1
Serial number:                   00:a0:00:40:05:39
Device ID:                       JTAGICEmkII
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1 bytes):
avrdude: jtagmkII_send(): sending 3 bytes
avrdude: Sent: . [1b] . [01] . [00] . [03] . [00] . [00] . [00] . [0e] . [02] . [03] . [03] . [89] f [66]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [cd]
avrdude: Recv: . [83]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1)

Raw message:
0x80
OK

avrdude: jtagmkII_getsync(): Sending get sync command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [02] . [00] . [01] . [00] . [00] . [00] . [0e] . [0f] . [e2] u [75]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [02]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [1d]
avrdude: Recv: . [09]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 2 (command_sequence == 2)

Raw message:
0x80
OK

        AVR Part              : ATtiny13
        Chip Erase delay      : 4000 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 65 5 4 0 no 64 4 0 4000 4000 0xff 0xff
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ               31     VALUE      7      1
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      0
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13   ADDRESS      5      0
                                 12   ADDRESS      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
              WRITE              31     VALUE      7      1
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      0
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13   ADDRESS      5      0
                                 12   ADDRESS      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7     INPUT      7      0
                                  6     INPUT      6      0
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0
              LOADPAGE_LO        31     VALUE      7      1
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      0
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      1
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16     VALUE      0      0
                                 15     VALUE      7      0
                                 14     VALUE      6      0
                                 13     VALUE      5      0
                                 12     VALUE      4      0
                                 11     VALUE      3      0
                                 10     VALUE      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7     INPUT      7      0
                                  6     INPUT      6      0
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0
              WRITEPAGE          31     VALUE      7      1
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      0
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      1
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21    IGNORE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13   ADDRESS      5      0
                                 12   ADDRESS      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9     VALUE      1      0
                                  8     VALUE      0      0
                                  7    IGNORE      7      0
                                  6    IGNORE      6      0
                                  5    IGNORE      5      0
                                  4    IGNORE      4      0
                                  3    IGNORE      3      0
                                  2    IGNORE      2      0
                                  1    IGNORE      1      0
                                  0    IGNORE      0      0
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- flash 65 6 32 0 yes 1024 32 32 4500 4500 0xff 0xff
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ_LO            31     VALUE      7      0
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      0
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16   ADDRESS      8      0
                                 15   ADDRESS      7      0
                                 14   ADDRESS      6      0
                                 13   ADDRESS      5      0
                                 12   ADDRESS      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
              READ_HI            31     VALUE      7      0
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      0
                                 27     VALUE      3      1
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16   ADDRESS      8      0
                                 15   ADDRESS      7      0
                                 14   ADDRESS      6      0
                                 13   ADDRESS      5      0
                                 12   ADDRESS      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
              LOADPAGE_LO        31     VALUE      7      0
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      0
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7     INPUT      7      0
                                  6     INPUT      6      0
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0
              LOADPAGE_HI        31     VALUE      7      0
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      0
                                 27     VALUE      3      1
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11   ADDRESS      3      0
                                 10   ADDRESS      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7     INPUT      7      0
                                  6     INPUT      6      0
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0
              WRITEPAGE          31     VALUE      7      0
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      0
                                 27     VALUE      3      1
                                 26     VALUE      2      1
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16   ADDRESS      8      0
                                 15   ADDRESS      7      0
                                 14   ADDRESS      6      0
                                 13   ADDRESS      5      0
                                 12   ADDRESS      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7    IGNORE      7      0
                                  6    IGNORE      6      0
                                  5    IGNORE      5      0
                                  4    IGNORE      4      0
                                  3    IGNORE      3      0
                                  2    IGNORE      2      0
                                  1    IGNORE      1      0
                                  0    IGNORE      0      0
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ               31     VALUE      7      0
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      1
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9   ADDRESS      1      0
                                  8   ADDRESS      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ               31     VALUE      7      0
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      1
                                 27     VALUE      3      1
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16     VALUE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7    IGNORE      7      0
                                  6    IGNORE      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
              WRITE              31     VALUE      7      1
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      0
                                 27     VALUE      3      1
                                 26     VALUE      2      1
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      1
                                 22     VALUE      6      1
                                 21     VALUE      5      1
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7     VALUE      7      1
                                  6     VALUE      6      1
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- calibration 0 0 0 0 no 2 0 0 0 0 0x00 0x00
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ               31     VALUE      7      0
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      1
                                 27     VALUE      3      1
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20    IGNORE      4      0
                                 19    IGNORE      3      0
                                 18    IGNORE      2      0
                                 17    IGNORE      1      0
                                 16    IGNORE      0      0
                                 15     VALUE      7      0
                                 14     VALUE      6      0
                                 13     VALUE      5      0
                                 12     VALUE      4      0
                                 11     VALUE      3      0
                                 10     VALUE      2      0
                                  9     VALUE      1      0
                                  8   ADDRESS      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ               31     VALUE      7      0
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      1
                                 27     VALUE      3      0
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16     VALUE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
              WRITE              31     VALUE      7      1
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      0
                                 27     VALUE      3      1
                                 26     VALUE      2      1
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      1
                                 22     VALUE      6      0
                                 21     VALUE      5      1
                                 20     VALUE      4      0
                                 19     VALUE      3      0
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16     VALUE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7     INPUT      7      0
                                  6     INPUT      6      0
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
            Memory Ops:
              Oeration     Inst Bit  Bit Type  Bitno  Value
              -----------  --------  --------  -----  -----
              READ               31     VALUE      7      0
                                 30     VALUE      6      1
                                 29     VALUE      5      0
                                 28     VALUE      4      1
                                 27     VALUE      3      1
                                 26     VALUE      2      0
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      0
                                 22     VALUE      6      0
                                 21     VALUE      5      0
                                 20     VALUE      4      0
                                 19     VALUE      3      1
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16     VALUE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7    OUTPUT      7      0
                                  6    OUTPUT      6      0
                                  5    OUTPUT      5      0
                                  4    OUTPUT      4      0
                                  3    OUTPUT      3      0
                                  2    OUTPUT      2      0
                                  1    OUTPUT      1      0
                                  0    OUTPUT      0      0
              WRITE              31     VALUE      7      1
                                 30     VALUE      6      0
                                 29     VALUE      5      1
                                 28     VALUE      4      0
                                 27     VALUE      3      1
                                 26     VALUE      2      1
                                 25     VALUE      1      0
                                 24     VALUE      0      0
                                 23     VALUE      7      1
                                 22     VALUE      6      0
                                 21     VALUE      5      1
                                 20     VALUE      4      0
                                 19     VALUE      3      1
                                 18     VALUE      2      0
                                 17     VALUE      1      0
                                 16     VALUE      0      0
                                 15    IGNORE      7      0
                                 14    IGNORE      6      0
                                 13    IGNORE      5      0
                                 12    IGNORE      4      0
                                 11    IGNORE      3      0
                                 10    IGNORE      2      0
                                  9    IGNORE      1      0
                                  8    IGNORE      0      0
                                  7     INPUT      7      0
                                  6     INPUT      6      0
                                  5     INPUT      5      0
                                  4     INPUT      4      0
                                  3     INPUT      3      0
                                  2     INPUT      2      0
                                  1     INPUT      1      0
                                  0     INPUT      0      0

        Programmer Type : JTAGMKII_ISP
        Description     : Atmel JTAG ICE mkII in ISP mode
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x06):
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [03] . [00] . [02] . [00] . [00] . [00] . [0e] . [03] . [06] l [6c] . [ed]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [03]
avrdude: Recv: . [00]
avrdude: Recv: . [03]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [81] . [18] . [13]
avrdude: Recv: . [f7]
avrdude: Recv: . [bc]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 3 (command_sequence == 3)

Raw message:
0x810x180x13
parameter values:
0x18  0x13

        Vtarget         : 4.9 V

avrdude: jtagmkII_send(): sending 5 bytes
avrdude: Sent: . [1b] . [04] . [00] . [05] . [00] . [00] . [00] . [0e] / [2f] . [03] . [00] . [03] . [98] = [3d] . [f4]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [04]
avrdude: Recv: . [00]
avrdude: Recv: . [04]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [88] . [03] . [00] . [06]
avrdude: Recv: . [17]
avrdude: Recv: E [45]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 4 (command_sequence == 4)
        SCK period      : 8.00 us


avrdude: jtagmkII_send(): sending 15 bytes
avrdude: Sent: . [1b] . [05] . [00] . [0f] . [00] . [00] . [00] . [0e] / [2f] . [02] . [00] . [10] . [c8] d [64] . [19] [20] . [00] S [53] . [03] . [ac] S [53] . [ff] . [bf] . [c0] . [97]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [05]
avrdude: Recv: . [00]
avrdude: Recv: . [03]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [88] . [10] . [00]
avrdude: Recv: . [e1]
avrdude: Recv: $ [24]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 5 (command_sequence == 5)
avrdude: AVR device initialized and ready to accept instructions

Reading | | 0% 0.00s
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.
        Double check connections and try again, or use -F to override
        this check.


avrdude: jtagmkII_send(): sending 6 bytes
avrdude: Sent: . [1b] . [09] . [00] . [06] . [00] . [00] . [00] . [0e] / [2f] . [02] . [00] . [11] . [01] . [01] . [f5] . [ce]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [09]
avrdude: Recv: . [00]
avrdude: Recv: . [03]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [88] . [11] . [00]
avrdude: Recv: . [8c]
avrdude: Recv: . [e4]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 9 (command_sequence == 9)
avrdude: jtagmkII_close()
avrdude: jtagmkII_close(): Sending sign-off command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [0a] . [00] . [01] . [00] . [00] . [00] . [0e] . [00] . [a9] . [a0]
avrdude: jtagmkII_recv():
avrdude: Recv: . [1b]
avrdude: Recv: . [0a]
avrdude: Recv: . [00]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [0e]
avrdude: Recv: . [80]
avrdude: Recv: . [a1]
avrdude: Recv: $ [24]
avrdude: jtagmkII_recv(): CRC OK
avrdude: jtagmkII_recv(): Got message seqno 10 (command_sequence == 10)

Raw message:
0x80
OK


avrdude done.  Thank you.


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

------------------------------------------
Wayne Contello
   address@hidden

  10004 Palmbrook Drive
  Austin, Texas 78717
  (512) 716-0120  (home)
  (512) 653-0851  (mobile)

------------------------------------------









reply via email to

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