mikrocontroller.net

Forum: Mikrocontroller und Digitale Elektronik avrdude , mega8a lässt sich nicht programmieren.


Autor: Liz (Gast)
Datum:

Bewertung
0 lesenswert
nicht lesenswert
Hat jemand eine Idee? Dump des Output:

avrdude.exe: Version 6.1, compiled on Mar 13 2014 at 00:09:49
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2014 Joerg Wunsch

             System wide configuration file is "D:\Program Files 
(x86)\AVRDUDESS\avrdude.conf"

             Using Port                    : COM3
             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                      : ATmega8
             Chip Erase delay              : 10000 us
             PAGEL                         : PD7
             BS2                           : PC2
             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         4    20   128    0 no        512    4 
0  9000  9000 0xff 0xff
                                      Block Poll               Page 
Polled
               Memory Type Mode Delay Size  Indx Paged  Size   Size 
#Pages MinW  MaxW   ReadBack
               ----------- ---- ----- ----- ---- ------ ------ ---- 
------ ----- ----- ---------
               flash         33    10    64    0 yes      8192   64 
128  4500  4500 0xff 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  2000  2000 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  2000  2000 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  2000  2000 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          4    0 
0     0     0 0x00 0x00
                                      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

             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] p [70] . [00] . [00] . [01] . [01] . [01] . 
[01] . [02] . [ff] . [00] . [ff] . [ff] . [00] @ [40] . [02] . [00] . 
[00] . [00]   [20] . [00]   [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: E [45] . [05] . [04] . [d7] . [c2] . [00]   [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: . [07]
avrdude.exe: Recv: . [10]
################################## | 100% 0.11s

avrdude.exe: Device signature = 0x1e9307
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle 
will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: Send: V [56] . [ac] . [80] . [00] . [00]   [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [00]
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: B [42] p [70] . [00] . [00] . [01] . [01] . [01] . 
[01] . [02] . [ff] . [00] . [ff] . [ff] . [00] @ [40] . [02] . [00] . 
[00] . [00]   [20] . [00]   [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: E [45] . [05] . [04] . [d7] . [c2] . [00]   [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: reading input file "C:\Users\kucni 
komp\Desktop\USBasp\usbasp.2011-05-28 (1).tar\usbasp-atmega.hex"
avrdude.exe: input file Desktop\USBasp\usbasp-atmega.hex auto detected 
as Intel Hex
avrdude.exe: writing flash (4700 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] ; [3b] . [c0] . [a6] . 
[c1] T [54] . [c0] S [53] . [c0] R [52] . [c0] Q [51] . [c0] P [50] . 
[c0] O [4f] . [c0] N [4e] . [c0] M [4d] . [c0] L [4c] . [c0] K [4b] . 
[c0] J [4a] . [c0] I [49] . [c0] H [48] . [c0] G [47] . [c0] F [46] . 
[c0] E [45] . [c0] D [44] . [c0] . [04] . [03] . [09] . [04] . [1c] . 
[03] w [77] . [00] w [77] . [00] w [77] . [00] . [2e] . [00] f [66] . 
[00] i [69] . [00] s [73] . [00] c [63] . [00] h [68] . [00] l [6c] . 
[00]   [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: U [55]   [20] . [00]   [20]
avrdude.exe: Recv: . [14]
avrdude.exe: Recv: . [10]
avrdude.exe: Send: d [64] . [00] @ [40] F [46] . [2e] . [00] d [64] . 
[00] e [65] . [00] . [0e] . [03] U [55] . [00] S [53] . [00] B [42] . 
[00] a [61] . [00] s [73] . [00] p [70] . [00] . [12] . [01] . [10] . 
[01] . [ff] . [00] . [00] . [08] . [c0] . [16] . [dc] . [05] . [04] . 
[01] . [01] . [02] . [00] . [01] . [09] . [02] . [12] . [00] . [01] . 
[01] . [00] . [80] . [19] . [09] . [04] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [11] $ [24] . [1f] . [be] . [cf] . [e5] . [d4] . 
[e0]   [20]
avrdude.exe: ser_recv(): programmer is not responding
avrdude.exe: stk500_recv(): programmer is not responding

Autor: Alexander S. (alesi)
Datum:

Bewertung
0 lesenswert
nicht lesenswert
Liz schrieb:
> Using Programmer              : stk500v1
> ...
>   Programmer Type : STK500
>   Description     : Atmel STK500 Version 1.x firmware
...
>   Hardware Version: 2
>   Firmware Version: 1.18

Passt das "stk500v1" zu "Hardware Version: 2"?

Ich habe das stk500v2 und bei mir sieht das so aus:
    Using Programmer              : stk500v2
...
    Programmer Type : STK500V2
    Description     : Atmel STK500 Version 2.x firmware
    Programmer Model: STK500
    Hardware Version: 2
    Firmware Version Master : 2.07

Liz schrieb:
>   Vtarget         : 0.0 V
>   Varef           : 0.0 V

Hast Du ein stk500 oder einen usbasp? Beim stk500 wird der 
Mikrocontroller
normalerweise vom stk500 versorgt und Vtarget ist 3.3 V oder 5.0 V. Man
kann Vtarget aber auch abschalten und den Mikrocontroller extern 
versorgen.

Beschreibe bitte Deine Komponenten, den Aufbau und die Kommandozeile.

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.