mikrocontroller.net

Forum: Mikrocontroller und Digitale Elektronik ATtiny85 mit Arduino ISP flashen


Autor: André T. (erfus)
Datum:

Bewertung
0 lesenswert
nicht lesenswert
Hallo zusammen,

ich versuche einen Assemblercode über das Atmel Studio 7.0 mit einem 
Arduino als ISP auf einen ATtiny85 zu flashen.
Dabei bekomme ich jedoch die Fehlermeldung "avrdude.exe: verification 
error, first mismatch at byte 0x0002 0x30 != 0xb8".

Hier die komplette Fehlermeldung:
avrdude.exe: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf"

             Using Port                    : \\.\COM12
             Using Programmer              : stk500v1
             Overriding Baud Rate          : 19200
avrdude.exe: Send: 0 [30]   [20] 
avrdude.exe: Send: 0 [30]   [20] 
avrdude.exe: Send: 0 [30]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
             AVR Part                      : ATtiny85
             Chip Erase delay              : 400000 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    12     4    0 no        512    4      0  4000  4500 0xff 0xff
                                      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 30000 30000 0xff 0xff
                                      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
                                      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  9000  9000 0x00 0x00
                                      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  9000  9000 0x00 0x00
                                      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  9000  9000 0x00 0x00
                                      Block Poll               Page                       Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
               efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                      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

             Programmer Type : STK500
             Description     : Atmel STK500 Version 1.x firmware
avrdude.exe: Send: A [41] . [80]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [02] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [81]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [01] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [82]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [12] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [98]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] 
avrdude.exe: Recv: . [10] 
             Hardware Version: 2
             Firmware Version: 1.18
             Topcard         : Unknown
avrdude.exe: Send: A [41] . [84]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [85]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [86]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [87]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [89]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] 
avrdude.exe: Recv: . [10] 
             Vtarget         : 0.0 V
             Varef           : 0.0 V
             Oscillator      : Off
             SCK period      : 0.1 us

avrdude.exe: Send: A [41] . [81]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [01] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: A [41] . [82]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [12] 
avrdude.exe: Recv: . [10] 
avrdude.exe: 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.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
avrdude.exe: PAGEL and BS2 signals not defined in the configuration file for part ATtiny85, using dummy values
avrdude.exe: Send: E [45] . [05] . [04] . [d7] . [a0] . [01]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: P [50]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | avrdude.exe: Send: V [56] 0 [30] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [1e] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: V [56] 0 [30] . [00] . [01] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [93] 
avrdude.exe: Recv: . [10] 
################avrdude.exe: Send: V [56] 0 [30] . [00] . [02] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [0b] 
avrdude.exe: Recv: . [10] 
################################## | 100% 0.02s

avrdude.exe: Device signature = 0x1e930b
avrdude.exe: Send: V [56] P [50] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: b [62] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 1, lfuse value: 62
avrdude.exe: Send: V [56] P [50] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: b [62] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 2, lfuse value: 62
avrdude.exe: Send: V [56] P [50] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: b [62] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 3, lfuse value: 62
avrdude.exe: safemode: lfuse reads as 62
avrdude.exe: Send: V [56] X [58] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [df] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 1, hfuse value: df
avrdude.exe: Send: V [56] X [58] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [df] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 2, hfuse value: df
avrdude.exe: Send: V [56] X [58] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [df] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 3, hfuse value: df
avrdude.exe: safemode: hfuse reads as DF
avrdude.exe: Send: V [56] P [50] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [ff] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 1, efuse value: ff
avrdude.exe: Send: V [56] P [50] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [ff] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 2, efuse value: ff
avrdude.exe: Send: V [56] P [50] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [ff] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 3, efuse value: ff
avrdude.exe: safemode: efuse reads as FF
avrdude.exe: reading input file "c:\users\andit\Documents\Atmel Studio\7.0\Rasenmaeher_Empfaenger\Rasenmaeher_Empfaenger\Debug\main.hex"
avrdude.exe: writing flash (8 bytes):

Writing | avrdude.exe: Send: U [55] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: d [64] . [00] @ [40] F [46] . [00] . [c0] . [b8] . [9a] . [c0] . [9a] . [ff] . [cf] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff] . [ff]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
################################################## | 100% 0.09s

