ATtiny84 programmieren

OP #7308828
Lesenswert?

Guten Abend,

ich möchten einen ATtiny programmieren. Ich nutze einen Arduino Mega als ISP Programmer. Den Code um den Arduino als Programmer zu nutzen habe ich auf den Arduino geladen. Beim versuch den Code auf den ATtiny84 zu laden bekomme ich folgende Fehlermeldung:

`*avrdude: Version 6.3-20190619 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch

1
 System wide configuration file is "C:\Users\jsiev\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
2

3
 Using Port                    : COM3
4
 Using Programmer              : stk500v1
5
 Overriding Baud Rate          : 19200
6
 AVR Part                      : ATtiny84
7
 Chip Erase delay              : 4500 us
8
 PAGEL                         : P00
9
 BS2                           : P00
10
 RESET disposition             : possible i/o
11
 RETRY pulse                   : SCK
12
 serial program mode           : yes
13
 parallel program mode         : yes
14
 Timeout                       : 200
15
 StabDelay                     : 100
16
 CmdexeDelay                   : 25
17
 SyncLoops                     : 32
18
 ByteDelay                     : 0
19
 PollIndex                     : 3
20
 PollValue                     : 0x53
21
 Memory Detail                 :
22

23
                          Block Poll               Page                       Polled
24
   Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
25
   ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
26
   eeprom        65     6     4    0 no        512    4      0  4000  4500 0xff 0xff
27
   flash         65     6    32    0 yes      8192   64    128  4500  4500 0xff 0xff
28
   signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
29
   lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
30
   lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
31
   hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
32
   efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
33
   calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
34

35
 Programmer Type : STK500
36
 Description     : Atmel STK500 Version 1.x firmware
37
 Hardware Version: 2
38
 Firmware Version: 1.18
39
 Topcard         : Unknown
40
 Vtarget         : 0.0 V
41
 Varef           : 0.0 V
42
 Oscillator      : Off
43
 SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Beim Hochladen des Sketches ist ein Fehler aufgetreten Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.

avrdude done. Thank you.*`


Jemand eine Idee woran das liegen könnte ?

Pinbelegung Mega: MOSI 51 MISO 50 SCK 52 RESET 53

Pinbelegung ATtiny: MOSI 7 MISO 8 SCK 9 RESET 4

Zusätzlich noch VCC und GND von Arduino und ATtiny verbunden.

Gast #7309088
Lesenswert?

Wahrscheinlich ist einfach deine ISP-Tiny-Anbindung (rein hardwaremäßig: niederohmige/hochkapazitive Lasten an MISO, MOSI, SCK, oder gar RESET) Mist. Die ISP-Signale sollen flott an den Tiny (oder auch MEGA) kommen, da sollte jegliche Zusatz-Last (je nach Progger) auf vielleicht minimal 1...5 kOhm und maximal 100 pF entkoppelt sein.

Auch erwiesenermaßen funktionstüchtige Prog-Interfaces kommen gegen zu große Belastung ihrer Signale nicht an.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren