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 System wide configuration file is "C:\Users\jsiev\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6 .3.0-arduino17/etc/avrdude.conf" Using Port : COM3 Using Programmer : stk500v1 Overriding Baud Rate : 19200 AVR Part : ATtiny84 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 flash 65 6 32 0 yes 8192 64 128 4500 4500 0xff 0xff signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : STK500 Description : Atmel STK500 Version 1.x firmware Hardware Version: 2 Firmware Version: 1.18 Topcard : Unknown Vtarget : 0.0 V Varef : 0.0 V Oscillator : Off 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.
Da war was mit einem Kondensator ... https://www.instructables.com/How-to-use-Arduino-Mega-2560-as-Arduino-isp/
Du hast doch im Arduino Forum schon Antworten erhalten. Wenn du denen nicht glaubst, warum fragst du dann.
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.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.