avrdude.exe: 8 bytes of flash written
avrdude.exe: verifying flash memory against c:\users\andit\Documents\Atmel Studio\7.0\Rasenmaeher_Empfaenger\Rasenmaeher_Empfaenger\Debug\main.hex:
avrdude.exe: load data flash data from input file c:\users\andit\Documents\Atmel Studio\7.0\Rasenmaeher_Empfaenger\Rasenmaeher_Empfaenger\Debug\main.hex:
avrdude.exe: input file c:\users\andit\Documents\Atmel Studio\7.0\Rasenmaeher_Empfaenger\Rasenmaeher_Empfaenger\Debug\main.hex contains 8 bytes
avrdude.exe: reading on-chip flash data:

Reading | avrdude.exe: Send: U [55] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 
avrdude.exe: Send: t [74] . [00] @ [40] F [46]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [00] . [c0] 0 [30] . [80] . [00] . [80] 0 [30] . [c0] / [2f] . [c0] . [c0] . [c0] - [2d] . [c0] , [2c] . [c0] + [2b] . [c0] * [2a] . [c0] ) [29] . [c0] ( [28] . [c0] ' [27] . [c0] & [26] . [c0] % [25] . [c0] . [00] . [00] . [00] . [00] 7 [37] . [00] . [00] . [00] . [00] . [00] 8 [38] . [00] . [02] . [02] . [02] . [02] . [02] . [02] . [02] . [02] . [02] . [02] . [01] . [02] . [04] . [08] . [10]   [20]   [20] . [04] . [10] . [08] . [01] . [02] 
avrdude.exe: Recv: . [10] 
################################################## | 100% 0.05s

avrdude.exe: avr_read(): skipping page 1: no interesting data
avrdude.exe: avr_read(): skipping page 2: no interesting data
avrdude.exe: avr_read(): skipping page 3: no interesting data
avrdude.exe: avr_read(): skipping page 4: no interesting data
avrdude.exe: avr_read(): skipping page 5: no interesting data
avrdude.exe: avr_read(): skipping page 6: no interesting data
avrdude.exe: avr_read(): skipping page 7: no interesting data
avrdude.exe: avr_read(): skipping page 8: no interesting data
avrdude.exe: avr_read(): skipping page 9: no interesting data
avrdude.exe: avr_read(): skipping page 10: no interesting data
avrdude.exe: avr_read(): skipping page 11: no interesting data
avrdude.exe: avr_read(): skipping page 12: no interesting data
avrdude.exe: avr_read(): skipping page 13: no interesting data
avrdude.exe: avr_read(): skipping page 14: no interesting data
avrdude.exe: avr_read(): skipping page 15: no interesting data
avrdude.exe: avr_read(): skipping page 16: no interesting data
avrdude.exe: avr_read(): skipping page 17: no interesting data
avrdude.exe: avr_read(): skipping page 18: no interesting data
avrdude.exe: avr_read(): skipping page 19: no interesting data
avrdude.exe: avr_read(): skipping page 20: no interesting data
avrdude.exe: avr_read(): skipping page 21: no interesting data
avrdude.exe: avr_read(): skipping page 22: no interesting data
avrdude.exe: avr_read(): skipping page 23: no interesting data
avrdude.exe: avr_read(): skipping page 24: no interesting data
avrdude.exe: avr_read(): skipping page 25: no interesting data
avrdude.exe: avr_read(): skipping page 26: no interesting data
avrdude.exe: avr_read(): skipping page 27: no interesting data
avrdude.exe: avr_read(): skipping page 28: no interesting data
avrdude.exe: avr_read(): skipping page 29: no interesting data
avrdude.exe: avr_read(): skipping page 30: no interesting data
avrdude.exe: avr_read(): skipping page 31: no interesting data
avrdude.exe: avr_read(): skipping page 32: no interesting data
avrdude.exe: avr_read(): skipping page 33: no interesting data
avrdude.exe: avr_read(): skipping page 34: no interesting data
avrdude.exe: avr_read(): skipping page 35: no interesting data
avrdude.exe: avr_read(): skipping page 36: no interesting data
avrdude.exe: avr_read(): skipping page 37: no interesting data
avrdude.exe: avr_read(): skipping page 38: no interesting data
avrdude.exe: avr_read(): skipping page 39: no interesting data
avrdude.exe: avr_read(): skipping page 40: no interesting data
avrdude.exe: avr_read(): skipping page 41: no interesting data
avrdude.exe: avr_read(): skipping page 42: no interesting data
avrdude.exe: avr_read(): skipping page 43: no interesting data
avrdude.exe: avr_read(): skipping page 44: no interesting data
avrdude.exe: avr_read(): skipping page 45: no interesting data
avrdude.exe: avr_read(): skipping page 46: no interesting data
avrdude.exe: avr_read(): skipping page 47: no interesting data
avrdude.exe: avr_read(): skipping page 48: no interesting data
avrdude.exe: avr_read(): skipping page 49: no interesting data
avrdude.exe: avr_read(): skipping page 50: no interesting data
avrdude.exe: avr_read(): skipping page 51: no interesting data
avrdude.exe: avr_read(): skipping page 52: no interesting data
avrdude.exe: avr_read(): skipping page 53: no interesting data
avrdude.exe: avr_read(): skipping page 54: no interesting data
avrdude.exe: avr_read(): skipping page 55: no interesting data
avrdude.exe: avr_read(): skipping page 56: no interesting data
avrdude.exe: avr_read(): skipping page 57: no interesting data
avrdude.exe: avr_read(): skipping page 58: no interesting data
avrdude.exe: avr_read(): skipping page 59: no interesting data
avrdude.exe: avr_read(): skipping page 60: no interesting data
avrdude.exe: avr_read(): skipping page 61: no interesting data
avrdude.exe: avr_read(): skipping page 62: no interesting data
avrdude.exe: avr_read(): skipping page 63: no interesting data
avrdude.exe: avr_read(): skipping page 64: no interesting data
avrdude.exe: avr_read(): skipping page 65: no interesting data
avrdude.exe: avr_read(): skipping page 66: no interesting data
avrdude.exe: avr_read(): skipping page 67: no interesting data
avrdude.exe: avr_read(): skipping page 68: no interesting data
avrdude.exe: avr_read(): skipping page 69: no interesting data
avrdude.exe: avr_read(): skipping page 70: no interesting data
avrdude.exe: avr_read(): skipping page 71: no interesting data
avrdude.exe: avr_read(): skipping page 72: no interesting data
avrdude.exe: avr_read(): skipping page 73: no interesting data
avrdude.exe: avr_read(): skipping page 74: no interesting data
avrdude.exe: avr_read(): skipping page 75: no interesting data
avrdude.exe: avr_read(): skipping page 76: no interesting data
avrdude.exe: avr_read(): skipping page 77: no interesting data
avrdude.exe: avr_read(): skipping page 78: no interesting data
avrdude.exe: avr_read(): skipping page 79: no interesting data
avrdude.exe: avr_read(): skipping page 80: no interesting data
avrdude.exe: avr_read(): skipping page 81: no interesting data
avrdude.exe: avr_read(): skipping page 82: no interesting data
avrdude.exe: avr_read(): skipping page 83: no interesting data
avrdude.exe: avr_read(): skipping page 84: no interesting data
avrdude.exe: avr_read(): skipping page 85: no interesting data
avrdude.exe: avr_read(): skipping page 86: no interesting data
avrdude.exe: avr_read(): skipping page 87: no interesting data
avrdude.exe: avr_read(): skipping page 88: no interesting data
avrdude.exe: avr_read(): skipping page 89: no interesting data
avrdude.exe: avr_read(): skipping page 90: no interesting data
avrdude.exe: avr_read(): skipping page 91: no interesting data
avrdude.exe: avr_read(): skipping page 92: no interesting data
avrdude.exe: avr_read(): skipping page 93: no interesting data
avrdude.exe: avr_read(): skipping page 94: no interesting data
avrdude.exe: avr_read(): skipping page 95: no interesting data
avrdude.exe: avr_read(): skipping page 96: no interesting data
avrdude.exe: avr_read(): skipping page 97: no interesting data
avrdude.exe: avr_read(): skipping page 98: no interesting data
avrdude.exe: avr_read(): skipping page 99: no interesting data
avrdude.exe: avr_read(): skipping page 100: no interesting data
avrdude.exe: avr_read(): skipping page 101: no interesting data
avrdude.exe: avr_read(): skipping page 102: no interesting data
avrdude.exe: avr_read(): skipping page 103: no interesting data
avrdude.exe: avr_read(): skipping page 104: no interesting data
avrdude.exe: avr_read(): skipping page 105: no interesting data
avrdude.exe: avr_read(): skipping page 106: no interesting data
avrdude.exe: avr_read(): skipping page 107: no interesting data
avrdude.exe: avr_read(): skipping page 108: no interesting data
avrdude.exe: avr_read(): skipping page 109: no interesting data
avrdude.exe: avr_read(): skipping page 110: no interesting data
avrdude.exe: avr_read(): skipping page 111: no interesting data
avrdude.exe: avr_read(): skipping page 112: no interesting data
avrdude.exe: avr_read(): skipping page 113: no interesting data
avrdude.exe: avr_read(): skipping page 114: no interesting data
avrdude.exe: avr_read(): skipping page 115: no interesting data
avrdude.exe: avr_read(): skipping page 116: no interesting data
avrdude.exe: avr_read(): skipping page 117: no interesting data
avrdude.exe: avr_read(): skipping page 118: no interesting data
avrdude.exe: avr_read(): skipping page 119: no interesting data
avrdude.exe: avr_read(): skipping page 120: no interesting data
avrdude.exe: avr_read(): skipping page 121: no interesting data
avrdude.exe: avr_read(): skipping page 122: no interesting data
avrdude.exe: avr_read(): skipping page 123: no interesting data
avrdude.exe: avr_read(): skipping page 124: no interesting data
avrdude.exe: avr_read(): skipping page 125: no interesting data
avrdude.exe: avr_read(): skipping page 126: no interesting data
avrdude.exe: avr_read(): skipping page 127: no interesting data
avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0002
             0x30 != 0xb8
avrdude.exe: verification error; content mismatch

avrdude.exe: Send: V [56] P [50] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: b [62] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 1, lfuse value: 62
avrdude.exe: Send: V [56] P [50] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: b [62] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 2, lfuse value: 62
avrdude.exe: Send: V [56] P [50] . [00] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: b [62] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 3, lfuse value: 62
avrdude.exe: safemode: lfuse reads as 62
avrdude.exe: Send: V [56] X [58] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [df] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 1, hfuse value: df
avrdude.exe: Send: V [56] X [58] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [df] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 2, hfuse value: df
avrdude.exe: Send: V [56] X [58] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [df] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 3, hfuse value: df
avrdude.exe: safemode: hfuse reads as DF
avrdude.exe: Send: V [56] P [50] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [ff] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 1, efuse value: ff
avrdude.exe: Send: V [56] P [50] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [ff] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 2, efuse value: ff
avrdude.exe: Send: V [56] P [50] . [08] . [00] . [00]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [ff] 
avrdude.exe: Recv: . [10] 
avrdude.exe: safemode read 3, efuse value: ff
avrdude.exe: safemode: efuse reads as FF
avrdude.exe: safemode: Fuses OK (H:FF, E:DF, L:62)
avrdude.exe: Send: Q [51]   [20] 
avrdude.exe: Recv: . [14] 
avrdude.exe: Recv: . [10] 

avrdude.exe done.  Thank you.

Zum flashen im Atmel Studio habe ich ein Externes Tool angelegt mit dem 
Command
C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin\avrdude.exe
und dem Argument
-v -pattiny85 -cusbasp -Pusb -Uflash:w:flash:w:"$(ProjectDir)Debug\$(ItemFileName).hex":a

Mein Assemblercode lautet
.include "tn85def.inc"

rjmp init

init:
  sbi DDRB, 0
  sbi portB, 0

ende:
  rjmp ende

Weiß jemand, was ich tun kann um das Problem zu beheben?

Autor: Sascha_ (Gast)
Datum:

Bewertung
0 lesenswert
nicht lesenswert
Ohne mich durch die Wall of Text gearbeitet zu haben: Die Tiny 25/45/85 
brauchen noch ne Pinverbindung zusätzlich zu ISP. Siehe STK500 
Benutzerhandbuch, da ist ne Beschreibung dazu drin.

Antwort schreiben

Die Angabe einer E-Mail-Adresse ist freiwillig. Wenn Sie automatisch per E-Mail über Antworten auf Ihren Beitrag informiert werden möchten, melden Sie sich bitte an.

Wichtige Regeln - erst lesen, dann posten!

  • Groß- und Kleinschreibung verwenden
  • Längeren Sourcecode nicht im Text einfügen, sondern als Dateianhang

Formatierung (mehr Informationen...)

  • [c]C-Code[/c]
  • [avrasm]AVR-Assembler-Code[/avrasm]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] - Link zu Artikel
  • Verweis auf anderen Beitrag einfügen: Rechtsklick auf Beitragstitel,
    "Adresse kopieren", und in den Text einfügen




Bild automatisch verkleinern, falls nötig
Bitte das JPG-Format nur für Fotos und Scans verwenden!
Zeichnungen und Screenshots im PNG- oder
GIF-Format hochladen. Siehe Bildformate.
Hinweis: der ursprüngliche Beitrag ist mehr als 6 Monate alt.
Bitte hier nur auf die ursprüngliche Frage antworten,
für neue Fragen einen neuen Beitrag erstellen.

Mit dem Abschicken bestätigst du, die Nutzungsbedingungen anzuerkennen.