Skip to main content

PS: I havehad to strip out some of the output text because it was bigger than 30000 chars, I hope the info is good enough.

PS: I have to strip out some output text because it was bigger than 30000 chars, I hope the info is good enough.

PS: I had to strip out some of the output text because it was bigger than 30000 chars, I hope the info is good enough.

Source Link

Attiny85 with arduino as ISP

After serveral attempts, I can't make my arduino UNO to program an attiny85, no matter what I do. I've tried under windows 7 and also under ubuntu 14.04, to no avail. I've followed instructions on hi low tech site and similar ones on arduino site. Even some youtube video. Nothing. The wiring of my arduino is as described in those sites, so it should be correct. I'm using the 10uF capacitor too.

This is the output running avrdude manually, extra verbose:

    zop@mikasa:~$ sudo /usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf  -q -pattiny85 -cstk500v1 -P/dev/ttyACM0 -b19200 -Uflash:w:/tmp/build2861466093518309047.tmp/Fade.cpp.hex:i -v -v -v -v -v -v -v -v  
    
    avrdude: Version 6.0.1, compiled on Oct 21 2013 at 15:55:32
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch
    
             System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
             User configuration file is "/home/zop/.avrduderc"
             User configuration file does not exist or is not a regular file, skipping
    
             Using Port                    : /dev/ttyACM0
             Using Programmer              : stk500v1
             Overriding Baud Rate          : 19200
    avrdude: Send: 0 [30]   [20] 
    avrdude: Send: 0 [30]   [20] 
    avrdude: Send: 0 [30]   [20] 
    avrdude: Send: 0 [30]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [10] 
             AVR Part                      : ATtiny85
             Chip Erase delay              : 4500 us
             PAGEL                         : P00
             BS2                           : P00
             RESET disposition             : possible i/o
             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     6     4    0 no        512    4      0  4000  4500 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   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
                   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   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     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   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     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      8192   64    128  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   ADDRESS     11      0
                                      18   ADDRESS     10      0
                                      17   ADDRESS      9      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   ADDRESS     11      0
                                      18   ADDRESS     10      0
                                      17   ADDRESS      9      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   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_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   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
                   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   ADDRESS     11      0
                                      18   ADDRESS     10      0
                                      17   ADDRESS      9      0
                                      16   ADDRESS      8      0
                                      15   ADDRESS      7      0
                                      14   ADDRESS      6      0
                                      13   ADDRESS      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    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


             Programmer Type : STK500
             Description     : Atmel STK500 Version 1.x firmware
    avrdude: Send: A [41] . [80]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [02] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [81]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [01] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [82]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [12] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [98]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [00] 
    avrdude: Recv: . [10] 
             Hardware Version: 2
             Firmware Version: 1.18
             Topcard         : Unknown
    avrdude: Send: A [41] . [84]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [00] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [85]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [00] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [86]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [00] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [87]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [00] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [89]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [00] 
    avrdude: Recv: . [10] 
             Vtarget         : 0.0 V
             Varef           : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us
    
    avrdude: Send: A [41] . [81]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [01] 
    avrdude: Recv: . [10] 
    avrdude: Send: A [41] . [82]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [12] 
    avrdude: Recv: . [10] 
    avrdude: Send: B [42] . [14] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] @ [40] . [02] . [00] . [00] . [00]   [20] . [00]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [10] 
    avrdude: PAGEL and BS2 signals not defined in the configuration file for part ATtiny85, using dummy values
    avrdude: Send: E [45] . [05] . [04] . [d7] . [a0] . [01]   [20] 
    avrdude: Recv: . [14] 
    avrdude: Recv: . [10] 
    avrdude: Send: P [50]   [20] 
    avrdude: ser_recv(): programmer is not responding
    avrdude: stk500_recv(): programmer is not responding
zop@mikasa:~$

I don't know what else to try, so suggestions are very welcome.

Thanks.

PS: I have to strip out some output text because it was bigger than 30000 chars, I hope the info is good enough.